Project

# Title Team Members TA Documents Sponsor
1 Cheap and Versatile Breathalyzer Box
Cameron Palte
Kush Patel
Stanley Zhao
Shaoyu Meng design_document2.pdf
design_document4.pdf
final_paper1.pdf
presentation1.pdf
proposal1.pdf
Team Members (NetID)

Cameron Palte (cpalte2) | Kush Patel (kushjp2) | Stanley Zhao (syzhao3)

Problem

Many people want a way to avoid driving under the influence, something they would never consider doing when sober, but might do when drunk. Current ignition lock systems are car-dependent and very expensive (~$900 or some places offering them at $3/day). Like current breathalyzers this isn't meant to be a fool proof solution but it's meant to be a deterrent for someone trying to stay responsible.

Where It Differs From Existing Solutions

Low cost (in our proposed solution we're aiming for <$40 vs. $900)
Key dependent instead of car dependent (allows commercial groups such as bars or restaurants to have them to keep an eye on their customers and allows people sharing a car to not all have to use it).

Solution Overview

We propose making a RFID blocking box (to handle keyless ignition systems) that someone places their keys in. The box will remain unlocked until the person presses a lock button on the side of the box. However, the box can only be unlocked through the breathalyzer in combination with a passcode. There will be a number of subsystems: the locking mechanism, the breathalyzer mechanism, and the BAC display mechanism.

Breathalyzer Mechanism

The breathalyzer mechanism will be a component that can measure the BAC. It will be activated by the user and consist of an alcohol gas sensor. The user will blow in and it will use that sensor and circuitry associated to measure the BAC.

BAC Display Mechanism

The BAC display mechanism is the mechanism that takes the BAC from the breathalyzer and correctly displays it on a display.

Locking Mechanism

The locking mechanism will consist of the "lock" button on the side of the box, and the "unlock" mechanism connected to the pass code and the breathalyzer. The lock button will simply be a button to lock the box once keys have been placed inside. To prevent someone from taking someone else's keys by passing the breathalyzer mechanism a correct pass code (similar to a bike lock) will need to be entered, and the BAC measured through the breathalyzer will need to be below the legal limit.

Criteria For Success

The breathalyzer measures and correctly displays on the 9 segment display the correct BAC as compared to a commercial BAC sensor. When the BAC measured is above the legal threshold, the box remains locked, however, when it's below the box can be unlocked. The box unlocking is dependent on the correct pass code being entered.

BusPlan

Aashish Kapur, Connor Lake, Scott Liu

BusPlan

Featured Project

# People

Scott Liu - sliu125

Connor Lake - crlake2

Aashish Kapur - askapur2

# Problem

Buses are scheduled inefficiently. Traditionally buses are scheduled in 10-30 minute intervals with no regard the the actual load of people at any given stop at a given time. This results in some buses being packed, and others empty.

# Solution Overview

Introducing the _BusPlan_: A network of smart detectors that actively survey the amount of people waiting at a bus stop to determine the ideal amount of buses at any given time and location.

To technically achieve this, the device will use a wifi chip to listen for probe requests from nearby wifi-devices (we assume to be closely correlated with the number of people). It will use a radio chip to mesh network with other nearby devices at other bus stops. For power the device will use a solar cell and Li-Ion battery.

With the existing mesh network, we also are considering hosting wifi at each deployed location. This might include media, advertisements, localized wifi (restricted to bus stops), weather forecasts, and much more.

# Solution Components

## Wifi Chip

- esp8266 to wake periodically and listen for wifi probe requests.

## Radio chip

- NRF24L01 chip to connect to nearby devices and send/receive data.

## Microcontroller

- Microcontroller (Atmel atmega328) to control the RF chip and the wifi chip. It also manages the caching and sending of data. After further research we may not need this microcontroller. We will attempt to use just the ens86606 chip and if we cannot successfully use the SPI interface, we will use the atmega as a middleman.

## Power Subsystem

- Solar panel that will convert solar power to electrical power

- Power regulator chip in charge of taking the power from the solar panel and charging a small battery with it

- Small Li-Ion battery to act as a buffer for shady moments and rainy days

## Software and Server

- Backend api to receive and store data in mongodb or mysql database

- Data visualization frontend

- Machine learning predictions (using LSTM model)

# Criteria for Success

- Successfully collect an accurate measurement of number of people at bus stops

- Use data to determine optimized bus deployment schedules.

- Use data to provide useful visualizations.

# Ethics and Safety

It is important to take into consideration the privacy aspect of users when collecting unique device tokens. We will make sure to follow the existing ethics guidelines established by IEEE and ACM.

There are several potential issues that might arise under very specific conditions: High temperature and harsh environment factors may make the Li-Ion batteries explode. Rainy or moist environments may lead to short-circuiting of the device.

We plan to address all these issues upon our project proposal.

# Competitors

https://www.accuware.com/products/locate-wifi-devices/

Accuware currently has a device that helps locate wifi devices. However our devices will be tailored for bus stops and the data will be formatted in a the most productive ways from the perspective of bus companies.