Project

# Title Team Members TA Documents Sponsor
61 Keyless Smart Lock (Secured Illini)
Andrew Ruiz
Bowen Cui
Sebastian Sovailescu
Sanjana Pingali design_document1.pdf
final_paper1.pdf
final_paper2.pdf
grading_sheet1.pdf
photo1.png
photo2.png
presentation1.pdf
proposal1.pdf
# Title
Keyless Smart Lock (Secured Illini)

# Team members

Sebastian Sovailescu (ss159)

Andrew Ruiz (ruiz25)

Bowen Cui (tianyuc3)

# Problem

In the darkest hours of the night, when the moon barely shines, grimy Chambana thieves creep up on bikes and snatch whatever they can: wheels, seats, and many times entire bicycles! Last semester, my bike was stolen right from in front of my apartment. My case is not isolated: according to data , hundreds of bikes are stolen every year in the CU area. For this reason, we want to design a smart bike lock that 1) deters thieves and 2) offers keyless capabilities.
# Solution


The proposed smart bike lock would include all the features of a conventional U-Lock (bolt cutter resistance, waterproof, etc.), but it would also come equipped with a loud siren that is triggered by unwanted tampering and real-time alerts to a cloud-based dashboard. To provide keyless capabilities, the MCU would include a Bluetooth chip that allows the user to enable/disable the lock using an app, and reset alarms.

# Solution Components

# # Subsystem 1 : Anti-Theft Subsystem

The accelerometer is used to detect tampering by recording unusual spikes in acceleration. Once an anomaly is detected, the alert system is triggered, which would activate the siren for a set amount of time. This would only occur when the FSM is in the armed state vs when in the unarmed state all sensors would be deactivated thus not leading to false alarms.

Microcontroller - ESP32-S3-WROOM-1U will interpret the readings from the accelerometer/gyroscope and activate the sirens when the readings are out of range.

Accelerometer - MPU6050 it has both accelerometer and gyroscope which would not only detect for sharp movement but also slower movement.

Siren -
PK-35N29WQ 12V 10mA relatively high power draw but in practice should not be active almost at all during typical usage can output 90dB

# # Keyless Locking:

The purpose of this system is to allow for keyless entry using a bluetooth capable device (phone). It should also allow for logging of past access attempts.The MCU keeps track of an FSM of two states, armed versus unarmed. In the locked and armed state, the microcontroller will switch between the locked and unlocked states based on a message over bluetooth


Components:
Bluetooth device - mobile phone with app to control locking of the bike and access a log of past unlocks or tampers.
Microcontroller - ESP32-S3-WROOM-1U - esp32 microcontroller to interface with the phone to control the locking and unlocking of the bike, and to log unlocks and tampers in conjunction with the accelerometer.

# # Subsystem 3: Power supply system
Our system is going to need 5V and 3.3V rails, so in order to reach out goal we will plan to use a Tenergy Rechargeable Battery and step up and down the voltages needed using asynchronous buck and boost converters to save on not needing as many signal amplifiers.

Components:

Battery - Samsung 21700 cells


# Criterion For Success
To achieve success for this project we will have a fully working locking mechanism with an app to access the locking mechanism as well as an alert system and BLE on the lock. We also will require the lock to have a siren to play to deter thieves. We also want to fully fledged out the app attached to our lock to see battery stats and to receive the alerts if it is being tampered with. If these core goals are completed we will then implement the app to include biking statistics such as movement, path traveled, etc as well as a GPS functionality on the lock to recover if lost.

Habit-Forming Toothbrush Stand

John Kim, Quinn Palanca, Rahul Vasanth

Habit-Forming Toothbrush Stand

Featured Project

I spoke with a TA that approved this idea during office hours today, and they said I should submit it as a project proposal.

# Habit-Forming Toothbrush Stand

Team Members:

- Rahul Vasanth (rvasant2)

- Quinn Andrew Palanca (qpalanc2)

- John Jung-Yoon Kim (johnjk5)

# Problem

There are few habits as impactful as good dental hygiene. Brushing teeth in the morning and night can significantly improve health outcomes. Many struggle with forming and maintaining this habit. Parents might have a difficult time getting children to brush in the morning and before sleep while homeless shelter staff, rehab facility staff, and really, anyone looking to develop and track this habit may want a non-intrusive, privacy-preserving method to develop and maintain the practice of brushing their teeth in the morning. Keeping track of this information and but not storing it permanently through a mobile application is something that does not exist on the market. A small nudge is needed to keep kids, teenagers, and adults of all ages aware and mindful about their brushing habits. Additionally, many tend to zone out while brushing their teeth because they are half asleep and have no idea how long they are brushing.

# Solution

Our solution is catered toward electric toothbrushes. Unlike specific toothbrush brands that come with mobile applications, our solution applies to all electric toothbrushes, preserves privacy, and reduces screen time. We will implement a habit-forming toothbrush stand with a microcontroller, sensors, and a simple LED display that houses the electric toothbrush. A band of sensors will be wrapped around the base of the toothbrush. Lifting the toothbrush from the stand, turning it on, and starting to brush displays a timer that counts seconds up to ten minutes. This solves the problem of brushing too quickly or losing track of time and brushing for too long. Additionally, the display will provide a scorecard for brushing, with 14 values coming from (morning, night) x (6daysago, 5daysago, . . . , today) for a "record" of one week and 14 possible instances of brushing. This will augment the user's awareness of any new trends, and potentially help parents, their children, and other use cases outlined above. We specifically store just one week of data as the goal is habit formation and not permanent storage of potentially sensitive health information in the cloud.

# Solution Components

## Subsystem 1 - Sensor Band

The sensor band will contain a Bluetooth/Wireless Accelerometer and Gyroscope, or Accelerometer, IR sensor (to determine height lifted above sink), Bluetooth/Wireless connection to the microcontroller. This will allow us to determine if the electric toothbrush has been turned on. We will experiment with the overall angle, but knowing whether the toothbrush is parallel to the ground, or is lifted at a certain height above the sink will provide additional validation. These outputs need to be communicated wirelessly to the habit-forming toothbrush stand.

Possibilities: https://www.amazon.com/Accelerometer-Acceleration-Gyroscope-Electronic-Magnetometer/dp/B07GBRTB5K/ref=sr_1_12?keywords=wireless+accelerometer&qid=1643675559&sr=8-12 and individual sensors which we are exploring on Digikey and PCB Piezotronics as well.

## Subsystem 2 - Toothbrush Base/Stand and Display

The toothbrush stand will have a pressure sensor to determine when the toothbrush is lifted from the stand (alternatively, we may also add on an IR sensor), a microcontroller with Bluetooth capability, and a control unit to process sensor outputs as well as an LED display which will be set based on the current state. Additionally, the stand will need an internal clock to distinguish between morning and evening and mark states accordingly. The majority of sensors are powered by 3.3V - 5V. If we use a battery, we may include an additional button to power on the display (or just have it turn on when the pressure sensor / IR sensor output confirms the toothbrush has been lifted, or have the device plug into an outlet.

# Criterion For Success

1. When the user lifts the toothbrush from the stan and it begins to vibrate (signaling the toothbrush is on), the brushing timer begins and is displayed.

2. After at least two minutes have passed and the toothbrush is set back on the stand, the display correctly marks the current day and period (morning or evening).

3. Track record over current and previous days and the overall weekly record is accurately maintained. At the start of a new day, the record is shifted appropriately.

Project Videos