How To Radio Control DC Motors Cheaply


Pin Summary


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   data interrupt
Pin 11   + voltage
Pin 32   + voltage
Pin 12   ground
Pin 31   ground

Output Pins

Pin 34   P.W.M. for motor 1
Pin 35   High when joystick 1 is left
Pin 36   High when joystick 1 is right
Pin 37   P.W.M. for motor 2
Pin 38   High when joystick 2 is up
Pin 15   High when joystick 2 is down
Pin 16   P.W.M. for motor 3
Pin 17   High when joystick 3 is up
Pin 18   High when joystick 3 is down
Pin 23   P.W.M. for motor 4
Pin 24   High when joystick 4 is left
Pin 25   High when joystick 4 is right
Pin 26   P.W.M. for motor 5
Pin 19   High when joystick 3 is up and top button 5 is press
Pin 20   High when joystick 3 is down and top button 5 is press
Pin 21   P.W.M. for motor 6
Pin 22   High when joystick 4 is left and top button 5 is press
Pin 27   High when joystick 4 is right and top button 5 is press
Pin 28   P.W.M. for motor 7
Pin 29   High when joystick 3 is up and bottom button 5 is press
Pin 30   High when joystick 3 is down and bottom button 5 is press
Pin 8     P.W.M. for motor 8
Pin 9     High when joystick 4 is left and bottom button 5 is press
Pin 10   High when joystick 4 is right 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

All the other pins are not being used.

The End


Home Page






Hosted by www.Geocities.ws

1