Hi everyone,
I have an old speedometer that is powered by 12V and the needle/speed is driven by a square wave. I have the calculations figured out, 1mph = 2.1622Hz, so ~20Hz to ~300Hz.
I would like to use a microcontroller to create the square wave and will hopefully get good resolution.
However what I don't know is the recommended way to output at the 12V level. The entire circuit would be powered from the 12V (micro would have a regulator).
I believe this could be done with a transistor, but do not know if it would need any special features. I have yet to test what the load is, as these old speedos use large coils.
Has anyone done a similar project and have any advice?
I have an old speedometer that is powered by 12V and the needle/speed is driven by a square wave. I have the calculations figured out, 1mph = 2.1622Hz, so ~20Hz to ~300Hz.
I would like to use a microcontroller to create the square wave and will hopefully get good resolution.
However what I don't know is the recommended way to output at the 12V level. The entire circuit would be powered from the 12V (micro would have a regulator).
I believe this could be done with a transistor, but do not know if it would need any special features. I have yet to test what the load is, as these old speedos use large coils.
Has anyone done a similar project and have any advice?