Mirror Mate Group 9
Download
Report
Transcript Mirror Mate Group 9
Group 9
Jake Hochstadt EE
Matt Simons EE
Jerome Yearwood EE
Ryan Moreland CpE
Goals
Emergency Vehicle Alerts via an already existing
system
Safety in School Zones and Construction Zones
Navigation Directions
Driver and Pedestrian safety
MirrorMate in a Nutshell
Display and Microcontroller
Jerome Yearwood
LCD Display
ez-LCD-301
2.6” TFT LCD color display
400x240 resolution
4Mbytes flash memory
3.3V operating voltage
Programs in ASCII
Serial TTL interface
MirrorMate
Display Color
RED
Description
Emergency Vehicle is approaching
YELLOW
The vehicle is approaching a school zone that has
an altered speed limit.
ORANGE
The vehicle is approaching a construction zone that
has an altered speed limit.
BLUE
The vehicle is approaching a special event zone that
has an altered speed limit.
PURPLE
The vehicle is approaching an accident scene that
has an altered speed limit.
LCD TTL Serial Interface
Widgets
BUTTON {id} {X} {Y} {Width} {Height} {Options} {Align} {Radius} {Theme} {StringID}
STRING 0 ON
BUTTON 1 10 10 100 100 1 0 10 2 0
Microcontroller (PIC18F26K22)
Operating voltage
VDD =1.8 to 5.5V
Operating at 3.3V
Program memory flash 64KB
16 MHz precision internal oscillator
Operating at 64mHz using PLL
2 EUSART ports
Utilizing TTL RS232
GPIO (I2C interfacing)
Analog to digital converters
16 bit timer0
Infrared Systems
Matt Simons
What is Opticom?
Opticom is a traffic light
2 ft.
preemption system currently used
by emergency vehicles to quickly
maneuver intersections
Utilizes a powerful IR beacon
mounted on the emergency
vehicle
IR sensors are mounted on
4 in.
the traffic lights
14Hz frequency, newer
systems feature
authentication
Reduced speed zone beacon
Placed in construction zones, school
zones, accident scenes or anywhere
a driving hazard exists
User configurable via buttons and
seven segment displays
Features alerts for school zones,
construction zones, accident scenes,
and special events.
Beacon details
Utilizes peak wavelength of
950nm at 38kHz, High
power emitters
Encodes information into
RC-5 similar protocol
50 high power emitters
6VDC power
MirrorMate IR receiver
Two different frequency receivers to accommodate the Opticom
system (14Hz) and the reduced speed zone beacon (38kHz)
The 14Hz signal will be detected via phototransistors, schmitt
triggers, and firmware
The 38kHz carrier wave is removed from the IR signal via integrated
IR receivers. The data is interpreted by the MCU
Four directional receivers
located in the bottom of the
mirror determine direction
MirrorMate Subsystems
Jake Hochstadt
Bluetooth Hardware
Current Requirements:
8mA – 40mA
Voltage Requirements:
3 - 4.2 V
Operates at 3.3V
Benefits
Inexpensive
Serial Interface
Ease of use
HC-05 Bluetooth Serial Module
Compass
MAG 3110
• Magnetometer
Breakout Board
• Triple Axis
• Voltage Requirements:
•
1.95V to 3.6V
• Operates at 3.3V
• I2C interface
13.5mm
Temperature sensor MCP9701
• Voltage Requirements:
• 3.1V to 5.5V
• Operating at 3.3V
• Current Requirements:
• 6uA
• Temperature Range
• -40°C to +125°C
• Analog Interface
• Ease of Use
Sensor Transfer Function
Android Development Phones
Motorola Photon 4g
Motorola Defy
Android (2.3)
Android (2.2)
Bluetooth: v2.1
Bluetooth: v2.1
Screen Size: 4.3 inches
Screen Size: 3.7 inches
Android Application
Ryan Moreland
MirrorMate Application Flowchart
MirrorMate
Title
Bluetooth
Connectivity
Bluetooth
Connectivity
Bluetooth
Connection
Main
Application
Local Map
Directions
Request
Direction
Confirmation
Calculation
Exit
Directions
List
Android Development
Application written in Java for Android version 2.3.4
(Gingerbread)
Forward compatible with all newer Android versions
Android holds approximately 75% of the U.S. market
share
Android Development
Written utilizing the Google Distance Matrix API
Google Maps JavaScript API
Google Maps Android API
Android Bluetooth API
Power
MirrorMate will operate on any standard 12V automotive charging
system with provided adapter.
MirrorMate requires 3.3V for all components. This voltage will be
created by a simple power supply consisting of a commercially
available voltage regulator. (LM1085)
Construction zone beacon requires 5V, it will use multiple LM1084
regulators to power the microcontroller and the large current
requirements of the emitters.
Ensures constant voltage for emitters
Budget and Financing
$686.46 spent on the MirrorMate system
Assistance from family members
Funded purchase of LCD ($177.00)
$509.46 funded by group members
Budget
Item
Description
Price
Mirror Hardware
Assembly
Hardware and materials used only in
mirror assembly
$265.92
Beacon Hardware
Assembly
Hardware and materials used only in
beacon assembly
$166.87
Electrical Components
Components used throughout the
project and for testing
$121.73
PCB’s
Cost of MirrorMate and Beacon PCB
$104.39
Misc.
Misc. costs (RMA shipping, unused
parts)
$27.64
Android OS Device
Motorola Photon 4G, Motorola Defy
FREE
TOTAL:
$686.46
Testing
2 different types of LEDs were tested to determine optimal beam
width to maximize the area of effect of the signal
2 TSOP types were compared to determine which would produce
a better signal especially in a IR-noisy environment
Maximum range for the beacon signal to be detected by the
mirror in optimal conditions was 950 feet.
Compass headings were verified as correct every 10 degrees
Challenges and Lessons Learned
LCD is difficult to see in daylight
IR range is limited in intense daylight
Power supplies need improvement
Questions