PIC
Pinouts
|
Pin |
Use |
|
Boat PIC |
|
|
RA4 |
20MHz
external oscillator |
|
RA5 |
20MHz
external oscillator |
|
RB4 |
iButton
Probe |
|
RB5/RX |
Receive
from XBee |
|
RB7/TX |
Transmit
to XBee |
|
RC0 |
Propulsion
motor |
|
RC1 |
Propulsion
motor |
|
RC2 |
Servo
motor PWM |
|
RC3 |
Bilge
pump |
|
RC6 |
Blue
Team LED |
|
RC7 |
Red
Team LED |
|
Helm XBee PIC |
|
|
RA4 |
20MHz
external oscillator |
|
RA5 |
20MHz
external oscillator |
|
RB4 |
iButton
Probe |
|
RB5/RX |
Receive
from XBee |
|
RB7/TX |
Pin 3
of MUX2 (communication with LED PIC) |
|
RC0 |
Pin 11
MUX1 (magnetic sensors) |
|
RC1 |
Pin 10
of MUX2 (magnetic sensors) |
|
RC2 |
Pin 9
of MUX2 (magnetic sensors) |
|
RC3 |
Pin 3
of MUX2 (communication with LED PIC) |
|
RC4 |
Magnetic
sensor (reed switch) |
|
RC5 |
water
pump tact switch |
|
RC6 |
Special
1 IR sensor circuit |
|
RC7 |
Special
2 on/off bat switch |
|
Helm LED PIC |
|
|
RA4 |
20MHz
external oscillator |
|
RA5 |
20MHz
external oscillator |
|
RB5/RX |
Receive
from XBee PIC (Pin 13 MUX2) |
|
RA0 |
Red
Active Zone LED |
|
RA1 |
Blue
Active Zone LED |
|
RC0 |
Clock
line for shift register 1 |
|
RC1 |
Data
line for shift register 1 |
|
RC2 |
Clock
line for shift register 2 |
|
RC3 |
Data
line for shift register 2 |
|
RC4 |
iButton
Read LED |
|
RC5 |
Boat
Matched LED |
|
RC6 |
Playing
Game LED |
|
RC7 |
Stand
Down LED |
|
#
of pins |
Connected
to |
Use |
|
Helm Inputs |
|
|
|
10 |
IR
transistors or Reed magnetic sensors |
Direction
and Speed Control |
|
2 |
Temperature
sensors or IR leds/transistor pair |
Beer
Control |
|
1 |
Tactile
Switch |
Water
shooting |
|
5 |
Xbee |
Wireless
Communication |
|
1 |
iButton |
Serial
Number Receipt |
|
Helm Outputs |
|
|
|
2 |
LEDs |
Red/Blue
Team |
|
4 |
Shift
Registers (2x) |
Boat
Number |
|
2 |
LEDs |
Active
Base |
|
1 |
LEDs |
Stand
Down Status |
|
1 |
LEDs |
Game
Status |
|
1 |
LEDs |
Boat
Found and Connected |
|
Helm Misc |
|
|
|
3 |
PIC
TX/RX |
Pic
Communication |
|
5 |
LEDs |
Debugging |
|
|
||
|
Boat Inputs |
|
|
|
1 |
Switch |
E-stop |
|
Boat Outputs |
|
|
|
4 |
LEDs |
Display
Color |
|
1 |
Driving
Motor |
|
|
1 |
Servo |
Rudder |
|
1 |
Pump |
|
|
1 |
LEDs |
iButton
linked/not-linked |
|
Boat Misc |
|
|
|
5 |
Xbee |
Wireless
Communication |