Build This Low Cost 1/2 H-Bridge


Information On The Pic Chip




Input Pins

Pin 1     If it goes low it does a rest (MCLR)
Pin 2     If low it only gives one half of the output to the motors
Pin 6     "VEX" receiver
Pin 7     commands and data from another microcontroller
Pin 33   clock data interrupt
Pin 11   + voltage
Pin 32   + voltage
Pin 12   ground
Pin 31   ground

If the transmitter was set in 2 3 mode, then the chip outputs would look like this.

Output Pins

Pin 34   P.W.M. when joystick 1 is left for motor 1
Pin 35   P.W.M. when joystick 1 is right
Pin 36   High when joystick 1 is left
Pin 37   P.W.M. when joystick 2 is up for motor 2
Pin 38   P.W.M. when joystick 2 is down
Pin 15   High when joystick 2 is up
Pin 16   P.W.M. when joystick 3 is up for motor 3
Pin 17   P.W.M. when joystick 3 is down
Pin 18   High when joystick 3 is up
Pin 23   P.W.M. when joystick 4 is left for motor 4
Pin 24   P.W.M. when joystick 4 is right
Pin 25   High when joystick 4 is left
Pin 26   P.W.M. when joystick 3 is up and top button 5 is press for motor 5
Pin 19   P.W.M. when joystick 3 is down and top button 5 is press
Pin 20   High when joystick 3 is up and top button 5 is press
Pin 21   P.W.M. when joystick 4 is left and top button 5 is press for motor 6
Pin 22   P.W.M. when joystick 4 is right and top button 5 is press
Pin 27   High when joystick 4 is left and top button 5 is press
Pin 28   P.W.M. when joystick 3 is up and bottom button 5 is press for motor 7
Pin 29   P.W.M. when joystick 3 is down and bottom button 5 is press
Pin 30   High when joystick 3 is up and bottom button 5 is press
Pin 8     P.W.M. when joystick 4 is left and bottom button 5 is press for motor 8
Pin 9     P.W.M. when joystick 4 is right and bottom button 5 is press
Pin 10   High when joystick 4 is left and bottom button 5 is press
Pin 14   Stays high when top button 6 is press; goes low when bottom button 6 is press
Pin 5     Tells other microcontroller it can send the next command
Pin 4     Goes high if a command error has been detected

Next Page

Home Page