Slides made by: Bin Wang BUS TRACKER - CDR Team- Winning Team member: Bin Wang Erik Ware David Zigman Emile Bahdi 2012 Capstone Senior design Colorado University at.

Download Report

Transcript Slides made by: Bin Wang BUS TRACKER - CDR Team- Winning Team member: Bin Wang Erik Ware David Zigman Emile Bahdi 2012 Capstone Senior design Colorado University at.

Slides made by: Bin
Wang
BUS TRACKER - CDR
Team- Winning
Team member:
Bin Wang
Erik Ware
David Zigman Emile Bahdi
2012 Capstone Senior design Colorado University at Boulder
Instructor: Tom.Brown Sam.Siewert
Project Progress
1. GPS module works and receives data using Arduino
development board.
2. RF radio sends and receives data, acting like a
3000 foot serial cable.
3. Website can move data from main station hard drive
to ECES sever, and upload to website in soft realtime.
4. PCB board is fully designed and ordering soon.
Parts list is complete.
5. Finish a prototype design for the user station.
Erik
Block diagram
9V
Battery
Cell
Tracker
GPS
Server
Terminal
u-controller
RS232
9V, 1 amp
Battery Cell
Power Circuit
TX RF
Wi-Fi
RX RF
RS232
PC
Solar
Cell
9V
backup
Internet
Erik
Data Flow Chart for Full Project
GPS data from
satellite
Write_file.pl script
polls the serial port
and saves the data
to a data.txt file
Data decoded by
Atmel processor
Atmel processor
transmits using
serial port and RF
radio
Update_file.sh
SCP’s the data to
the ECES server
Index.html on the ECES server
presents the data online
Data is received
on the server
through the RF
radio
eces.colorado.edu/~waree
User station Wi-Fi module looks up
data on ECES server and presents
the data visually
Erik
eces.colorado.edu/~waree
Erik
Software Description
Write_file.pl (perl)
GPS_software.c
Input:
(C-code)
Update_file.sh
Index.html
This is on the Atmel
Polls the serial port
(Expect)(JavaScript/HTML/
processor, Input GPS data
and saves GPS data
User_station.c (Creceived through the SPI
received Output: connection to the GPS
XML)
Input:
code)
Handles the website
data.txt file, this script
also executes
write_file.sh
module. Outputs: sends data
data.txt file on JavaScript and html Input:
to the LCD screen and sends
computer HD; Output:
it through the RS-232 port
code, Input: looks up Looks up the GPS data
to the RF radio.
The ECES serverGPS
using
data on ECES on the ECES server and
decoding it on the userSCP protocol. server; Output: display
data on embedded station processor;
Output: visually
Google map.
displaying the data.
Erik
Prototype of Tracking System
AT:40.00726204
LT:-105.26203
Uctrler
GSM
GPS
LCD
Bin
Software Decomposition
LCD
GPSdecode
UART/RF
Input:
TTLsignal of ATLT
Output:
Uart signal in RS232
Bin
RF module
1. Signal attenuate Significantly
across building.
2. Consistent high power
consumption
Bin
Small range:
R=
0.6 km
Large range:
R=
1.4 km
Bin
GSM
(Global System for Mobile Communications)
ADVANTAGE:
1. “Infinite” working range
Cellular-ADH8066
Function:
SMS text messages
GSM/GPRS
TCP/IP
Cost:
2. Guaranteed Communication Quality
3. Easy to control by u-ctrller than
phone itself.
mobile
DISADVANTAGE:
Mainance Fee.(<30$/month)
50$/each
Bin
Power Design(tracker)
1.The power of
GSM is 34 times
lower than RF we
used.
Part Name
Typical
Current
(mA)
GPS
70
70
Microcontroller
(Active 8Mhz)
4.19
4.19
GSM(ADH8066)
2.5 (max:1A)
2.Reduce the power
of the system by
40%
85(max:2A)
3.Sleep mode
significant reduce
the power
consumption
RF(X-tend pkg)
Total
96.69
159.19
Bin
Functionality of the PCB Board

To transmit the current location to the receiver at the
main station to be uploaded to the website
Parts List
•Atmega8-16PC
•Voltage
Regulators (NCP1117-D, LP298533DBVR)
•Serial Port
•RS-232 (chip)
•Clock
(CSTCE16MOV53R016MHz )
•LCD screen
David
D
N
G
XTAL2
ATmega8-16PC
M
1
2
Gnd
8
Header
1
3
R
(AIN1)
PD7
8
(AIN0)
3
1
PD6
2
1
ARD12
3
ARD13
7
XTAL1
5
VIN
D
N
G
D
N
G
D
N
G
(XCK/T0)
PD4
8
1
1
ARD11
PD5
(T1)
6
ARD10
4
3
2
A
1
A
C
5
IOL
(XTAL2/TOSC2)
PB7
G
1
(XTAL1/TOSC1)
PB6
(SCK)
PB5
(MISO)
PB4
1
(MOSI/OC2)
PB3
7
1
(SS/OC1B)
PB2
6
ARD13
(OC1A)
PB1
5
ARD12
(ICP)
PB0
4
ARD11
3
ARD10
2
A
1
D
N
G
D
N
8
Header
F
p
0
0
1
6
8
AREF
1
2
C
AREF
(INT0)
PD2
4
2
(INT1)
PD3
5
9
2
6
8
D
R
A
D
R
A
F
n
0
0
7
C
C
V
C
C
V
A
(TXD)
PD1
0
2
3
1
D
R
6
C
C
V
(RXD)
PD0
7
2
2
D
R
4
4
D
N
+3V3
6
Header
0
3
(RESET)
PC6
1
9
2
6
(ADC5/SCL)
PC5
AD5/SCL
8
2
9
1
1
5
(ADC4/SDA)
PC4
V
5
+
AD4/SDA
7
2
8
4
(ADC3)
PC3
POWER
6
2
7
3
(ADC2)
PC2
5
2
6
1
2
(ADC1)
PC1
4
2
5
1
1
(ADC0)
PC0
3
2
4
1
D
A
3
U
9
D
R
8
D
R
AD4/SDA
8
A
AD5/SCL
9
5
1
0
1
U
G
10
Header
IOH
Microcontroller
•The GPS module plugs directly into the PCB board and is
controlled by the Atmega microcontroller.
David
Powering the PCB Board



9V battery plugs into the Power Jack
Voltage regulators convert the 9V battery input to
5V and 3.3V output
Green LED shows power is on
David
Pol1
Cap
16
Header
C10
C11
RS-232_pin1
RS-232_pin2
RS-232_pin4
RS-232_pin16
D
N
G
1
D
N
G
+3V3
1
1
A
RS-232_pin15
F
p
0
0
•The RS-232 boosts the signal to 10 V and outputs to the
transmitter via the serial port
5
1
6
1
4
2
3
3
D
R
A
D
R
A
2
4
D
R
1
A
1
5
D
R
D
N
D
1
Pol1
Cap
7
C
8
C
9
C
G
F
p
0
0
1
.1uF
Pol1
Cap
Pol1
Cap
N
RS-232_pin6
RS-232_pin3
F
p
0
0
1
F
p
0
0
1
G
D
N
G
RS-232_pin5
0
1
9
Connector
D
9
RS-232
8
5
9
8
7
9
RS-232_pin9
9
8
RS-232_pin8
0
1
7
6
4
RS-232_pin10
8
RS-232_pin11
1
1
0
1
1
6
6
RS-232_pin6
1
7
RS-232_pin7
5
2
1
5
4
ARD12
3
1
2
RS-232_pin14
4
1
1
7
RS-232_pin13
3
1
4
1
3
3
RS-232_pin3
0
3
1
4
4
RS-232_pin4
1
3
RS-232_pin12
2
1
5
RS-232_pin5
2
5
1
2
6
RS-232_pin15
5
1
2
RS-232_pin2
6
1
1
1
D
N
G
1
RS-232_pin16
6
1
1
RS-232_pin1
7
U
1
J
LCD
C
C
V
Interface
•The LCD screen will display the coordinates of the current bus
location
David
PCB Layout
David
Future Work on PCB Design




Thoroughly check the board layout before sending
the layout to Advanced circuits
Order all the components from Digikey
Solder and mount components
Testing for Milestone 1
David
USER station
•Display Bus
Location
•Time till bus
arrive to the
station
User station components







10 W solar panel
LED map
Arduino uno
74238 3- 8 decoder
LCD
WIFI-2.21 RN-131C
Rechargeable Battery
Emile
Solar Battery
Emile
User station
Emile
Schematic View
Emile
LED Screen
Emile
Labor Division


Bin Wang

On-bus system and WiFi

Wireless communication and telephone
application design.
David Zigman

On-bus PCB board design.

Erik Ware


Website design and working with
David on PCB board and software.
Emile Bahdi

User station development.
Milestone 1&2 Deliverables
Milestone 1
Milestone 2
•
•
•
•
•
PCB board is functional and receiving GPS data
Website can port test data into Google maps to display position
PCB board is connected to RF radio and can send data to receiver
Prototype of Wooden user station
User station can look up correct Wi-Fi data and 4x16 decoder is
properly connected
• Completion of prototype system tested in line of site
applications
• Route testing completed with RF radio and GPS coordinates for
user station LED’s assigned
• User station built
Picture Generated by Microsoft®
Office Project 2007
Schedule & Time Management
Schedule and Milestones
Finished
Undergoing
Jan.18 – Feb.2:
Get group organized purchase essential hardware, get
started and implement project detail plan.
Feb.2 – Feb.28:
Finish building a portable GPS device(Bin)
Build the prototype of user station(Emile,Bin)
Construct a website with CSS(Erik)
Feb.28 – Mar.20:
Communicate between terminal and server by WiFi-1(Bin)
Design and build on-bus PCB(Dave,Erik)
Design and build user-station(Emile,Bin)
Update website with real-time data(Erik)
Track main-campus bus without covering William Village and update website
Mar.20 – Apr.10:
Communicate between terminal and server by WiFi(Bin)
Finish building user-station update data by WiFi(Emile,Bin)
Embed website with Google Maps(Erik)
PCB Board is working properly(Erik, David)
Track whole bus route and update location to website and user-station.
Apr.11 – Apr.30:
Improve redesign and focus on user application and do commercial
advertisement(Erik,David,Emile,Bin).
Apri.30 – May2:
Summarizing documents and prepare for expo.
May3:
Win (Team:Winning)
Total:
Budget:
Remaining Fund:
631.2
$
1091.1$
Name
Quantity
Price($)
20 Channel EM-406A SiRF III Receiver with Antenna
1
59.95
GPS
GPS Shield
Shield
1
1
14.95
14.95
Arduino
Arduino Uno
Uno SMD
SMD
XTend® RF Modems 1 Watt/900 MHz stand-alone radio
XTend® RF Modems 1 Watt/900 MHz stand-alone radio
modems
modems
ADH8066 Evaluation Board
Basic
16x2Breakout
Character LCD - Black on Green
ADH8066
ADH8066 GSM module
3
3
1
1
29.95*3
29.95*3
300 (Free)
300 (Free)
1
1
56.03
13.95
$19.95
$49.95
Solar Panel
- 10W Server
Godaddy
Domain
1
1
59.95
26.14
WiFly Panel
GSX Breakout
Solar
- 10W
1
84.95
59.95
WiFly GSX Breakout
Nucasa
Nucasa O1/2X4-S
O1/2X4-S S4S
S4S .5-Inch
.5-Inch by
by 4
4 Flat
Flat Stock
Stock Lumber
Lumber Sample
Sample
1
2
2
84.95
33.75*2
33.75*2
Poster
Poster and
and Documentation
Documentation
100
100
PCB board
150
Interface, cables and tools
100
other
50
(Note: some components can be obtained from Capstone Laboratory
Question and Discussion
Your recommendation saves us money
Your advice saves us time
Presented by: Winning