Make sure that you tell the driver where you are going BEFORE you offer the card to the machine. If you just place the card in front of the machine it will charge you to the end of the route. If you tell him where you are going, he will press the relevant button on his console and you should then be charged the correct fare, and it looks like you already know that you can use one card for several people.