Car Monitoring System Team IPA Kirill Belyayev Amjad Chaudhry

advertisement
Car Monitoring System
Team IPA
Kirill Belyayev
Amjad Chaudhry
Arush Dhawan
Aditya Kaundinya
Bilal Yousufi
Introduction and
Development Kit
Amjad Chaudhry
In-Car Automation and
Monitoring System
• Sensors are placed throughout a car that
wirelessly send data back to a central
terminal
– Data displayed on LCD
– Zigbee is used to transmit and receive Data
– Visual Warnings will be given if a sensor
detects something has fallen below the
threshold.
Implementation
• We will use Zigbee technology to measure
different components of a car and display the data
on a main LCD screen.
–
–
–
–
–
Tire Pressure
Temperature
Accelerometer
Proximity Sensor
Car Battery Voltage
• If any of the sensors detect a critical level our
system will be used to provide a visual warning to
the driver.
Project Outline
Software
Implementation
Sensor Boards
-A/D Converters
Sensors
Hardware
Design
Zigbee
Communication
Rx
Main Board
Tx
LCD
Main Board
Keypad
Sensor Boards
PCB
Design
Main Board
Sensor Boards
Division of Labor
• Aditya and Amjad will work solely on software issues
– A/D Converter
– Zigbee Communication
• Kirill
– Mainboard Design
– Hardware/Software Implementation
• Will also work with Aditya and Amjad, with software implementation
of hardware (I.e. LCD, Keypad, RS-232, User Interface)
• Arush and Bilal
– Sensors’ schematic and design
– PCB for Main Board and Sensors
System Architecture
Parking Sensors
Tire Pressure
Sensors
Accelerometer
Sensor
Battery
voltage
sensors
Temperature
sensors
Main Terminal
Keypad
Speaker
LCD Screen
Development Kit
•Our development kit came with a programming environment,
CodeWarrior. The kit also came with demo applications to be
tested with our board to introduce the user to programming for
RF applications.
•The board has:
•Two accelerometers, four switches and LEDs, a MC13192
transceiver, printed antenna, serial interface and
MC9s08GT60 low-power MCU with 60KB of flash
memory.
Software
Aditya Kaundinya
Software Overview
Zigbee Communication
• Simple Media Access Controller Functions
•ANSI C based code used for developing RF
applications.
A/D Converter Implementation
• Used to convert continuous signals to digital numbers.
•The digital output can take different arithmetic forms.
(Binary, Hexadecimal, etc.)
Demo Software
• Our development kit came with demo code that
allowed us to test our hardware.
• -Range Finder – Code that adjusted the number of
blinking LED’s respective to the distance between
the two boards.
• -UART Demo – Wireless transmits a user’s
keystrokes to the terminal of another pc using the
Zigbee transceivers.
Example Code (Range Detection)
TRANSMIT STATE case TX_STATE:
/*Load the tx buffer with the ZigBee packet.*/
au8TxDataBuffer[0] = 'Z';
au8TxDataBuffer[1] = 'i';
au8TxDataBuffer[2] = 'g';
au8TxDataBuffer[3] = 'B';
au8TxDataBuffer[4] = 'e';
au8TxDataBuffer[5] = 'e';
sTxPacket.u8DataLength = 6;
if (MCPSDataRequest(&sTxPacket) == SUCCESS)
MLMERXEnableRequest(&sRxPacket,DELAY_COUNT);
RECEIVE STATE case RX_STATE:
MLMERXEnableRequest(&sRxPacket,0);
break;
SMAC Functions
MLMESetMC13192Outp Adjusts the output power
utAdjust
of the transmitter(0-15)
MLMEHibernateRequest Disables Clock Output
MLMEWakeRequest
Brings radio out of low
power mode
MLMERXEnableRequest Places radio in receive
mode
sRxPacket->pu8Data[3]
Reads power value from
third byte of data packet
Block Diagram - Stages of Software
Initialization - Declaration of functions, including header files,SMAC functions
Puts system into different states depending on intervals set
Sets appropriate power mode for different states
Checks received data and sends acknowledgement
System loops
A-D Converter
•Tire pressure sensor gives an analog voltage value.
• The output pin of the sensor is connected to one of the 8 A-D
converter pins on the microcontroller.
•The voltage signal from the sensor is converted to a binary number
using the microcontroller.
•The voltage-pressure relation below is used to convert the digital
value into the corresponding pressure value.
Immediate Software Goals
Goal 1 – by 03/03/2008
•Understand all the SMAC functions by next
Monday.
• Simultaneously work on writing code to control
LED’s using the pushbuttons.
Goal 2 – by 03/15/2008
• Connect tire pressure sensor to the A/D converter on
the development board.
• Write software to output the correct air pressure
from the A/D converter.
Main Board
Kirill Belyayev
Main Board Schematic
U1 2
13
8
10
11
0.1u F
1
3
4
5
2
6
0.1u F
16
C2 2
0.1u F
C2 1
0.1u F
C2 0
0.1u F
T1 OUT
T2 OUT
P6
CONNECTOR DB9
RxD
5
9
4
8
3
7
2
6
1
14
7
C1 +
C1 C2 +
C2 V+
VVCC
MAX 323 2
IC10 1
GPIO1
GPIO2
TP 102
TP 103
GPIO1
GPO I2
11
10
9
8
23
24
25
IC10 2
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
LCD_RES
32
33
34
35
36
37
38
39
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
9
10
12
13
14
15
TxD
RxD
SS
MISO
MOS I
SP ICLK
LCD_A 0
LCD_A 1
LCD_A 2
LCD_A 3
LCD_D0
LCD_D1
LCD_D2
LCD_D3
LCD_D4
LCD_D5
LCD_D6
LCD_D7
18
19
20
21
22
23
24
25
26
27
28
29
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
PT D0/TPM1 CH0
PT D1/TPM1 CH1
PT D3/TPM2 CH0
PT D4/TPM2 CH1
GPIO1
GPO I2
AT TNB
RX TXEN
RS TB
SS 2
SS 3
AT TNBi
RX TXENi
RS TBi
PA O_P
4
5
C1 08
22 0p F
15
L1 01
6.8n H
6
4
2
1
PA O_M
31
22
5
3
1
C1 30
10 0p F
VDDA
3V 0
2*3p
6
BDM PORT
SM
32
29
28
21
30
VDDA
VDDLO1
VDDLO2
VDDD
VDDVCO
XT AL1
GND
XT AL2
W10 4
EL =58 d eg , Z=120 oh m
11 .5 mm
7
ANT10 2
C1 06
6.8p F
26
X1 01
30
31
S1 06
C1 03
10 0n F
C1 02
10 0n F
VS S
VS SAD
W10 3
EL =58 d eg , Z=120 oh m
11 .5 mm
VB ATT
VDDINT
C1 29
10 0n F
C1 31
0.5p F
CL KOo
3V 0
VREFH
VREFL
16
41
ANT10 1
TINJ_M
CL KO
J1 01
VDD
VDDAD
W10 2
EL =22 .5 deg , Z=12 0oh m
4.5m m
3
3V 0
RE SET
C1 09
10 0n F
W10 1
EL =22 .5 deg , Z=12 0oh m
4.5m m
TINJ_P
14
13
12
3.3V
17
40
2
TP 101
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKGD/M S
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
C1 28
0.5p F
C1 27
18 pF
IRQBo
3V 0
47 0K
1
R1 06
22 0R
No t Mou nted
CE Bi
MISOo
MOS Ii
SP ICLKi
20
R1 05
2
3
4
5
6
7
8
C1 26
18 pF
RIN_ M
RIN_ P
19
18
17
16
IRQ
11
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
C1 04
10 0n F
33
SW5
MC9 S08 GT6 0
MC1 319 2
C1 07
22 0p F
27
3.3V
3.3V
3.3V
KB 4 KB 5 KB 6
3.3V
16 .0 00 MHz
C1 05
6.8p F
R1 7
5K
R1 6
5K
R1 5
5K
R1 4
5K U1 4
RESET Switch
3.3V
28
27
26
25
24
23
22
21
20
19
18
17
16
15
SS 3
C2 4
0.1u F
3.3V
R1 8
5K
SP ICLK
MOS I
MISO
U1 8
SS 2
MISO
1
2
3
4
/CS
SO
/WP
GND
3.3V
VCC
/HOL D
SCK
SI
IS25 C64 A
8
7
6
5
SP ICLK
MOS I
KB 0
1
KB 1
2
KB 2
3
KB 3
4
KP 6
SQW
Vcc
NC
/E
NC
/IRQ/FT/OUT
NC
NC
NC
NC
NC
THS
NC
NC
WDI
NC
/RST IN1
SCL
/RST IN2
NC
NC
/RST
NC
SDI
NC
SDO
Vss
NC
KP 5
U1 9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
KP 4
Switch S PST S MD
7
C1 9
T2 IN
T1 IN
12
9
6
TxD
R1 OUT
R2 OUT
5
C1 8
R1 IN
R2 IN
KP 0
1
2
3
KP 1
4
5
6
KP 2
7
8
9
KP 3
*
0
#
Ke yp ad
C2 3
0.1u F
Ti tle
Mai n Te rmin al S ch emati c
M41 T94 MH
Si ze
B
Da te :
Do cu ment Numb er
Mad e by IPA T eam
Mon da y, Feb ru ary 25 , 20 08
Re v
1.0
Sh eet
1
of
1
Microprocessor
IC10 2
MC9S08GT60
Six Different General I/O Ports:
• Port A has keyboard interrupts
• Port B has A/D Converter inputs
• Port C has SCI2 and I2C interfaces
• Port D has Timer/PWM module
• Port E has SCI1 and SPI interfaces
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
LCD_RES
32
33
34
35
36
37
38
39
LCD_A 0
LCD_A 1
LCD_A 2
LCD_A 3
18
19
20
21
LCD_D0
LCD_D1
LCD_D2
LCD_D3
LCD_D4
LCD_D5
LCD_D6
LCD_D7
22
23
24
25
26
27
28
29
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
PT D0/TPM1 CH0
PT D1/TPM1 CH1
PT D3/TPM2 CH0
PT D4/TPM2 CH1
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
9
10
12
13
14
15
11
2
3
4
5
6
7
8
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKGD/MS
RE SET
1
3.3V
17
40
VDD
VDDAD
VREFH
VREFL
C1 09
10 0nF
16
41
VS S
VS SAD
MC9 S08 GT6 0
30
31
IC10 1
RF Data Modem
11
10
9
8
23
24
25
19
18
17
16
MC13192
• SPI pins for on-board communication
• RF input/output pins
• General purpose I/O pins
20
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
RIN_ P
CE Bi
MISOo
MOSIi
SP ICL Ki
TINJ_P
TINJ_M
14
13
12
15
AT TNBi
RX TXENi
RS TBi
PA O_P
32
29
28
21
30
33
2
3
4
5
CL KOo
PA O_M
31
22
1
IRQBo
• Interrupt, Reset, Rx/Tx Enable pins
• External clock pins
RIN_ M
VB ATT
VDDINT
SM
VDDA
VDDLO1
VDDLO2
VDDD
VDDVCO
XT AL1
GND
XT AL2
MC1 319 2
6
7
26
27
Serial Communication Interface
Max3232 – SCI Driver and Receiver
Keypad
• 12 Keys – 7 pins
• Rows have pull up resistors
and used as outputs
R1 4
5K U1 4
KB 0
1
KB 1
2
KB 2
3
KB 3
4
7
R1 5
5K
KP 6
R1 6
5K
KB 4 KB 5 KB 6
3.3V
6
R1 7
5K
3.3V
KP 5
3.3V
5
3.3V
KP 4
• Columns used as inputs
KP 0
1
2
3
KP 1
4
5
6
KP 2
7
8
9
KP 3
*
0
#
Ke yp ad
LCD Interface
Two NJU6676 Drivers
3.3V
• 64x132 pixels each
R1 31
5K
LCD_MCS
• Parallel or Serial
• Internal power supply
circuit (not used)
3.3V
3.3V
LCD_RES
LCD_A 0
LCD_A 1
LCD_A 2
LCD_D0
LCD_D1
LCD_D2
LCD_D3
LCD_D4
LCD_D5
LCD_D6
LCD_D7
3.3V
R1 25
5K
3.3V
U2 6
R1 33
5K
V1
V2
V3
V4
V5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
NC
FR
CL
/DOF
/CS1
CS 2
/RES
A0
R/W
E
D0
D1
D2
D3
D4
D5
D6
D7
VDD
VS S
VOUT
C3 C1 +
C1 C2 C2 +
V1
V2
V3
V4
V5
VR
C8 6
P/S
NC
NC
NJU66 76 Ma ster
U2 7
R1 32
5K
LCD_S CS
3.3V
3.3V
LCD_RES
LCD_A 0
LCD_A 1
LCD_A 2
LCD_D0
LCD_D1
LCD_D2
LCD_D3
LCD_D4
LCD_D5
LCD_D6
LCD_D7
3.3V
R1 26
5K
R1 34
5K
V1
V2
V3
V4
V5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
NC
FR
CL
/DOF
/CS1
CS 2
/RES
A0
R/W
E
D0
D1
D2
D3
D4
D5
D6
D7
VDD
VS S
VOUT
C3 C1 +
C1 C2 C2 +
V1
V2
V3
V4
V5
VR
C8 6
P/S
NC
NC
NJU66 76 Sl a ve
Sensor Schematics
Arush Dhawan
Sensor Schematic
• Tire Pressure Chip - MPX4250
– Operates at 5V
• Max Input of MC9S08 is 3.6V
– Attenuator
– Readjust Transfer Function in Software
– Sensor Chips are interchangeable, the only thing that
will need to be adjusted the attenuator and software.
•
•
•
•
Temperature – FM20P5X – 3.3V
X-Y Accelerometer – MMA1260D - 5 V
Z Accelerometer – MMA6261Q 3.3V
Proximity Sensor – Sharp GP2Y0A21YK - 3.3V
Tire Pressure Chip
IC10 4
32
33
34
35
36
37
38
39
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
U1 8
5.1V
NC
NC
NC
Vs
GND
Vo ut
MPX 425 0
6
5
4
3
2
1
18
19
20
21
R1 09
5k
GPIO1
GPO I2
GPIO1
GPIO2
R1 10
10 k 22
23
24
25
26
27
28
29
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
PT D0/TPM 1CH0
PT D1/TPM 1CH1
PT D3/TPM 2CH0
PT D4/TPM 2CH1
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
9
10
12
13
14
15
11
2
3
4
5
6
7
8
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKG D/M S
RE SET
1
3.3V
17
40
VDD
VDDAD
VREFH
VREFL
C1 17
10 0n F
16
41
VS S
VS SAD
MC9 S08 GT6 0
30
31
Temperature Chip
IC10 6
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
3.3V
18
19
20
21
U2 1
1
2
3
NC
GND
Vo ut
VDD
GND
4
5
22
23
24
25
26
27
28
29
FM2 0T
GPIO1
GPO I2
32
33
34
35
36
37
38
39
GPIO1
GPIO2
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
PT D0/TPM1 CH0
PT D1/TPM1 CH1
PT D3/TPM2 CH0
PT D4/TPM2 CH1
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
9
10
12
13
14
15
11
2
3
4
5
6
7
8
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKGD/MS
RE SET
1
3.3V
17
40
VDD
VDDAD
VREFH
VREFL
C1 25
10 0nF
16
41
VS S
VS SAD
MC9 S08 GT6 0
30
31
Z Accelerometer Chip
U1
1
2
3
4
5
6
7
8
Vss
Vss
Vss
Vo ut
ST ATUS
VDD
Vss
ST
NC
NC
NC
NC
NC
NC
NC
NC
16
15
14
13
12
11
10
9
IC10 4
32
33
34
35
36
37
38
39
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
XY ACC
5.1V
18
19
20
21
R1 09
5k
GPIO1
GPO I2
GPIO1
GPIO2
R1 10
10 k 22
23
24
25
26
27
28
29
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
PT D0/TPM1 CH0
PT D1/TPM1 CH1
PT D3/TPM2 CH0
PT D4/TPM2 CH1
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
9
10
12
13
14
15
11
2
3
4
5
6
7
8
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKGD/M S
RE SET
1
3.3V
17
40
VDD
VDDAD
VREFH
VREFL
C1 17
10 0n F
16
41
VS S
VS SAD
MC9 S08 GT6 0
30
31
X-Y Accelerometer
IC10 8
C1 58
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
3.3V
.1uF
7
8
NC
Xo ut
Yo ut
NC
NC
NC
NC
16
15
14
13
R1 15
1K
NC
NC
NC
ST
6
NC
R1 16
GPIO1
GPO I2
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
C1 59
18
.1uF
PT D0/TPM1 CH0
19
PT D1/TPM1 CH1
20
PT D3/TPM2 CH0
21
PT D4/TPM2 CH1
1K
C1 60
.1uF
22
23
24
25
26
27
28
29
9
10
11
12
5
Vss
VDD
NC
NC
4
3
2
1
U2 2
ZA CC2
32
33
34
35
36
37
38
39
GPIO1
GPIO2
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
9
10
12
13
14
15
11
2
3
4
5
6
7
8
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKGD/M S
RE SET
1
3.3V
17
40
VDD
VDDAD
VREFH
VREFL
C1 57
10 0n F
16
41
VS S
VS SAD
MC9 S08 GT6 0
30
31
Proximity Sensor
IC11 0
KB 0
KB 1
KB 2
KB 3
KB 4
KB 5
KB 6
18
19
20
21
U2 3
Vo
GND
Vcc
PROX2
32
33
34
35
36
37
38
39
1
2
3
3.3V
GPIO1
GPO I2
22
23
24
25
26
27
28
29
GPIO1
GPIO2
PT A0/KBIP0
PT A1/KBIP1
PT A2/KBIP2
PT A3/KBIP3
PT A4/KBIP4
PT A5/KBIP5
PT A6/KBIP6
PT A7/KBIP7
PT D0/TPM1 CH0
PT D1/TPM1 CH1
PT D3/TPM2 CH0
PT D4/TPM2 CH1
PT B0/AD0
PT B1/AD1
PT B2/AD2
PT B3/AD3
PT B4/AD4
PT B5/AD5
PT B6/AD6
PT B7/AD7
PT E0/TxD1
PT E1/RxD1
PT E2/SS
PT E3/MISO
PT E4/MOSI
PT E5/SPS CK
IRQ
PT C0/TxD2
PT C1/RxD2
PT C2/SDA
PT C3/SCL
PT C4
PT C5
PT C6
9
10
12
13
14
15
11
2
3
4
5
6
7
8
44
PT G2/EXT AL 43
PT G1/XTA L 42
PT G0/BKGD/MS
RE SET
1
3.3V
17
40
VDD
VDDAD
VREFH
VREFL
C1 74
10 0nF
16
41
VS S
VS SAD
MC9 S08 GT6 0
30
31
PCB Design and
Logistics
Bilal Yousufi
PCB Design – Revision 1
• Altium Designer
• 1st Revision by March 1st
• R
– 2 Boards
• Mainboard
– Power Source: 12V Battery with DC-DC Buck Converter.
» Components Operate between 3.3V – 12V
• Tire Pressure Board
PCB Design – Revision 2
•
2nd Revision by Milestone 2
– Mainboard
– Tire Pressure, Temperature, 3-axis Accelerometer Board, and more if time permits
• Sensor Boards will be powered by batteries.
–
–
We will try to lower power consumption as much as possible
Test Power Consumption, based on transmission intervals
• Ruggedized Casing
– RF Data Modem
•
3rd Revision by Expo
– More Sensors (Voltage or Fluid Level)
– More Mainboard Functions
• Storage
• Color LCD
•
4 Layer Boards from 4pcb.com
– Routing on Outside
– Inner Layers will be Voltage (3.3V) and Ground
– A couple of Sensors use 5V, we might split the voltage layer, or use a boost
converter.
Long Range RF Modem
•Car – PC Link that can send Data (i.e. Racetrack, Test drive)
•40 Mile Range
•Monitor Sensor Data on Computer
•Will be implemented in the second revision of the design
•RS-232 Link (Already on Mainboard)
•Implementing Software will be the main issue
•We don’t have experience with creating packet structure
Power
• Mainboard
– 3.3V, 5V
– Input of 9V for 1st PCB Revision
– Input of 12V for 2nd PCB Revision (Car Battery)
• Voltage Regulators to Step Down to 3.3V, and 5V
• Boost Converter to 15 V
• Sensor
– 3.3V Power Source
– Converters for Sensor Chips
Power
•Our first PCB Revision will not be wireless and have a 9V Source.
We will be using the power adapters from our development kit.
•We will be using 9V with Voltage Regulators at 5V and 3.3V
•Our second PCB Revision will focus on power conservation, and the
sensor modules will be run by batter
SW1
SP ST
5V
D5
D7
3.3V
D2
1N400 3
U2
LP 386 90 DTX-5.0
1
1
D3
D4
In
5V
3
1
+
1N400 3
1N400 3
C1
1u F
In
Gn d
1N400 3
2
2
1N400 3
U3
LP 386 90 DTX-3.3
2
1N400 3
J1
Po wer ja ck
2.1mm
Gn d
D1
C2
10 uF
5V
3
+
C3
10 uF
R1
39 0
D6
GRE EN LE
LCD Interface
•Proper Operation of LCD, needs 5 discreet voltages
•Voltages Range from 3.3V to –12V
•Logic – 3.3V
•GND – 0 V
•On/Off Voltages for LCD Pixels
•Bias Voltage is -12V (Pixels, Contrast)
C3 2
0.22 uF
3.3V
C2 8
10 uF
C2 7
0.1u F
C3 1
U2 8
3
4
07
5
2
VIN
EN
PS _GND
IN
GND
TP S63 700
PW_ PAD
R1 27
10
R1 29
12 1K
VREF
FB
OUT
SW
COMP
10
09
08
06
1
R1 28
1.2M
D1 0
10 pF
R1 30
10 0K
Ve e
-12V 150mA
DIODE S CHOT TKY
C2 9
4.7n F
L1 06
10 uH
C3 0
4 x 4 .7 uF
3.3V
Power - LCD Interface
R1 16
4.7K
3.3V
4
3.3V
+
2
-
+
C1 3
1u F
1
11
3
U2 3A
V1
LM3 24
Ve e
R1 18
4.7K
•Adjusts Contrast
3.3V
4
3.3V
5
U2 3B
+
C1 4
1u F
7
V2
11
6
+
LM3 24
Ve e
R1 19
23 .7 K
3.3V
4
3.3V
10
U2 3C
+
C1 5
1u F
8
V3
11
9
+
LM3 24
Ve e
R1 20
4.7K
3.3V
4
3.3V
12
13
R1 23
1.44 K
R1 21
4.7K
R1 24
10 K POT
+
C1 6
1u F
V4
LM3 24
Ve e
3.3V
4
3.3V
13
+
U2 4D
+
14
11
12
R1 22
20 .5 K
U2 3D
14
11
Ve e
+
Ve e
LM3 24
-7.7 to -11.2 V
Power Circuit for Display
C1 2
1u F
V5
•On/Off Voltages for Pixels
Updated Timeline
Parts
Qnt
2
4
3
5
2
2
1
3
2
10
100
100
2
35
30
20
3
3
4
1
3
3
3
3
3
3
30
30
30
30
30
30
Description
IC MCU 60K FLASH 20MHZ 44-QFP
RF Data Modem
IC PLD 8CELL 3V 10NS SO20
IC SPI BUS SRL EEPROM 64K 8-SOIC
IC RTC SPI SRAM SER 64X8 28-SOIC
IC SNAPHAT BATT/CRYSTAL 28-SOIC
KEYPAD 12 KEY FRONT PANEL MNT
IC MCU 60K FLASH 20MHZ 44-QFP
MPX4250
Voltage Regulators/Converters
Res
Caps
Speaker
Switches
LEDs
Jacks, connectors
CONN DB9 FEMALE .590" R/A NICKEL
IC DRVR/RCVR MULTCH RS232 16SOIC
LED ARRAY 2X5MM 5-SEG YELLOW
LCD MOD GRAPH 240X64 WHT TRANSFL
LCD Power Supply Components:
IC CONV DC/DC INV MCRPWR SOT23-5
IC OP AMP QUAD LOW POWER 14-SOIC
POT 10K OHM 10MM 347 DEGREE SMD
IC DC/DC INV -15V 10-SON
INDUCTOR 10UH SHIELDED SMD
DIODE SCHOTTKY 30V200MA SSMINI2P
CAP .1UF 25V CERAMIC X7R 0603
CAP CER 10UF 10V X7R 0805
CAP CER 4.7UF 10V X7R 0805
CAP CERM .22UF 16V X7R 0603
CAP CERM 10PF 10% 100V NP0 0603
CAP 4700PF 50V CERAMIC X7R 0603
LCD Connectors:
6 CONN FPC/FFC 36POS .5MM HORZ SMD
1 Development Kit
6 4 Layer PCB
M/N Part #
MC9S08GT60CFBE
MC13192FCR2
ATF16LV8C-10SC
IS25C64A-2GLI
M41T94MH6F
M4T28-BR12SH1
96AB2-102-F
MC9S08GT60CFBE
Vendor Part #
MC9S08GT60CFBE-ND
MC13192FCR2CT-ND
ATF16LV8C-10SC-ND
706-1015-5-ND
497-5372-1-ND
497-3686-5-ND
GH5001-ND
MC9S08GT60CFBE-ND
Vendor's Name Price of 1
On-board reference
Digikey
$0.00 SAMPLED
Digikey
$0.00 SAMPLED
Digikey
$2.69
Digikey
$1.16
Digikey
$5.80
Digikey
$5.81
Digikey
$12.02
Digikey
$10.51
$0.00 SAMPLED
$10.00
$0.10
$0.20
$10.00
$0.50
$1.00
$0.50
Digikey
$3.94
Digikey
$1.50
Digikey
$1.60
Digikey
$51.74
183-009-213R181
MAX3232CDWR
SSA-LXB525YD
73-1262-ND
183-809FE-ND
296-13095-1-ND
67-1203-ND
F-51851GNFJ-SLW-AEN
LT1617ES5#TRMPBF
LT1617ES5#TRMPBFCT-ND Digikey
LM324M/NOPB
EVW-AE4001B14
TPS63700DRCT
CDRH5D18-100NC
MA2SD3100L
C0603C104K3RACTU
GRM21BR71A106KE51L
LMK212BJ475KG-TR
B37931K9224K60
06031A100KAT2A
C0603C472J5RACTU
LM324MNS-ND
P12426CT-ND
296-18729-1-ND
308-1346-1-ND
MA2SD3100LCT-ND
399-1281-1-ND
490-3905-1-ND
587-1442-1-ND
495-1919-1-ND
478-3670-1-ND
399-1088-1-ND
Digikey
Digikey
Digikey
Digikey
Digikey
Digikey
Digikey
Digikey
Digikey
Digikey
Digikey
1.02
1.72
4.16
0.92
0.51
0.118
0.541
0.281
0.042
0.198
0.033
FH12A-36S-0.5SH
HFK36CT-ND
Digikey
2.45
300
66
4pcb.com
4.14
Questions?
Download