Hi everyone, im new here. it may sound a little bit amature but i would like a help finding a code for dc motor that i can use to control the speed, direction and postion of the motor using external encoder (there is no need for high equrecy). im using arduino ono+ ardumoto.
thanks!!
Hi Netanel,
What kind of motor do you want to power? What are its specifications?
As for reading the encoder and controlling their outputs you can start here:
http://arduino.cc/playground/Main/RotaryEncoders
And when you get to controlling speeds try reading up on PID. There's a good PID library for Arduino also.
Gadi.