1 / 12

Wireless Car Breathalyzer Ignition Lock System

Wireless Car Breathalyzer Ignition Lock System. Matt Lorch & Joshua Fajardo-Frink. At A Glance. Two Device System. Breathalyzer Transmitter. Receiver & LCD Interface. Major Components. From HANWEI ELETRONICS CO.,LTD. Alcohol Gas Sensor MQ-3. Analog Biometric Sensor

jag
Download Presentation

Wireless Car Breathalyzer Ignition Lock System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Wireless Car Breathalyzer Ignition Lock System Matt Lorch & Joshua Fajardo-Frink

  2. At A Glance Two Device System

  3. Breathalyzer Transmitter

  4. Receiver & LCD Interface

  5. Major Components

  6. From HANWEI ELETRONICS CO.,LTD Alcohol Gas Sensor MQ-3 Analog Biometric Sensor * “Fast response” and High sensitivity * Stable and long life * Simple drive circuit

  7. Code Snippets” • void initADC(void) { ADCSRA |= (1 << ADPS2) | (1 << ADPS1) |(1 << ADPS0);// Set ADC prescalar to 128 - 125KHz // Set ADMUX Register// Makes AVCC the ADC reference val.ADMUX = 0b01000000;//Use ADC0 (No MUX adjustment required) ADCSRA |= (1 << ADATE); // Set ADC to Free-Running mode ADCSRA |= (1 << ADEN); // Enable ADC ADCSRA |= (1 << ADSC); // Begin A2D conversions} • For grabbing all 10 bits:Long bob = (ADCH << 8) | (ADCL); // store all 10 bits from ADC ADC Initialization

  8. Impaired BAC ADC Value 0.00 BAC Data Graphing Sample ADC Value Sample

  9. From HANWEI ELETRONICS CO.,LTD XBee® Radio An Elegant and Effective Wireless Solution * UART for Easy Data Transfer (256kps Transfer Rate) * Uses 2.4Ghz Frequency Band *Range of 100 ft. in doors. * Low Power Consumption * Runs on 2.4-3.4V

  10. Code Snippets” • Dash Unit Continuously Listens for Characters in RX • Standard UART with 8 Bit Data, No Parity, & 1 Stop bit • Baud Rate Set to 9600 • Characters Used as Commands: • ‘ ; ’ – Clear LCD & Allows Characters to Write to LCD • ‘ * ’ – Runs Ignition Unlocking for Short Time • ‘ / ’ – Stops Displaying Characters on LCD Receiving Data

  11. Time for a Demonstration! It’s just mouthwash.

  12. Rental Cars • Truck Drivers • Court Orders Marketability

More Related