Motor Control Experiment

arduinoelectronics

Spent the afternoon experimenting with controlling DC-motors using an Arduino and a L293DNE motor driver chip. The chip contains two H-bridges, but I have only hooked one motor to it. From the Arduino I use two digital pins to control the direction of the motor and one PWM pin to control the speed.

The next step is to replace the electronics in this RC-car with the Arduino and turn it into a small robot. Inside the RC-car, it has two wires for powering the engine, two wires for turning the front wheels and wires for power and ground. It should be straight forward to hook the control wires to the L293DNE. I would prefer to do it in a way where I can easily switch between the arduino control module and the original RC control module.

Arduino and L293DNE motor control

Arduino and L293DNE motor control