The dual H Bridge L293D, in combination with an Arduino Uno, can drive the DAIWA APT-3DCP2-B Pan Tilt head, which is also described in this blog.
The PCB includes a 5V regulator to create the required logic voltage for the L293D.
In the photos below you can also see the 25 pin connector for the DAIWA pan tilt head.
PCB with L293D, Voltage regulator and 25 pin Sub D connector
In this application both enable pins of the L293D are connected to +5V.
This PCB/Circuit is a modified version of the schematics and code shown in Tom Igoe’s blog. Instead of one stepper motor, the two DC motors of the Pan-Tilt head are driven by this chip. For more information regarding H bridges, stepper motors, the L293D & Arduino visit the blog of Tom Igoe
6 Wheel Robot Experiment
(This is more a wordpress experiment than a robotic experiement)
6 wheel robot
Main components of the robot:
Micro Controller Board: Arduino Duemilanove,
Motor Controller: TReX Jr,
Prototype Shield for Arduino
Blinking LED Panels,
3 Double Gearboxes, 2 Batteries: 9.6V
Motors with capacitors
For noise reduction a 0.1uF capacitor has been soldered across the terminals of each motor.
Two ferrites are also inserted in the power line to the motor controller to reduce the interference of the micro controller by noise coming from the motors.
Arduino & stand offs
Microcontroller Board Arduino Duemilanove:
The micro controller board is mounted to a prototype PCB for easier handling, assembly/dis-assembly or moving to another project without interfering with the controller. Mounting the micro controller as well as the motor controller on prototype PCBs also allows the stacking of multiple PCBs with different dimensions on top of each other.
Motor Controller: TReX Jr:
Similar to the micro controller board, the motor controller is mounted to a prototype PCB. The TreXX Jr. from Pololu is a DC motor controller that can control two bidirectional motors and one unidirectional motor. For this robot the controller is configured to drive the three gearboxes on the left and right side of the robot independently via the asynchronous serial control interface.
Components of the breakout board:
C1: 10μF electrolyt. capacitor
C2: 10μF electrolyt. capacitor
C3: 0.1μF ceramic cap.
IC1: 5V Voltage regulator, used as power supply for servos.
Q1, Q2 2N7000 transistor,driver transistors for terminals
(J12,J13), in this application used to switch the LED
D1, D2: 2N4001 or 2N4007
S1: Main switch
J1-J13: Terminals (as available)
R1: 1KΩ resistor
R2, R3: 220Ω resistor
LED1: LED (color as available)
J1-J6: Terminals for up to 6 servos.
J8-J11: Terminals to connect other loads to the battery .
J7: Main terminals to connect the power supply/battery.
The Arduino software has been installed on a desktop computer as well as on a net book for mobile application. Computer and robot are communicating via two Xbee modules and the Serial Monitor of the arduino software.
Blinking of the LED Panels is realized by calling a function at the beginning and at the end of the main program loop. The LEDs toggle between ON and OFF each time this function is called. The program is about 80ms long, this creates the blinking effect.
The wireless camera is mounted on two servos. The camera can switch between pan mode or fixed mode, pointing forward, when driving. Switching between modes is done by pressing “p” key on the keyboard.
Forward/backward driving and turning of the robot is also handled via the keyboard of the connected computer.