Microcontroller module will have the following pinouts
======================================================

Resistor->optoisolator->relay NPN-DRIVER1.GIF (resistor value can swing 4.7k-10k maybe more).

Design decisions:

1. Powered via Female barrel connector (get from mk2/mk3 mbox):
advantages  - option connect to external battery pack for production/testing
            - connect to car onboard 12v supply if not too noisy
            - option to connect to bench supply for testing

2. SX28 chip will be socketed for easy re-programming/replacement

Power PINs
pin + bridges through (.47uf cap to ground) terminates 7805 then bridges 47uf bulk and .1uf filter caps
pin - ground, connects to negate of all 3 caps and 7805, sx28 - and optoisolator -

VEX RF reciver module input 4pin RJ11 connector(get from mbox):
1. servo controllers 0-6 all map to RB0-5 and RC1-?. Data on unused pins is error state.
2. If error state encountered kill output of all pins! (shutdown||error||restart SX)
3. Run VEX at 5v, it is spec'd for higher but we want to keep high voltage away from SX.

PIN#
pin1     Vdd +5v supplied to vex (VCC)
pin2     PPM signal from vex to SX-RA0 (pulled high to 5v through 10K resistor by me)
pin3     Vss ground
pin4     N/C

25pin FEMALE DB25:
1. output mimics PC parallel port for testing of high voltage module via PC
2. DB25 connector will be able to connect via shielded parallel cable or cat5 adaptor.
3. If errors with cat5 then cut outputs by factor of 2 and match RB? + to - on ethernet twisted pairs. This would suck, really limits my outputs

PIN#
pin1    N/C (PC Strobe)
pin2    control0 SX-RB0 resistor->optoisolator(+ emittor) (+detector)->||DB25||->resistor->NPN->relay (Powerwheel power enable)
pin3    control1 SX-RB1 resistor->optoisolator(+ emittor) (+detector)->||DB25||->resistor->NPN->relay (turn left)
pin4    control2 SX-RB2 resistor->optoisolator(+ emittor) (+detector)->||DB25||->resistor->NPN->relay (turn right)
pin5    control3 SX-RB3 resistor->optoisolator(+ emittor) (+detector)->||DB25||->resistor->NPN (horn SFX)
pin6    control4 SX-RB4 resistor->optoisolator(+ emittor) (+detector)->||DB25||->resistor->NPN (music SFX)
pin7    control5 SX-RB5 resistor->optoisolator(+ emittor) (+detector)->||DB25||->resistor->NPN (iginition SFX)
pin8    control6 SX-RC0 resistor->optoisolator(+ emittor) (+detector)->||DB25||->(future item)
pin9    control7 SX-RC1 resistor->optoisolator(+ emittor) (+detector)->||DB25||->(future item)
pin10-25 unused


Highvoltage controller module
=============================
Design decisions:
1. Powered via Female barrel connector (ordered from parts express):
advantages  - option connect to external battery pack for production/testing
            - connect to car onboard 12v supply
            - option to connect to bench supply for testing
2. Connectors to RELAYS will be done via relay sockets for testing/relay replacement
3. Connectors for switched 12V will be connected via BUTT connectors, battery + female, battery - male
4. Connectors to SFX is undecided this time (3 pin servo cables? stereo mini-jack,rca?)

Power PINS: (use 2 pin header on board, use 2 pin pc chassis wires to run to 12v socket)
pin+ 12v UNFILTERED -> N.O. of relay (so unconnected NC never energized), BIG flyback diode to -, + fuse->connectors of relay magnetics (flyback diode to -)
pin- ground, connects to input of all transistors. connects to negative of optoisolator

25pin FEMALE DB25: (use ribbon cable with female header to board with header)
1. Input mimics PC parallel port for testing of high voltage module via PC
2. DB25 connector will be able to connect via shielded parallel cable or cat5 adaptor.
3. If errors with cat5 then cut outputs by factor of 2 and match RB? + to - on ethernet twisted pairs. This would suck, really limits my outputs

PIN#
(See emittor pinout)


Steering relays ( phase2)
=========================
Limit switches to keep motor from destroying the car:
http://www.robotroom.com/Motor-Switch/Schematic-DPDT-Plus-Snap-Action-Switches-For-User-Control-With-Limit-Stop.gif
mirrored to limit-switches.gif