Speeding Detection System

Team Information

Saad Khan, Ibrahim Khan
ECE4180, Section B

Description

The Speeding Detection System is designed to track a driver's speed and notify them when they cross a certain speed or when they are driving unsafely. The system records when a violation occurs for later viewing by anyone interested. GPS is used to calculate the speed a driver is moving by using two longitude and latitude measurements. An accelerometer is used to detect sharp turns. When a driver crosses a certain speed or turns too sharply, a speaker plays a warning and a time stamp is recorded onto an SD card.

An image of the system is shown below:

/media/uploads/gotmilk/speeddetectionsystem.jpg

Parts

  • MBED
    MBED
  • BR-355 with RS-232 Breakout and PS/2 Breakout
    GPS
    Bottom cable used
  • MicroSD breakout board
    microSD reader
  • Speaker
    Sparkfun Speaker
  • LSM9DS1 IMU
    Accelerometer
  • TPA2005D1 Class D Audio Amp
    Audio Amp
  • uLCD-144-G2
    LCD
  • 5v External Power

Wiring

BR-355

PS/2 breakout pinMBED
Vcc5V (external)
GNDGND
RS-232 breakout pinMBED
Vcc5V (external)
GNDGND
TXp14

MicroSD breakout

MicroSD breakout pinMBED
CSp8 (DigitalOut)
DIp5 (SPI mosi)
VCCVOUT
SCKp7 (SPI sclk)
GNDGND
DOp6 (SPI miso)

Amp and Speaker

MBEDTPA2005D1Speaker
GNDPWR-, IN-
5V (external)PWR+
p26 (PWM)IN+
OUT++
OUT--

LSM9DS1

IMU breakout pinMBED
GNDGND
VDDVOUT
SDAp9 (SDA)
SCLp10 (SCL)

uLCD

uLCDMBED
+5V5V (external)
TXp27
RXp28
GNDGND
RESp30

Video

Code

Import programSpeedDetectionSystem

Code for mbed running GPS and IMU to calculate speed and notify if too high or acceleration too high. By Ibrahim Khan and Saad Khan


Please log in to post comments.