SlideShare a Scribd company logo
1 of 62
Group 11
Cristovian Basden
Andrew Pagliari
Rebecca Rashkin
Javier Vazquez
Motivation
•Extremely dangerous to ride at night
•Surrounding motorists have trouble seeing bikers
•Motorists are already distracted with smart phones, etc
•In 2009, 630 bicyclists were killed and 51,000 injured in traffic*
•Lighting system allows for greater visibility
•Shows the riders intentions - turning and braking
*Statistics are taken from U.S. Department of Transportation 2009 Traffic Safety Facts released in 2010
Goals and Objectives
•Four part lighting system to increase visibility to other motorists
•Headlight, taillight, front and rear turn signals, frame lights
•Three tiered security system to protect bike from being stolen
•Lock-Tampering Detection, Theft Detection, Recovery Assistance
•All systems energized by human power – generator on wheel
•Mobile application interfaces lighting and security systems
Specifications
Component Parameter Design Specification
Battery Charge time 6 hours
Battery Discharge time 2 hours
Mobile wireless link Minimum range 3 meters
GPS receiver Accuracy 10 meters
Compass Accuracy One cardinal direction
Speed Accuracy 2 miles per hour
GPS (Android) Accuracy 30 feet
GPS (Android) Update time 5 seconds
Overall Block Diagram
Lighting
Taillight
•3 LED matrices of 64 red/green LEDS
•Can show both brake light and turn signals
•Lit when headlight is on
•Each LED requires 20 mA current
•1.8 – 2.4 V for red, 2.2 – 2.8 V for green
•Decoder used to control lights
•One column on at a time to conserve power
Turn signal Turn signal with brake
Handlebar View
•Conductive magnets on brake lever
•Normally closed - when lever is pulled, circuit is broken
•Rocker switches for turn signals and headlight
•Pre-made headlight wired to LiteBike’s power system
•Separate front turn signals
Front Turn Signal ControlRider’s View
Frame Lighting – EL Wire
•Cheap, easy to assemble, stylish
•Requires AC current, so inverter must be used
•Frequencies usually between 2000 Hz and 6000 Hz
•Higher frequencies = brighter, shorter life for EL wire
•Optocoupler to switch on and off
Optocoupler
Mobile Wireless Link
Wireless Technology Selection
• Wireless Link between Android and LiteBike systems
• Modern smart phones natively include Wi-Fi and Bluetooth
• Wi-Fi is harder to implement
• Bluetooth consumes less power, and is easier to implement
Parallax Easy Bluetooth Module
Purpose:
Interface Bluetooth enabled smart phone with
microcontroller.
Opcode Function Data
0x01 Turn Lights On Light Pattern
0x02 Turn Lights Off None
0x03 Lock Bike None
0x04 Unlock Bike None
0x05 Request GPS Data Data Type
0x06 Request Battery Charge None
0x07 Request Battery Voltage None
0x08 Arm Alarm System None
0x09 Disarm Alarm System None
Manufacturer Parallax
Part No. 30085
Price $69.99
I/O Lines 4 (TX, RX, VCC, GND)
Power Supply 5 V
(Custom Protocol)
1.4 in (34.41mm)
1.79in(45.65mm)
Bluetooth Serial Port Profile (SPP)
Security
Tier Feature Description Sub-Systems
1 Lock-Tampering Detection Detects if chain lock is compromised or
removed and triggers alarm.
Tripwire
2 Theft Detection Detects if bike moves more than 30 feet by
unauthorized user and triggers alarm.
GPS
3 Recovery Assistance Relays position coordinates to user to assist in
recovery bike.
GPS, GSM
Security System
RFID
Purpose:
User Authentication; allows user to enable and
disable the LiteBike’s alarm system.
Manufacturer Parallax
Part No. 28440
Price $49.99
I/O Lines 4 (TX, RX, VCC, GND)
Power Supply 5 V
3 in
RFID Tag
• Serial communication allowed
for easy interfacing with MCU
• Built-in Antenna
ALARM: DISARMED
DISARMED – Bike can be moved without triggering alarm
ARMED – Bike will trigger alarm if
1. Bike moved more than 30 feet
2. Tripwire is severed
ARMED
Tripwire (Lock Tampering Detection)
Purpose:
Detects attempts to sever bike chain lock. If the alarm is ARMED, severing the
tripwire triggers the alarm.
•A signal is continuously sent out on MCU pin into tripwire
•As long as tripwire is uninterrupted, loop continues
•If tripwire is severed, signal is interrupted, triggering alarm
GPS
Purpose:
1) Determine if LiteBike has left security radius
2) Provide user with LiteBike’s location
Manufacturer Parallax
Part No. 28146
Price Already Owned
I/O Lines 4 (TX, RX, VCC, GND)
Power Supply 5 V
1.17 in
20’ security radius
GSM - GE865 Development Board
Purpose:
Send user SMS alerts with GPS coordinates in the
event the LiteBike is stolen.
Manufacturer SparkFun
Part No. 28146
Price $149.99
I/O Lines 4 (TX, RX, VCC, GND)
Power Supply 5 V
2.4 in
•GSM uses national cell phone networks
•Sending SMS every few minutes to save money
•Development board cheaper than custom PCB
Microcontrollers
Parallax Propeller
Selection Criteria:
•Ease of interfacing with peripheral devices
•Large number of I/O lines
•Multi-Core
•Easy to mount on PCB (ideally DIP package)
Manufacturer Parallax
Part No. P8X32A
Price $7.99
I/O Lines 32 CMOS Lines
Cores 8
Clock Speed Up to 80 MHz
Main Memory 64 KB
Memory per Core 2 KB
DIP-40
Parallax
Parallax
Parallax
MCU A - Software
Main
(Core 1)
GPS
(Core 2)
RFID
(Core 3)
TRIPWIRE
(Core 4)
GSM
(Core 5)
Android
Bluetooth GSM
Hardware
Peripherals
Software
Component
Mobile
Device
GPS
RFID
WIRE
Main Memory
Position
Coordinates
Alarm
Status
Wire
Status
Bluetooth
(Core 6)
3:8
Decoder
4:16
Decoder
4:16
Decoder
3:8
Decoder
3:8
Decoder
Tri-state
Buffer
MCU B - Software
Hardware
Peripherals
Software
Component
Taillight
Segment 1
(Core 2)
Taillight
Segment 2
(Core 3)
Taillight
Segment 3
(Core 4)
Front Right
Turn Signal
(Core 5)
Front Left
Turn Signal
(Core 6)
Headlight
(Core 7)
Switches
(Core 1)
Power
Generator
•3-wire bicycle generator
•Outputs AC
•12 VAC terminal
•3.6 VAC terminal
•6 Watts
•Low friction against motion
Lithium-Ion Battery
•High energy density (Wh/kg)
•High energy/dollar (Wh/$)
•High charge efficiency (80-90%)
•Low self-discharge
•Durable
•12.6 V
•6800 mAh
•85 Wh
Battery Charging
•Stage 1: Voltage rises at
constant current
•Stage 2: Voltage peaks,
current decreases
•Stage 3: Charge terminates
•Stage 4: Occasional topping
charge
Battery Charging
System Battery
Power
Mobile Application
Android vs iPhone
•Programmable on any OS
•Java with Eclipse plug-in
•Concise and fluent layout
•Offline guide and API reference
•Open source: in depth
explanations
•Javadoc and commenting
•Easy debugging
>
Mobile Application Features
•Displays
•Compass
•GPS coordinates
•Speed
•Controls
•Lighting effects
•Security system
•Routes
•Allows user to create, edit and
view bike routes
Use Case Diagram
Class Diagram
Login, Lighting Effects GUIs
Route GUIs
Printed Circuit Board Design
PCB A - Schematic
PCB B - Schematic
PCB Layout – PCB A
Board were manufactured by Advanced Electronics (www.4pcb.com)
PCB Layout – PCB B
Board were manufactured by Advanced Electronics (www.4pcb.com)
Prototyping
Development Environment – Propeller (MCU)
SPIN– simple object-oriented programming language. Both simple and powerful.
Propeller Tool v1.2
Development Environment – PCB
• Flexible
• Large number of existing
parts libraries
EAGLE 5.11.0
Development Environment – Mobile App
Eclipse & Google Android Development Kit
Prototyping – Electronics Bay
Solderless Breadboard
Breadboard PCB Design
Printed Circuit Board
Taillight
LED Matrix Breadboard
Taillight SegmentFinished Taillight
Turn Signal / Headlight
Front Turn Signal Headlight
Headlight SwitchTurn Signal Switch
Prototyping – Battery Charger
Attempt 1 Attempt 3Attempt 2
Success!
Mobile Application
Early Development
•Main module
•Map Module
•Lighting Effects Module
Final Product
•Main module
•Map Module
•Lighting Effects Module
Testing
Turn Signal / Headlight
Brake Light Rear Turn Signal
HeadlightFront Turn Signal
Testing – Mobile Wireless Link
Bluetooth Link Range
Specification: wireless link should have a range
of at least 30 feet
Testing Procedure:
1. Initiate Mobile Application connection to LiteBike
2. Verify that commands are received (ARMING/DISARMING)
3. Move away 10 feet and repeat Step 2
4. Repeat Step 3 for increasing increments until commands no longer work
Testing – Security System
User Authentication System
Component Purpose: toggle security system
state between armed and disarmed.
Testing Procedure:
1. Power on PCB
2. Verify “SAFE” LED is on (indicating LiteBike is disarmed)
3. Present RFID Tag to reader
4. Verify that “SAFE” LED turns off, and “ARMED” LED turns on
5. Again, present RFID Tag to reader
6. Verify that “ARMED” LED turns off, and “SAFE” LED turns on
Testing – Security System
Tampering Detection System
Component Purpose: detect if the tripwire has
been severed or removed when the LiteBike is in
the “ARMED” state.
Testing Procedure:
1. Verify the LiteBike is in the “SAFE” state (visual inspection of LED)
2. ‘Trigger’ the tripwire by disconnecting it
3. Verify that the alarm is not triggered (visual inspection of LED)
4. ARM the LiteBike (using the RFID User Authentication System)
5. Verify the LiteBike is in the “ARMED” state (visual inspection of LED)
6. ‘Trigger’ the tripwire by disconnecting it
7. Verify that the alarm is triggered (visual inspection of LED)
Testing – Security System
Theft Detection System
Component Purpose: detect if the LiteBike has
been moved from its “LOCKED POSITON” while in
the “ARMED” state.
Testing Procedure:
1. ARM the LiteBike (using the RFID User Authentication System)
2. Verify that the Theft Detection System has obtained calibration (visual
inspection of the blinking ARMED LED)
3. Move the LiteBike 30 feet
4. Verify that the alarm is triggered (visual inspection of LED)
Testing – Security System
Recovery Assistance System
Component Purpose: send user SMS messages
with GPS coordinates of the LiteBike
Testing Procedure:
1. ARM the LiteBike (using the RFID User Authentication System)
2. ‘Trigger’ the alarm using both methods (Tripwire & Theft)
3. Verify that SMS message is received with GPS coordinates
Mobile Application Testing
Testing Outline
GPS
(speed, latitude,
longitude, compass)
Bluetooth
(lighting effects,
security system)
Route
(tracking, plotting,
saving, editing)
Overall System
Testing Time
Bluetooth
GPS
Routing
Overall System
Testing – Power System
•Verified voltages and current produced by current were accurate
•Battery charging
•Tested circuit in lab with DC power supply
•Tested circuit with generator power supply
•Extrapolated data to verify target charging time was attained
Administrative Content
Work Distribution
Name Power Security
Mobile
Application
Lighting
Cristovian X
Andrew X
Rebecca X
Javier X
Budget
Total: 1,163.21
Item Supplier Price/Unit # Units Total Cost Item Supplier Price/Unit # Units Total Cost
Power Generation Security System
Bottle Generator Amazon $16.95 1 $16.95RFID Serial Module Parallax $39.99 1 $39.99
Schottky Diodes DigiKey $0.51 6 $3.06RFID Tag Parallax $0.99 1 $0.99
LTC1921-Power Sensor DigiKey $5.00 1 $5.00GPS Receiver Parallax $59.99 1 $59.99
LM 317-Regulator DigiKey $1.06 6 $6.36Bluetooth Module Parallax $69.99 1 $69.99
LTC4007-Battery Charger DigiKey $7.63 1 $7.63GSM Module SparkFun $99.99 1 $99.99
MAX921-Comparator DigiKey $5.00 1 $5.00Propeller Microcontroller Parallax $7.99 2 $15.98
ADS7953-A/D Converter DigiKey $11.93 1 $11.93Propeller DIP Kit Parallax $24.99 1 $24.99
12 V Li-Ion Battery BatteryWorld $50.00 2 $100.00Other
Lighting System Bicycle Wal-Mart $150.00 1 $150.00
8 x 8 LED Matrix Futurelec $3.90 6 $23.40Rack Wal-Mart $30.00 1 $30.00
EL Wire Coolight $1.40 72 $100.80Wire Skycraft $0.09 20 $1.80
Zip ties SkyCraft $12.50 1 $12.50PCB Manufacturing 4PCB $50.00 3 $150.00
Inverter Coolight $18.52 1 $18.52Resistor Pack $5.00 1 $5.00
Tri-State Buffers DigiKey $0.52 10 $5.20Capacitor Pack $10.00 1 $10.00
Headlight Target $15.99 1 $15.99Acrylic Enclosure $30.00 1 $30.00
LEDs SparkFun $19.95 1 $19.95Shipping $100.00 1 $100.00
Rocker Switches SkyCraft $3.50 5 $17.50
Reed Switches DigiKey $0.44 5 $2.20
Magnets SkyCraft $0.50 5 $2.50Total $1,163.21
Questions?

More Related Content

What's hot

LoRaWAN and 3GPP technologies cover all Industrial IoT use cases
LoRaWAN and 3GPP technologies cover all Industrial IoT use casesLoRaWAN and 3GPP technologies cover all Industrial IoT use cases
LoRaWAN and 3GPP technologies cover all Industrial IoT use casesErika Gelinard
 
Designing LoRaWAN for dense IoT deployments webinar
Designing LoRaWAN for dense IoT deployments webinarDesigning LoRaWAN for dense IoT deployments webinar
Designing LoRaWAN for dense IoT deployments webinarActility
 
Link Labs LPWA Webinar
Link Labs LPWA WebinarLink Labs LPWA Webinar
Link Labs LPWA WebinarBrian Ray
 
Lecture 6 - Wireless Sensors LoRa vs LoRaWAN
Lecture 6 - Wireless Sensors LoRa vs LoRaWANLecture 6 - Wireless Sensors LoRa vs LoRaWAN
Lecture 6 - Wireless Sensors LoRa vs LoRaWANAlexandru Radovici
 
SophiaConf 2018 - N. Tribie (SEQUANS)
SophiaConf 2018 - N. Tribie (SEQUANS)SophiaConf 2018 - N. Tribie (SEQUANS)
SophiaConf 2018 - N. Tribie (SEQUANS)TelecomValley
 
BaiCells Introduction & Product Introduction-EN-vf-updated
BaiCells Introduction & Product Introduction-EN-vf-updatedBaiCells Introduction & Product Introduction-EN-vf-updated
BaiCells Introduction & Product Introduction-EN-vf-updatedJi Hun (Jay) Ko
 
Electronics Division Linked In
Electronics Division   Linked InElectronics Division   Linked In
Electronics Division Linked Injpguy
 
IoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrack
IoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrackIoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrack
IoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrackThierry Lestable
 
Wireless 5--bluetooth-beacon
Wireless 5--bluetooth-beaconWireless 5--bluetooth-beacon
Wireless 5--bluetooth-beaconMUK Extreme
 
Low-Power Wide Area - Overview
Low-Power Wide Area - OverviewLow-Power Wide Area - Overview
Low-Power Wide Area - OverviewM2M Alliance e.V.
 
Comarch BLE & LoRa devices
Comarch BLE & LoRa devices Comarch BLE & LoRa devices
Comarch BLE & LoRa devices Comarch
 
Track 3 session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
Track 3   session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iotTrack 3   session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
Track 3 session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iotST_World
 
LPWAN Cost Webinar
LPWAN Cost WebinarLPWAN Cost Webinar
LPWAN Cost WebinarBrian Ray
 
Asset Tracking and Location Technologies for Internet of Things
Asset Tracking and Location Technologies for Internet of ThingsAsset Tracking and Location Technologies for Internet of Things
Asset Tracking and Location Technologies for Internet of ThingsBrian Ray
 
Weekly Report 1-4
Weekly Report  1-4Weekly Report  1-4
Weekly Report 1-4mimi
 
Link labs 2 g 3g cdma transition webinar slides
Link labs 2 g 3g cdma transition webinar slidesLink labs 2 g 3g cdma transition webinar slides
Link labs 2 g 3g cdma transition webinar slidesBrian Ray
 
Cellular LPWA for the IoT
Cellular LPWA for the IoTCellular LPWA for the IoT
Cellular LPWA for the IoTNicolas Damour
 
World's Smallest LTEeNB called "eIfCell"
World's Smallest LTEeNB called "eIfCell" World's Smallest LTEeNB called "eIfCell"
World's Smallest LTEeNB called "eIfCell" Ji Hun (Jay) Ko
 
Real time sensing with bluetooth smart
Real time sensing with bluetooth smartReal time sensing with bluetooth smart
Real time sensing with bluetooth smartTue Haste Andersen
 

What's hot (20)

LoRaWAN and 3GPP technologies cover all Industrial IoT use cases
LoRaWAN and 3GPP technologies cover all Industrial IoT use casesLoRaWAN and 3GPP technologies cover all Industrial IoT use cases
LoRaWAN and 3GPP technologies cover all Industrial IoT use cases
 
Designing LoRaWAN for dense IoT deployments webinar
Designing LoRaWAN for dense IoT deployments webinarDesigning LoRaWAN for dense IoT deployments webinar
Designing LoRaWAN for dense IoT deployments webinar
 
Link Labs LPWA Webinar
Link Labs LPWA WebinarLink Labs LPWA Webinar
Link Labs LPWA Webinar
 
Lecture 6 - Wireless Sensors LoRa vs LoRaWAN
Lecture 6 - Wireless Sensors LoRa vs LoRaWANLecture 6 - Wireless Sensors LoRa vs LoRaWAN
Lecture 6 - Wireless Sensors LoRa vs LoRaWAN
 
Zig bee (8)
Zig bee (8)Zig bee (8)
Zig bee (8)
 
SophiaConf 2018 - N. Tribie (SEQUANS)
SophiaConf 2018 - N. Tribie (SEQUANS)SophiaConf 2018 - N. Tribie (SEQUANS)
SophiaConf 2018 - N. Tribie (SEQUANS)
 
BaiCells Introduction & Product Introduction-EN-vf-updated
BaiCells Introduction & Product Introduction-EN-vf-updatedBaiCells Introduction & Product Introduction-EN-vf-updated
BaiCells Introduction & Product Introduction-EN-vf-updated
 
Electronics Division Linked In
Electronics Division   Linked InElectronics Division   Linked In
Electronics Division Linked In
 
IoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrack
IoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrackIoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrack
IoT-LPWAN LoRa Geoloc - sagemcom - m2m-innovationworld_geotrack
 
Wireless 5--bluetooth-beacon
Wireless 5--bluetooth-beaconWireless 5--bluetooth-beacon
Wireless 5--bluetooth-beacon
 
Low-Power Wide Area - Overview
Low-Power Wide Area - OverviewLow-Power Wide Area - Overview
Low-Power Wide Area - Overview
 
Comarch BLE & LoRa devices
Comarch BLE & LoRa devices Comarch BLE & LoRa devices
Comarch BLE & LoRa devices
 
Track 3 session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
Track 3   session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iotTrack 3   session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
Track 3 session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
 
LPWAN Cost Webinar
LPWAN Cost WebinarLPWAN Cost Webinar
LPWAN Cost Webinar
 
Asset Tracking and Location Technologies for Internet of Things
Asset Tracking and Location Technologies for Internet of ThingsAsset Tracking and Location Technologies for Internet of Things
Asset Tracking and Location Technologies for Internet of Things
 
Weekly Report 1-4
Weekly Report  1-4Weekly Report  1-4
Weekly Report 1-4
 
Link labs 2 g 3g cdma transition webinar slides
Link labs 2 g 3g cdma transition webinar slidesLink labs 2 g 3g cdma transition webinar slides
Link labs 2 g 3g cdma transition webinar slides
 
Cellular LPWA for the IoT
Cellular LPWA for the IoTCellular LPWA for the IoT
Cellular LPWA for the IoT
 
World's Smallest LTEeNB called "eIfCell"
World's Smallest LTEeNB called "eIfCell" World's Smallest LTEeNB called "eIfCell"
World's Smallest LTEeNB called "eIfCell"
 
Real time sensing with bluetooth smart
Real time sensing with bluetooth smartReal time sensing with bluetooth smart
Real time sensing with bluetooth smart
 

Similar to Lite bikefinalpresentation

InternEncoderPresentation
InternEncoderPresentationInternEncoderPresentation
InternEncoderPresentationClayton Monahan
 
Smart guard lamp solar energy wifi cctv
Smart guard lamp solar energy wifi cctvSmart guard lamp solar energy wifi cctv
Smart guard lamp solar energy wifi cctvYoungTae (Henry) Huh
 
IOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFIDIOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFIDMaheshMoses
 
Real-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping ContainersReal-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping Containersbenaam
 
GPS Assisted Roadmapping and Vehicle Monitoring
GPS Assisted Roadmapping and Vehicle Monitoring GPS Assisted Roadmapping and Vehicle Monitoring
GPS Assisted Roadmapping and Vehicle Monitoring Niranjan Shintre
 
Embedded based car parking system
Embedded based car parking systemEmbedded based car parking system
Embedded based car parking systempunitkumar Kulli
 
Service Provider Wi-Fi
Service Provider Wi-FiService Provider Wi-Fi
Service Provider Wi-FiCisco Canada
 
IRJET- Solar Powered Smart Helmet with Multifeatures
IRJET-  	  Solar Powered Smart Helmet with MultifeaturesIRJET-  	  Solar Powered Smart Helmet with Multifeatures
IRJET- Solar Powered Smart Helmet with MultifeaturesIRJET Journal
 
Smart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptxSmart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptxSnowflake08
 
GDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoTGDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoTAlwin Arrasyid
 
Zigbee - Building Smart Homes
Zigbee - Building Smart HomesZigbee - Building Smart Homes
Zigbee - Building Smart HomesOmer Ali
 
Self-Driving Networks for Service Delivery
Self-Driving Networks for Service DeliverySelf-Driving Networks for Service Delivery
Self-Driving Networks for Service DeliveryAPNIC
 
Meier_ECET365_Manual_LI
Meier_ECET365_Manual_LIMeier_ECET365_Manual_LI
Meier_ECET365_Manual_LIjmeier72
 
IRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSNIRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSNIRJET Journal
 
IRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSNIRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSNIRJET Journal
 
ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529
ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529
ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529Stanley Tseng
 
Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...
Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...
Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...Michelle Holley
 

Similar to Lite bikefinalpresentation (20)

InternEncoderPresentation
InternEncoderPresentationInternEncoderPresentation
InternEncoderPresentation
 
Smart guard lamp solar energy wifi cctv
Smart guard lamp solar energy wifi cctvSmart guard lamp solar energy wifi cctv
Smart guard lamp solar energy wifi cctv
 
IOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFIDIOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFID
 
MAMU.pptx
MAMU.pptxMAMU.pptx
MAMU.pptx
 
Real-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping ContainersReal-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping Containers
 
GPS Assisted Roadmapping and Vehicle Monitoring
GPS Assisted Roadmapping and Vehicle Monitoring GPS Assisted Roadmapping and Vehicle Monitoring
GPS Assisted Roadmapping and Vehicle Monitoring
 
Embedded based car parking system
Embedded based car parking systemEmbedded based car parking system
Embedded based car parking system
 
Service Provider Wi-Fi
Service Provider Wi-FiService Provider Wi-Fi
Service Provider Wi-Fi
 
IRJET- Solar Powered Smart Helmet with Multifeatures
IRJET-  	  Solar Powered Smart Helmet with MultifeaturesIRJET-  	  Solar Powered Smart Helmet with Multifeatures
IRJET- Solar Powered Smart Helmet with Multifeatures
 
Smart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptxSmart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptx
 
GDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoTGDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoT
 
Zigbee - Building Smart Homes
Zigbee - Building Smart HomesZigbee - Building Smart Homes
Zigbee - Building Smart Homes
 
Self-Driving Networks for Service Delivery
Self-Driving Networks for Service DeliverySelf-Driving Networks for Service Delivery
Self-Driving Networks for Service Delivery
 
final ppt
final pptfinal ppt
final ppt
 
Meier_ECET365_Manual_LI
Meier_ECET365_Manual_LIMeier_ECET365_Manual_LI
Meier_ECET365_Manual_LI
 
IRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSNIRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSN
 
IRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSNIRJET- IoT based Fisherman Border Alert System using GPS and WSN
IRJET- IoT based Fisherman Border Alert System using GPS and WSN
 
ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529
ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529
ITRI ICL LTE SmallCell & Multi-RAT G/W 技術介紹 20140529
 
Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...
Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...
Software Defined Networking (SDN) / Network Function Virtualization (NFV) bas...
 
PolyMooc4G.pdf
PolyMooc4G.pdfPolyMooc4G.pdf
PolyMooc4G.pdf
 

Lite bikefinalpresentation

  • 1. Group 11 Cristovian Basden Andrew Pagliari Rebecca Rashkin Javier Vazquez
  • 2. Motivation •Extremely dangerous to ride at night •Surrounding motorists have trouble seeing bikers •Motorists are already distracted with smart phones, etc •In 2009, 630 bicyclists were killed and 51,000 injured in traffic* •Lighting system allows for greater visibility •Shows the riders intentions - turning and braking *Statistics are taken from U.S. Department of Transportation 2009 Traffic Safety Facts released in 2010
  • 3. Goals and Objectives •Four part lighting system to increase visibility to other motorists •Headlight, taillight, front and rear turn signals, frame lights •Three tiered security system to protect bike from being stolen •Lock-Tampering Detection, Theft Detection, Recovery Assistance •All systems energized by human power – generator on wheel •Mobile application interfaces lighting and security systems
  • 4. Specifications Component Parameter Design Specification Battery Charge time 6 hours Battery Discharge time 2 hours Mobile wireless link Minimum range 3 meters GPS receiver Accuracy 10 meters Compass Accuracy One cardinal direction Speed Accuracy 2 miles per hour GPS (Android) Accuracy 30 feet GPS (Android) Update time 5 seconds
  • 7. Taillight •3 LED matrices of 64 red/green LEDS •Can show both brake light and turn signals •Lit when headlight is on •Each LED requires 20 mA current •1.8 – 2.4 V for red, 2.2 – 2.8 V for green •Decoder used to control lights •One column on at a time to conserve power Turn signal Turn signal with brake
  • 8. Handlebar View •Conductive magnets on brake lever •Normally closed - when lever is pulled, circuit is broken •Rocker switches for turn signals and headlight •Pre-made headlight wired to LiteBike’s power system •Separate front turn signals Front Turn Signal ControlRider’s View
  • 9. Frame Lighting – EL Wire •Cheap, easy to assemble, stylish •Requires AC current, so inverter must be used •Frequencies usually between 2000 Hz and 6000 Hz •Higher frequencies = brighter, shorter life for EL wire •Optocoupler to switch on and off Optocoupler
  • 11. Wireless Technology Selection • Wireless Link between Android and LiteBike systems • Modern smart phones natively include Wi-Fi and Bluetooth • Wi-Fi is harder to implement • Bluetooth consumes less power, and is easier to implement
  • 12. Parallax Easy Bluetooth Module Purpose: Interface Bluetooth enabled smart phone with microcontroller. Opcode Function Data 0x01 Turn Lights On Light Pattern 0x02 Turn Lights Off None 0x03 Lock Bike None 0x04 Unlock Bike None 0x05 Request GPS Data Data Type 0x06 Request Battery Charge None 0x07 Request Battery Voltage None 0x08 Arm Alarm System None 0x09 Disarm Alarm System None Manufacturer Parallax Part No. 30085 Price $69.99 I/O Lines 4 (TX, RX, VCC, GND) Power Supply 5 V (Custom Protocol) 1.4 in (34.41mm) 1.79in(45.65mm) Bluetooth Serial Port Profile (SPP)
  • 14. Tier Feature Description Sub-Systems 1 Lock-Tampering Detection Detects if chain lock is compromised or removed and triggers alarm. Tripwire 2 Theft Detection Detects if bike moves more than 30 feet by unauthorized user and triggers alarm. GPS 3 Recovery Assistance Relays position coordinates to user to assist in recovery bike. GPS, GSM Security System
  • 15. RFID Purpose: User Authentication; allows user to enable and disable the LiteBike’s alarm system. Manufacturer Parallax Part No. 28440 Price $49.99 I/O Lines 4 (TX, RX, VCC, GND) Power Supply 5 V 3 in RFID Tag • Serial communication allowed for easy interfacing with MCU • Built-in Antenna ALARM: DISARMED DISARMED – Bike can be moved without triggering alarm ARMED – Bike will trigger alarm if 1. Bike moved more than 30 feet 2. Tripwire is severed ARMED
  • 16. Tripwire (Lock Tampering Detection) Purpose: Detects attempts to sever bike chain lock. If the alarm is ARMED, severing the tripwire triggers the alarm. •A signal is continuously sent out on MCU pin into tripwire •As long as tripwire is uninterrupted, loop continues •If tripwire is severed, signal is interrupted, triggering alarm
  • 17. GPS Purpose: 1) Determine if LiteBike has left security radius 2) Provide user with LiteBike’s location Manufacturer Parallax Part No. 28146 Price Already Owned I/O Lines 4 (TX, RX, VCC, GND) Power Supply 5 V 1.17 in 20’ security radius
  • 18. GSM - GE865 Development Board Purpose: Send user SMS alerts with GPS coordinates in the event the LiteBike is stolen. Manufacturer SparkFun Part No. 28146 Price $149.99 I/O Lines 4 (TX, RX, VCC, GND) Power Supply 5 V 2.4 in •GSM uses national cell phone networks •Sending SMS every few minutes to save money •Development board cheaper than custom PCB
  • 20. Parallax Propeller Selection Criteria: •Ease of interfacing with peripheral devices •Large number of I/O lines •Multi-Core •Easy to mount on PCB (ideally DIP package) Manufacturer Parallax Part No. P8X32A Price $7.99 I/O Lines 32 CMOS Lines Cores 8 Clock Speed Up to 80 MHz Main Memory 64 KB Memory per Core 2 KB DIP-40 Parallax Parallax Parallax
  • 21. MCU A - Software Main (Core 1) GPS (Core 2) RFID (Core 3) TRIPWIRE (Core 4) GSM (Core 5) Android Bluetooth GSM Hardware Peripherals Software Component Mobile Device GPS RFID WIRE Main Memory Position Coordinates Alarm Status Wire Status Bluetooth (Core 6)
  • 22. 3:8 Decoder 4:16 Decoder 4:16 Decoder 3:8 Decoder 3:8 Decoder Tri-state Buffer MCU B - Software Hardware Peripherals Software Component Taillight Segment 1 (Core 2) Taillight Segment 2 (Core 3) Taillight Segment 3 (Core 4) Front Right Turn Signal (Core 5) Front Left Turn Signal (Core 6) Headlight (Core 7) Switches (Core 1)
  • 23. Power
  • 24. Generator •3-wire bicycle generator •Outputs AC •12 VAC terminal •3.6 VAC terminal •6 Watts •Low friction against motion
  • 25. Lithium-Ion Battery •High energy density (Wh/kg) •High energy/dollar (Wh/$) •High charge efficiency (80-90%) •Low self-discharge •Durable •12.6 V •6800 mAh •85 Wh
  • 26. Battery Charging •Stage 1: Voltage rises at constant current •Stage 2: Voltage peaks, current decreases •Stage 3: Charge terminates •Stage 4: Occasional topping charge
  • 28. Power
  • 30. Android vs iPhone •Programmable on any OS •Java with Eclipse plug-in •Concise and fluent layout •Offline guide and API reference •Open source: in depth explanations •Javadoc and commenting •Easy debugging >
  • 31. Mobile Application Features •Displays •Compass •GPS coordinates •Speed •Controls •Lighting effects •Security system •Routes •Allows user to create, edit and view bike routes
  • 37. PCB A - Schematic
  • 38. PCB B - Schematic
  • 39. PCB Layout – PCB A Board were manufactured by Advanced Electronics (www.4pcb.com)
  • 40. PCB Layout – PCB B Board were manufactured by Advanced Electronics (www.4pcb.com)
  • 42. Development Environment – Propeller (MCU) SPIN– simple object-oriented programming language. Both simple and powerful. Propeller Tool v1.2
  • 43. Development Environment – PCB • Flexible • Large number of existing parts libraries EAGLE 5.11.0
  • 44. Development Environment – Mobile App Eclipse & Google Android Development Kit
  • 45. Prototyping – Electronics Bay Solderless Breadboard Breadboard PCB Design Printed Circuit Board
  • 46. Taillight LED Matrix Breadboard Taillight SegmentFinished Taillight
  • 47. Turn Signal / Headlight Front Turn Signal Headlight Headlight SwitchTurn Signal Switch
  • 48. Prototyping – Battery Charger Attempt 1 Attempt 3Attempt 2 Success!
  • 49. Mobile Application Early Development •Main module •Map Module •Lighting Effects Module Final Product •Main module •Map Module •Lighting Effects Module
  • 51. Turn Signal / Headlight Brake Light Rear Turn Signal HeadlightFront Turn Signal
  • 52. Testing – Mobile Wireless Link Bluetooth Link Range Specification: wireless link should have a range of at least 30 feet Testing Procedure: 1. Initiate Mobile Application connection to LiteBike 2. Verify that commands are received (ARMING/DISARMING) 3. Move away 10 feet and repeat Step 2 4. Repeat Step 3 for increasing increments until commands no longer work
  • 53. Testing – Security System User Authentication System Component Purpose: toggle security system state between armed and disarmed. Testing Procedure: 1. Power on PCB 2. Verify “SAFE” LED is on (indicating LiteBike is disarmed) 3. Present RFID Tag to reader 4. Verify that “SAFE” LED turns off, and “ARMED” LED turns on 5. Again, present RFID Tag to reader 6. Verify that “ARMED” LED turns off, and “SAFE” LED turns on
  • 54. Testing – Security System Tampering Detection System Component Purpose: detect if the tripwire has been severed or removed when the LiteBike is in the “ARMED” state. Testing Procedure: 1. Verify the LiteBike is in the “SAFE” state (visual inspection of LED) 2. ‘Trigger’ the tripwire by disconnecting it 3. Verify that the alarm is not triggered (visual inspection of LED) 4. ARM the LiteBike (using the RFID User Authentication System) 5. Verify the LiteBike is in the “ARMED” state (visual inspection of LED) 6. ‘Trigger’ the tripwire by disconnecting it 7. Verify that the alarm is triggered (visual inspection of LED)
  • 55. Testing – Security System Theft Detection System Component Purpose: detect if the LiteBike has been moved from its “LOCKED POSITON” while in the “ARMED” state. Testing Procedure: 1. ARM the LiteBike (using the RFID User Authentication System) 2. Verify that the Theft Detection System has obtained calibration (visual inspection of the blinking ARMED LED) 3. Move the LiteBike 30 feet 4. Verify that the alarm is triggered (visual inspection of LED)
  • 56. Testing – Security System Recovery Assistance System Component Purpose: send user SMS messages with GPS coordinates of the LiteBike Testing Procedure: 1. ARM the LiteBike (using the RFID User Authentication System) 2. ‘Trigger’ the alarm using both methods (Tripwire & Theft) 3. Verify that SMS message is received with GPS coordinates
  • 57. Mobile Application Testing Testing Outline GPS (speed, latitude, longitude, compass) Bluetooth (lighting effects, security system) Route (tracking, plotting, saving, editing) Overall System Testing Time Bluetooth GPS Routing Overall System
  • 58. Testing – Power System •Verified voltages and current produced by current were accurate •Battery charging •Tested circuit in lab with DC power supply •Tested circuit with generator power supply •Extrapolated data to verify target charging time was attained
  • 60. Work Distribution Name Power Security Mobile Application Lighting Cristovian X Andrew X Rebecca X Javier X
  • 61. Budget Total: 1,163.21 Item Supplier Price/Unit # Units Total Cost Item Supplier Price/Unit # Units Total Cost Power Generation Security System Bottle Generator Amazon $16.95 1 $16.95RFID Serial Module Parallax $39.99 1 $39.99 Schottky Diodes DigiKey $0.51 6 $3.06RFID Tag Parallax $0.99 1 $0.99 LTC1921-Power Sensor DigiKey $5.00 1 $5.00GPS Receiver Parallax $59.99 1 $59.99 LM 317-Regulator DigiKey $1.06 6 $6.36Bluetooth Module Parallax $69.99 1 $69.99 LTC4007-Battery Charger DigiKey $7.63 1 $7.63GSM Module SparkFun $99.99 1 $99.99 MAX921-Comparator DigiKey $5.00 1 $5.00Propeller Microcontroller Parallax $7.99 2 $15.98 ADS7953-A/D Converter DigiKey $11.93 1 $11.93Propeller DIP Kit Parallax $24.99 1 $24.99 12 V Li-Ion Battery BatteryWorld $50.00 2 $100.00Other Lighting System Bicycle Wal-Mart $150.00 1 $150.00 8 x 8 LED Matrix Futurelec $3.90 6 $23.40Rack Wal-Mart $30.00 1 $30.00 EL Wire Coolight $1.40 72 $100.80Wire Skycraft $0.09 20 $1.80 Zip ties SkyCraft $12.50 1 $12.50PCB Manufacturing 4PCB $50.00 3 $150.00 Inverter Coolight $18.52 1 $18.52Resistor Pack $5.00 1 $5.00 Tri-State Buffers DigiKey $0.52 10 $5.20Capacitor Pack $10.00 1 $10.00 Headlight Target $15.99 1 $15.99Acrylic Enclosure $30.00 1 $30.00 LEDs SparkFun $19.95 1 $19.95Shipping $100.00 1 $100.00 Rocker Switches SkyCraft $3.50 5 $17.50 Reed Switches DigiKey $0.44 5 $2.20 Magnets SkyCraft $0.50 5 $2.50Total $1,163.21