I have just disassembled a RC car. Attached to the stepper motor that controls the steering of the car was a small circuit board with a cog wheel attached to it. I am trying to figure out what this circuit does. My idea is that it is responsible of keeping track of the wheels position but I am not certain. Here is a picture of it:
As you can see there are 5 wires coming out of it and I know that the green one is GND. Does anyone have an idea of what its function might be?
EDIT:
I connected the green wire(GND) along with all the other wires (one at a time) and measured the resistance for different positions of the cog. This is what I came up with:
The grey areas are the zones where R < 1 Ω, i.e current could flow. The areas marked with OL are areas with a huge resistance, i.e no current could flow. I have tried to grasp these results but failed. To me it does not seem logical, there is no symmetry...