Hi all!
I want to use an uno R3 to replace a 30 year-old speedometer/odometer circuit board. The speedometer is a galvanometer that draws 40 mA max and the odometer is a 2-pole stepper slightly out of phase. my questions are:
-
can I get the arduino to modulate current to run that galvanometer? the spec sheet says it can do 40 mA on the IO pins. Should I use the analogue or PWM pins? I can ofcourse throw a capacitor between the galvanometer and the arduino to smooth the signal.
-
as far as I understand it should be possible to program the 2-pole out of phase stepper motor signal on the PWM pins. should I use some kind of motor control circuit or can I run it directly from the arduino?
-
how should I go about varying both of the above output signals proportionally to a square wave from the wheel speed sensor? is there a particular sketch that works well?
thanks for any advice, will try to update if I make any progress