Upload
magdalene-newton
View
218
Download
2
Embed Size (px)
Citation preview
Solar Telematics SystemECE 477 Design Review, Team 8, Spring
2012
Paste a photo of team members here, annotated with names of team members.
Craig Lechlitner, Dan Ehrman, Clayton Dickemann, Brian Kelley
Outline• Project overview • Project-specific success criteria• Block diagram• Component selection rationale• Packaging design• Schematic and theory of operation• PCB layout• Software design/development status• Project completion timeline• Questions / discussion
Project Overview
• Touchscreen driver display for PSR's next vehicle: Navitas
• Communicates with other on-board systems
• Collects and displays continuous vehicle diagnostics
• Controls various essential vehicle functions
• Relays data to the sidelines for monitoring and analysis
• Testing in existing car: Celeritas
Project-Specific Success Criteria
1. An ability to track vehicle location using GPS.
2. An ability to send and receive CAN messages from and to other systems in the car.
3. An ability to display graphics on the LCD display.
4. An ability to respond to user input from a touchscreen.
5. An ability to store and load data to and from non-volatile memory.
Block Diagram
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 V
Gra
phic
s
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l P
ort
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olu
me
CS
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 016
RG
B/C
LK
4-W
ire
To
uch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A4-
Wir
e T
ouc
h
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B
1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
um
e S
PI
SP
I C
S
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2
Ext
Iso
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
Component Selection Rationale
Implementation Requirements•Must be passed on to PSR team•Must talk to other on-board systems using CAN•Must utilize existing development tools•Must fit in a compact solar car•Must be easily usable/visible by the driver
Component Selection Rationale
Technical requirements•Graphics processing (images and text)•Drive an 800x480 LCD @ >= 4 Hz (min.)•Read touchscreen input•Read images and sound from SD card•Generate sound•Send/receive CAN data to/from other systems•Receive GPS data•Send/receive data between two micros
Component Selection - LCD
Hantronix HDA700L-1•7" 800x480 color TFT•18-bit RGB input•Brightness: 500 nit•Contrast ratio: 250:1•X and Y analog touchscreen output
TSC2000•Converts analog X and Y to digital•Sends touch data over SPI
Component Selection - Graphics
PIC24FJ256DA210 (100-pin)•Integrated GFX module
• Character generation• Rectangle copy• Image deflator
•Direct RGB output to LCD display•16-bit color•96K SRAM•PMP for external SRAM•4 UART, 3 SPI•8 MHz internal oscillator
Component Selection - CommunicationPIC32MX795F512H (64-pin)•2 CAN•3 SPI•6 UART•Using with external 10 MHz oscillator
Component Selection - Other
IS61WV102416BLL (SRAM)•2 MB•10 ns•3.3 V
LS20031 (GPS)•5 Hz•UART•Internal antenna•3.3 V
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
Power SuppliesA u x
B a c k lig h t D I M
R 61 6 . 5 k
C 1 71 0 u F
B a c k lig h t E N
D 42 0 V
I s e t1D I M
2
E N3
F s e t4
V in5
V C C6
GN
D7
L X8
GN
DE
P
U 4 L M 3 4 0 7
C 1 8. 1 u F D 5
L 2
3 3 u H
C 1 6. 0 1 u F
L 1
5 6 u H
12
J 4
To B a c k lig h t
D 3 C 1 21 u F
R 46 6 . 5 k
Power Supplies
R 51
C 1 5
. 0 1 u F
C 1 41 u F
C 1 91 0 0 u F
C 1 31 u F
3 . 3 V
F 1
0 . 5 A
S W1
I n p u t2
C B o o s t3
Gro
und
4
I Li
mit
5
F e e d b a c k6
S o f t s t a rt7
Gro
und
Tab
U 5
L M 2 6 7 3
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
TS/LCD Interface
LCD
V c c1
V c c2
V c c3
V c c4
N C5
D E6
V s s7
N C8
V s s9
N C1 0
V s s1 1
B 51 2
B 41 3
B 31 4
V s s1 5
B 21 6
B 11 7
B 01 8
V s s1 9
G 52 0
G 42 1
G 32 2
V s s2 3
G 22 4
G 12 5
G 02 6
V s s2 7
R 52 8
R 42 9
R 33 0
V s s3 1
R 23 2
R 13 3
R 03 4
N C3 5
V s s3 6
V s s3 7
D C L K3 8
V s s3 9
V s s4 0
J 3
L C D C o n n e c t o r
3 . 3 V
B 4
G E N
B 2B 3
B 0B 1
G 4G 5
G 1G 2
G 3
R 3R 4
G 0
R 1
R 2
G C L K
R 0
D a t a A v a ila b leTS _ M I S O
TS _ M O S ITS _ C STS _ S C K
Touchscreen Interface
X+2
Y +3
X-4
Y -5
G N D1
G N D6
J 2
To u c h s e re e n
3 . 3 V
C 9. 1 u F
V D D1
X+2
Y +3
X-4
Y -5
G N D6
V b a t 17
V b a t 28
V re f9
N C1 0
S C L K1 1S S1 2M O S I1 3D A V1 4M I S O1 5P E N I R Q1 6A o u t1 7A R N G1 8A U X21 9A U X12 0
U 2
TS C 2 0 0 0
3 . 3 V
P e n I R Q
SRAM
A d d r7A d d r6
A d d r8
A d d r1 2A d d r1 1
A d d r1 4A d d r1 3
A d d r1 0A d d r9
U BC E L B
SRAM
D a t a 2D a t a 1D a t a 0
C 1 0
. 1 u F D a t a 4
D a t a 3
D a t a 7D a t a 6D a t a 5
O E
D a t a 1 5
A 41
A 32
A 23
A 14
A 05
N C6
. C E7
I / O 08
I / O 19
I / O 21 0
I / O 31 1
V d d1 2
G n d1 3
I / O 41 4
I / O 51 5
I / O 61 6
I / O 71 7
. W E1 8
N C1 9
A 1 92 0
A 1 82 1
A 1 72 2
A 1 62 3
A 1 52 4
A 54 8
A 64 7
A 74 6
A 84 5
. O E4 4
. U B4 3
. L B4 2
I / O 1 54 1
I / O 1 44 0
I / O 1 33 9
I / O 1 23 8
G n d3 7
V d d3 6
I / O 1 13 5
I / O 1 03 4
I / O 93 3
I / O 83 2
N C3 1
A 93 0
A 1 02 9
A 1 12 8
A 1 22 7
A 1 32 6
A 1 42 5
U 3
I S 6 1 W V 1 0 2 4 1 6 B L
D a t a 1 3D a t a 1 4
D a t a 1 2
A d d r4
C 1 1
. 1 u F
3 . 3 V
D a t a 1 1D a t a 1 0
A d d r3
A d d r1
D a t a 9
A d d r2
W E
A d d r0
D a t a 8
A d d r1 8A d d r1 9
A d d r1 6A d d r1 7
3 . 3 V
A d d r1 5
A d d r5
SD Card
C S1
S D I2
V S S3
V D D4
S C L K5
V S S6
S D O7
N C8
GN
D10
GN
D11
GN
D12
GN
D13
GN
D14
C P9
J 5
M ic ro S D
Micro SD interface
S D _ C SS D _ M O S I
S D _ S C K
S D _ M I S O
R 1 2 1 0 0R 1 3 1 0 0
R 1 4 1 0 0
R 1 5 1 0 0R 1 1
1 0 k
S D _ C P
3 . 3 V3 . 3 V
C 2 6. 1 u F
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
Graphics Microcontroller
SD
_CP
B2
Add
r12
R3
LB
C E
R4
G C L K1
V D D2
P M D 53
P M D 64
P M D 75
G D 06
G D 87
G D 18
S D _ S D I (R P I 4 1 )9
P M A 1 81 0
S D _ S D O (R P 2 6 )1 1
S D _ S C K (R P 1 9 )1 2
. M C L R1 3
P M A 21 4
V s s1 5
V d d1 6
S D _ C S (R A 0 )1 7
P M C S 11 8
P M A 1 91 9
U 1 TX (R P 1 8 )2 0
G D 42 1
G D 52 2
G D 62 3
P G C 1 / U 1 R X (R P 1 )2 4
P G D 1 / S P K R _ P W M (R P 0 )2 5
ML_
SD
O (
RP
6)26
ML_
SC
K (
RP
7)27
PM
A7
28
PM
A6
29
AV
dd30
Avs
s31
GD
1232
GD
1333
PM
A13
34
PM
A12
35
Vss
36
Vdd
37
(RA
1)38
GD
239
PM
A5
40
PM
A11
41
PM
A10
42
PM
A1
43
PM
A0
44
Vss
45
Vdd
46
GD
1447
GD
1548
PM
A9
49
PM
A8
50
V s s7 5
M L _ S D I (R P I 3 7 )7 4
(R C 1 3 )7 3
TS _ S C K (R P 1 1 )7 2
P M A 1 47 1
P M A 1 57 0
G D 1 06 9
TS _ S D O (R P 2 )6 8
P M B E 16 7
TS _ S D I (R P I 3 6 )6 6
V s s6 5
TS _ I R Q 1 (R G 3 )6 4
TS _ I R Q 2 (R G 2 )6 3
V d d6 2
TS _ C S 1 (R A 5 )6 1
P M A 36 0
P M A 45 9
TS _ C S 2 (R A 2 )5 8
(R G 2 )5 7
(R G 3 )5 6
V u s b5 5
B K L I G H T_ E N (R F 7 )5 4
G D 95 3
G D 35 2
B K L I G H T_ P W M (R P 1 6 )5 1
PM
D3
99
PM
D2
98
(RG
13)
97
SD
_CP
(R
G12
)96
PM
A16
95
PM
D1
94
PM
D0
93
PM
A17
92
GE
N91
PM
D8
90
PM
D9
89
PM
D10
88
PM
D11
87
EN
VR
EG
86
Vdd
core
/Vca
p85
PM
D15
84
PM
D14
83
PM
RD
82
PM
WR
81
PM
D13
80
PM
D12
79
PM
BE
078
GD
1177
GD
776
PM
D4
100
U 1P I C 2 4 F J 1 2 8 D A 2 1 0
A d d r4
D e b u g _ 2 4 _ TX
D a t a 6M L _ D R
D a t a 7
G re e n _ 2 4D e b u g _ 2 4 _ R X
B 3
R e d _ 2 4
Add
r13
Add
r5G 4
G 5
S P K R _ P W M
Dat
a8
G2
A d d r1 4
R0Dat
a9
S D _ C S
Add
r6
GE
N
2 4 _ P G E D
S D _ M O S I
A d d r1 5
Dat
a15
C 1
1 0 u F
Dat
a14
S D _ S C K
Dat
a13
Add
r16
3 . 3 V
S D _ M I S O
Dat
a12
AM
P_S
HU
TD
OW
N
Dat
a10
Add
r7
OE
WE
Dat
a11
Add
r17
TS _ S C K
D a t a A v a ila b leP e n I R Q
TS _ C S
TS _ M O S I
TS _ M I S O
ML_
Err
or
M L _ M O S I
A d d r1 8
3 . 3 V
Add
r8
A d d r1 9
ML_
MIS
O
R e s _ C S
G C L K
Add
r9
3 . 3 V2 4 _ M C L R
Dat
a0
B 0G 3
ML_
SC
K
B 1
2 4 _ P G E C
Add
r10
Dat
a1
Dat
a2
Add
r1
3 . 3 V
Add
r0
Add
r11
Dat
a3
B 4
B a c k lig h t D I M
G 0G 1
B a c k lig h t E N
Dat
a4U B
A d d r2R
1
A d d r3R
2
D a t a 5
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
Audio
R 1 8
2 0 k
R 1 72 0 0 k
3 . 3 V
A u x
C S1
S C K2
S D I3
V S S4
P 1 B5
P 1 W6
P 1 A7
P 0 A8P 0 W9P 0 B1 0W P1 1S H D N1 2S D O1 3V d d1 4
U 7
M C P 4 2 4 1
Audio filter/Amplifier
C 2 81 0 u F
C 2 5
1 u F
A M P _ S H U TD O W N
123456
J 6
1 / 8 "
3 . 3 V
R 9
1 0 k
C 2 41 . 5 n
R 1 0
1 0 k
C 2 2
1 . 5 n
3 . 3 V
R E S _ C S
R 5 6
2 0 0 k
-V in _ A1
S H U TD O W N2
B y p a s s8
-V in _ B9
Vdd
6V
ss4
Vss
5
V o u t _ A3
V o u t _ B7
Vss
10
U 8
L M 4 9 5 0
TS _ S C KTS _ M O S I
R 1 6
2 0 k
3 . 3 V
C 2 0. 1 u FTS _ M I S O
S P K R _ P W M
C 2 7
. 4 7 u F
R 7
1 0 k
C 2 31 . 5 n
31
84
2
+
-
U 6 A
M C P 6 0 2
57
84
6
+
-
U 6 B
M C P 6 0 2
R 8
1 0 k
C 2 1
1 . 5 n
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
GPS
V c c1
R X2
TX3
G n d4
G n d5
H o le6
H o le7
H o le8
H o le9
U 1 4
L S 2 0 0 3 1
3 . 3 V
C 5 1. 1 u F
12345
J 1 2
M TE 5
3 . 3 V
3 . 3 V
G P S _ R XG P S _ TX
GPS
CAN
A u x
R 3 11 2 0 -D N P
C A N _ R X
R 3 2
0
C A N _ TX D1
G N D2
V c c3
R4 C A N L
6C A N H7
S H D N5
R S8
U 1 3
M A X3 0 5 1
C 5 00 . 1 u
3 . 3 V
CAN
1234
J 1 1
M TE 4
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
UART – RS232 Transceiver
C 1 +1
C 1 -3
C 2 +4
C 2 -5
VC
C16
GN
D15
V+
2
V-
6
R 1 O U T1 2
R 2 O U T9
T1 I N1 1
T2 I N1 0
R 1 I N1 3
R 2 I N8
T1 O U T1 4
T2 O U T7
U 1 2
M A X3 2 3 2
M o d e m _ R X
Modem Serial Trancever
M o d e m _ TX
E x t _ G P S _ TX
123
J 1 0
M TE 3E x t _ G P S _ R X
C 4 6. 1 u F
C 4 7. 1 u F
C 4 4. 1 u F
C 4 5. 1 u F
C 4 1
. 1 u F
3 . 3 V
G P S _ R XG P S _ TX
UART – MCP 2200
3 . 3 V
C 4 3. 1 u F
3 . 3 V
123456
J 9
M in iU S B
D e b u g _ 3 2 _ R XD e b u g _ 3 2 _ TX
C 4 20 . 4 7 u F
D 1 0
R 3 01 5 0
D 1 1
R 2 91 5 0 V d d
1
O S C 12
O S C 23
R S T4
Tx L E D5
R x L E D6
G P 57
G P 48
G P 39
TX1 0
V s s2 0
D +1 9
D -1 8
V u s b1 7
S S P N D1 6
U S B C F G1 5
G P 21 4
C TS1 3
R X1 2
R TS1 1
U 1 1
M C P 2 2 0 0
2 2 0 0 O S C 3
PIC32 USB Debug
2 2 0 0 O S C 4
2 2 0 0 O S C 3
2 2 0 0 O S C 4
Y 31 2 M H z
C 4 81 8 p
C 4 91 8 p
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
PIC32 Microcontroller
3 . 3 V
3 . 3 VM
odem
_RX
Mod
em_T
X
SW
1S
W2
SW
3
GP
S_T
XG
PS
_RX
SW
4
SW
5S
W6
SW
7S
W8
R E 51
R E 62
R E 73
S C K 24
S D I 25
S D O 26
M C L R7
R G 98
V s s9
V d d1 0
R B 51 1
R B 41 2
A N 31 3
A N 21 4
V re f -1 5
V re f +1 6
PG
EC
217
PG
ED
218
AV
dd19
AV
ss20
RB
821
RB
922
RB
1023
RB
1124
Vss
25
Vdd
26
RB
1227
RB
1328
RB
1429
RB
1530
U2R
X31
U2T
X32
R C 1 44 8
R C 1 34 7
R D 04 6
R D 1 14 5
R D 1 04 4
U 4 R X4 3
R D 84 2
V s s4 1
O S C 24 0
O S C 13 9
V d d3 8
R G 23 7
R G 33 6
V u s b3 5
V b u s3 4
R F 33 3
RE
464
RE
363
RE
262
RE
161
RE
060
C1T
X59
C1R
X58
Vdd
57
Vca
p/V
core
56
RD
555
RD
654
RD
553
RD
452
U1T
X51
U1R
X50
U4T
X49
U 1 0P I C 3 2 M X7 9 5 F 5 1 2 H
Deb
ug_3
2_R
X
32_P
GE
C
3 2 _ M C L R
G re e n _ 3 2
3 V _ R E F
32_P
GE
D
R e d _ 3 2
D e b u g _ 3 2 _ TX
A U X_ S E N S E3 . 3 V _ S E N S E
M L _ S C K
M L _ M O S IM L _ M I S O
3 . 3 V
CA
N_T
XC
AN
_RX
PW
R_L
ED
1
R 2 3 1 0 0
PW
R_L
ED
2
R 2 2 1 0 0M L _ E rro r
R 2 4 1 0 0
3 2 _ O S C 23 2 _ O S C 1
C 3 3
1 0 u F
R 2 5 1 0 0
R 2 11 0 k
P W R _ B u t t o n
3 . 3 V
A U X_ E NM L _ D R
3 . 3 V
C A N
UA
RT
1
UA
RT
2
S P I
U A R T3D a t a R d y
G P I O
A / D C o n v .
Comm. Controller
P I C 3 2 M X7 9 5 F 5 1 2 H
3 . 3 VG
raph
ics
Tou
ch/V
ol S
PI
S P I
U A R T
F la s h S P I
Par
alle
l Por
t
Bac
klig
ht E
NB
ackl
ight
PW
M
Tou
ch C
S
Spe
aker
PW
MV
olum
e C
S
D a t a R d y
Graphics Controller
P I C 2 4 F J 2 5 6 D A 2 1 0
16 R
GB
/CLK
4-W
ire T
ouch
Scr
een
B a c k lig h t
7 in . L C D To u c h s c re e n
2 0 0 m A
4-W
ire T
ouch
SP
I
CS
TouchCntrl.
TS C 2 0 0 0
UA
RT
US
B
M C P 2 2 0 0
UA
RT
US
B
U 4
M C P 2 2 0 0
UA
RT
RS
232
M A X3 2 3 2
Par
alle
l
2MB 10ns SRAM
I S 6 1 W V 1 0 2 4 1 6 B L L
V in
C TX/ C R X
CA
NH
/CA
NL
CANTrnscv.
M A X3 0 5 1
1234
M in iU S B1234
M in iU S B
123456789
D B 9
12
To C A R
2 0 0 m A
Graphics/AudioController
A u d io P W M A u d io
Vol
ume
SP
IS
PI
CS
Low-Pass FilterAmplifierVolume Control
M C P 6 0 2 / M C P 4 2 4 1 / L M 4 9 5 0
SP
I
2 GB Flash Memory
S D C a rd
3
1234
E x t . B u t t o n I n p u t s (8 )
8
4
40 2
4
41
3
2
22
2
2E
xtIs
o
Opt
o-Is
olat
or
2
2
U A R T
GPS
L S 2 0 0 3 1
2
L S 1
S P E A K E R8
1 2 -1 6 V3 . 3 V
2 0 0 m A (9 . 9 V )
200m
A E
N20
0mA
DIM
P o we r S u p p lie s
Misc. – External Switches
123456
J 1 3
M TE 6
External Switches
123456
J 1 4
M TE 6
S W 6
S W 5
S W 8
S W 7
R49
10k
R50
10k
R51
10k
R52
10k
12
1615
U 1 7 A
34
1413
U 1 7 B
56
1211
U 1 7 C
78
109
U 1 7 D
R48
330
R47
330
R46
330
R45
330
3 . 3 V
S W 1
S W 2
S W 3
S W 4
R41
10k
R42
10k
R43
10k
R44
10k
12
1615
U 1 6 A
34
1413
U 1 6 B
56
1211
U 1 6 C
78
109
U 1 6 D
R40
330
R39
330
R38
330
R37
330
3 . 3 V
Misc. – Car Battery Enable/Disable
R 5 31 0 k
S W 1
S P D T-b ic o lo r L E D
AC
D 1 53 . 3 v
12
J 1 5
M TE 2
R 5 71 0 k
R 5 91 0 k
R 5 5
3 3 0
AC
D 1 33 . 3 v
P W R _ B u t t o n
Q 1
AUX Enable
A U X_ E N
R 5 41 k
P W R _ L E D 1
P W R _ L E D 2
R 5 81 5 0
Misc. – ATD Circuitry
3 V _ R E F
Voltage Sense
A u x
D N C1
V in2
Te m p3
G n d4
Trim / N R5V o u t6N C7D N C8
U 1 5
R E F 5 0 3 0
R 3 31 0 k
R 3 52 k
D 1 23 . 3 v
A u x
A U X_ S E N S E
C 5 21 u F
R 3 61 0 k
R 3 42 k
3 . 3 V _ S E N S EC 5 3
1 u F
3 . 3 V
C 5 4
1 0 u F
Misc. – Decoupling Caps, Oscillator, Programming Header, Debug LEDs
C 3 4
. 1 u F
C 3 5
. 1 u F
C 3 6
. 1 u F
C 3 7
. 1 u F
C 3 8
. 1 u F
PIC32 Decoupling Capacitors
3 . 3 V
R 2 61 0 k
3 . 3 V
3 2 _ P G E C3 2 _ P G E D
3 2 _ M C L R 123456
J 8
H E A D E R 6
PIC32 Debug LEDs
D 8G re e nG re e n _ 3 2
R e d _ 3 2
R 2 71 5 0
D 9R e d
R 2 81 5 0
3 2 _ O S C 2
3 2 _ O S C 1
Y 21 0 M H z
C 3 9
1 8 p
C 4 0
1 8 p
PIC32 Oscillator
PIC32 Programming
PCB Layout• 6½” x 4¼” to match size of LCD• Mounting holes match those on LCD.• Most traces 12mil
• Power is much larger (>50mil)• Connections to graphics controller are 8mil to fit
footprint.• Line up ribbon cable connectors to match LCD• Place commonly used connectors away from board
edges so all wires exit through hole in rear of housing.• Place infrequently used connectors next to edge to save
board space
PCB Layout – Power Supplies• Minimize length of high current traces• Use wider traces for 3.3V supply (>50mil for 3A)• Minimize vias between inductor, diode, switch, and
capacitor.
• Place fuse close to Vin.
PCB Layout - Microcontrollers• Place decoupling capacitors on opposite side from
microcontrollers, as close as possible to Vdd pins.
• Place crystal oscillator and capacitors as close as possible to PIC32 and MCP2200.
• Keep high frequency signals (96 MHz) short.• Graphics controller• SRAM• LCD connector
• Place vias on all data lines for probing.
Software Design – Key Points
Higher-level•Code split between graphics and communication•MVC model of GUI development
Low-level•Interrupt-driven•Existing PSR CAN library•Microchip Disk Drive library (SD card)•Custom audio and graphics libraries
GPS Processing
Data Registry(Communication)
Data Registry(Graphics)
CAN Processing
The Car
Widget Framework
Touch Processing
GraphicsProcessing
LCD
Application Logic
Audio Processing
SD Storage Framework
Low level
High level
Communications Control
Telemetry Processing
Wireless Modem
Speaker System
GPS
SD Card
Communication Graphics
GPS Processing
Data Registry(Communication)
Data Registry(Graphics)
CAN Processing
The Car
Widget Framework
Touch Processing
GraphicsProcessing
LCD
Application Logic
Audio Processing
SD Storage Framework
Low level
High level
Communications Control
Telemetry Processing
Wireless Modem
Speaker System
GPS
SD Card
Communication Graphics
GPS Processing
Data Registry(Communication)
Data Registry(Graphics)
CAN Processing
The Car
Widget Framework
Touch Processing
GraphicsProcessing
LCD
Application Logic
Audio Processing
SD Storage Framework
Low level
High level
Communications Control
Telemetry Processing
Wireless Modem
Speaker System
GPS
SD Card
Communication Graphics
GPS Processing
Data Registry(Communication)
Data Registry(Graphics)
CAN Processing
The Car
Widget Framework
Touch Processing
GraphicsProcessing
LCD
Application Logic
Audio Processing
SD Storage Framework
Low level
High level
Communications Control
Telemetry Processing
Wireless Modem
Speaker System
GPS
SD Card
Communication Graphics
GPS Processing
Data Registry(Communication)
Data Registry(Graphics)
CAN Processing
The Car
Widget Framework
Touch Processing
GraphicsProcessing
LCD
Application Logic
Audio Processing
SD Storage Framework
Low level
High level
Communications Control
Telemetry Processing
Wireless Modem
Speaker System
GPS
SD Card
Communication Graphics
GPS Processing
Data Registry (Communication)
Data Registry (Graphics)
CAN Processing
The Car
Widget Framework
Touch Processing
GraphicsProcessing
LCD
Application Logic
Audio Processing
SD Storage Framework
Low level
High level
Communications Control
Telemetry Processing
Wireless Modem
Speaker System
GPS
SD Card
Communication Graphics
Project Timeline Week
Task 8 9 10 11 12 13 14 15 16
Hardware
Finalize PCB layout
PCB population and testing
Software
Graphics processing dev/test
GPS processing dev/test
Touch processing dev/test
Telemetry dev/test
Communications control dev/test
Widget integration
Application logic dev/test
CAN simulation
System-wide simulation
General debugging
Packaging
Documentation
Software design narrative
Patent liability analysis
Reliability and safety analysis
Ethical and environmental impact analysis
User manual