How to Build a Robot Car? - Part Three
Robotic Education: Understand the process. The hack in this section allows Arduino to drive the motors directly, without an external motor driver. The diagram shown here represents the IC (integrated circuit) on the motor driver circuit.
- This section requires careful soldering. Work slowly and methodically.
Step 1: Cut four wires of equal length. These will connect the Arduino and the motor driver circuit.
Step 2: Solder the wires. Solder each wire to one pin on the integrated circuit. Take care not to make contact with a second pin. Solder as follows:
- Solder one wire on to the LEFT pin shown in the IC pin diagram. The LEFT pin is 7th from the top.
- Solder a wire on to the RIGHT pin shown in the IC pin diagram. The RIGHT pin is 6th from the top, just above "left."
- Solder a wire on to the BACKWARD pin shown in the IC pin diagram. The BACKWARD pin is the 10th pin, exactly opposite "left."
- Solder a wire on to the FORWARD pin shown in the IC pin diagram. The FORWARD pin is just above "backward," exactly opposite "right."
Step 3: Connect the wires to the Arduino. Taking care not to confuse the wires, attach each one to the Arduino as follows:
- Connect the LEFT wire to pin 5 of the Arduino.
- Connect the RIGHT wire to pin 6.
- Connect the BACKWARD wire to pin 9.
- Connect the Forward wire to pin 10.
Step 4: Check your wiring. Examine all your wiring closely. Make sure there are no unintentional connections causing a short.