My home-brew Arduino OBD-II connection kit

@Stanleyhuang
I'm writing a similar application. I want to display the gear number in which the car is in but i'm having problem to get the pid or any relevant pids.
Can you provide me any formulas and any material or links which will help me. how where are you getting the gear number ?

cheers.