Reading resistance of a sensor

So i am trying to integrate an arduino with a 5v gear position sensor from a motorcycle. the sensor outputs various resistances based upon what gear it is in. The break down is as follows:

Gear 1- 563 ohms
2-825 ohms
3- 1500 ohms
4 - 2700 ohms
5 - 6700 ohms
6 - 15000 ohms

I know i can not read resistance values with a analogread() call, but how do i go about connecting this sensor to an arduino? I am completely stumped.

Thank you,
M3Shark

how many pins are on the sensor? im assuming the resistance you measure is to ground?

You might be able to use a muliplexing chip to use those resistances as half of a voltage divider, which would output a changing voltage to measure.

Well if its resistance to ground, using a 5v pullup (or even lower) to the input pin, then connecting the sensor wire, will give the arduine a range of voltage for each gear. Just use a serial.println (analog.read (pin)); and it will print the ADC values onto the com monitor. Then just use those values to run a display. Im doing the same kinda thing to monitor a pot on my test bench, and light up leds.

i am trying to integrate an arduino with a 5v gear position sensor from a motorcycle. the sensor outputs various resistances

Where did you get this information - from the manufacturer or by experimentation?

I suspect that the "5 v gear position sensor" actually outputs either a different DC voltage (some fraction of 5v) or a different series of 5 v pulses for each gear.

Don