Robot Motor Control

 

 Building a robot requires many things but movement is something that is common in all robots. There are many motor options when building a robot but no matter what type of motor you select they can’t be powered directly from microcontroller pins since most pins can only provide 20 or 25mA of current. The solution is quite simple, the microcontroller simply needs to send a signal to a motor driver chip and you let the motor driver chip do the high current work that is needed when dealing with motors.  Chris from PyroElectro written a great tutorial on how to control robot motors.

 “The microcontroller that we will use for this part of the Building A Robot series is the PIC 18F252 8-bit microcontroller. It is manufactured by microchip, and most of my tutorials/projects on this website use the PIC. The motor controller IC that we will use is the same as some other tutorials, the SN754410NE Quadruple Half-H Driver.”