device | data bus | function |
---|---|---|
24LC512 | I2C | EEPROM |
MCP3202 | SPI | Analog to Digital (A/D) converter - SPICS1 |
MMA7455 | SPI | Accelerometer - SPICS2 |
pin number | pin name | device | notes |
---|---|---|---|
1 | SOUT | ||
2 | SIN | ||
3 | ATN | ||
4 | VSS | ||
5 | P0 | ||
6 | P1 | Prop Plug Tx | 9600 baud |
7 | P2 | Prop Plug Rx | 9600 baud |
8 | P3 | SLED | Status LED |
9 | P4 | SW1 | mode switch |
10 | P5 | ||
11 | P6 | ||
12 | P7 | SPICS1 | SPI - CS1 - device #1 - MCP3202 |
13 | P8 | I2C SDA | |
14 | P9 | I2C SCL | |
15 | P10 | SPICLK | SPI - CLK |
16 | P11 | SPIDout | SPI - Dataout |
17 | P12 | SPIDin | SPI - Datain |
18 | P13 | SPICS2 | SPI - CS2 - device #2 - MMA7455 |
19 | P14 | ||
20 | P15 | ||
21 | VDD | ||
22 | RES | ||
23 | VSS | ||
24 | VIN |
pin number | pin name | device | notes |
---|---|---|---|
1 | A0 | ||
2 | A1 | ||
3 | A2 | ||
4 | Vss | ||
5 | SDA | BS2p - P8 | 4.7K ohm pullup to +5v |
6 | SCL | BS2P - P9 | 4.7K ohm pullup to +5v |
7 | WP | set to Vss | |
8 | Vcc |
A0, A1, A2 need to be set to Vss for logic 0 or Vcc for logic 1.
Chip # | A0 | A1 | A2 | Read | write | |
---|---|---|---|---|---|---|
0 | Vss | Vss | Vss | |||
1 | Vcc | Vss | Vss | |||
2 | Vss | Vcc | Vss | |||
3 | Vcc | Vcc | Vss |
pin number | pin name | device | notes |
---|---|---|---|
1 | CS | BS2p - P7 | SPICS1 |
2 | Channel #0 | LM34 - pin #2 | internal temperature sensor |
3 | Channel #1 | 10K ohm resistor | battery voltage monitor |
4 | GND | Vss | |
5 | Datain | BS2p - P10 | SPIDin |
6 | Dataout | BS2p - P11 | SPIDout |
7 | CLK | BS2p - P10 | SPICLK |
8 | Vcc | +5v |
The MMA7455 is the 3-axis accelerometer
pin | function name | assignment | notes |
---|---|---|---|
1 | Vin | +5 volts | |
2 | n/c | no connection | |
3 | INT1 | not being used | |
4 | INT2 | not being used | |
5 | GND | Vss | |
6 | CS | BS2p - P13 | SPICS2 |
7 | DATA | BS2p - P11 | Connected to the SPI Dataout |
8 | CLK | BS2p - P10 | Connected to the SPI CLK |
The LM34 is the analog temperature sensor
With the flat side of the LM34 facing (where the text is) you, pin 1 is on the left side.
pin | connection | notes |
---|---|---|
1 | Vdd | 5 volt power supply |
2 | MCP3202 - CH#0 (pin 2) | Vout |
3 | Vss | Ground |