d.barak
Newbie level 4
Hi all,
I want to use an analog joystick to control a stepper motor and also power a relay which powers a second circuit. When the joystick is pressed side to side I want the stepper motor to turn at a rate dependant upon the position of the joystick. If the joystick is pressed forward or backward I want to close a relay. I want both to be on in the intermediate positions like forward and left ...etc. I am trying to figure out the cheapest and best solution for this. I thought about using a 68hc12 microcontroller with the A/D converter only because I have experience with these. But I am open to easier cheaper solutions. I would like to use C programming. Any ideas on how to get my idea off the ground would be much appreciated. Thanks
I want to use an analog joystick to control a stepper motor and also power a relay which powers a second circuit. When the joystick is pressed side to side I want the stepper motor to turn at a rate dependant upon the position of the joystick. If the joystick is pressed forward or backward I want to close a relay. I want both to be on in the intermediate positions like forward and left ...etc. I am trying to figure out the cheapest and best solution for this. I thought about using a 68hc12 microcontroller with the A/D converter only because I have experience with these. But I am open to easier cheaper solutions. I would like to use C programming. Any ideas on how to get my idea off the ground would be much appreciated. Thanks