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.

Phone Audio FM Transmitter

Madigan Carroll, Dan Piper, James Wozniak

Phone Audio FM Transmitter

Featured Project

# Phone Audio FM Transmitter

Team Members:

James Wozniak (jamesaw)

Madigan Carroll (mac18)

Dan Piper (depiper2)

# Problem

In cars with older stereo systems, there are no easy ways to play music from your phone as the car lacks Bluetooth or other audio connections. There exist small FM transmitters that circumvent this problem by broadcasting the phone audio on some given FM wavelength. The main issue with these is that they must be manually tuned to find an open wavelength, a process not easily or safely done while driving.

# Solution

Our solution is to build upon these preexisting devices, but add the functionality of automatically switching the transmitter’s frequency, creating a safer and more enjoyable experience. For this to work, several components are needed: a Bluetooth connection to send audio signals from the phone to the device, an FM receiver and processing unit to find the best wavelength to transmit on, and an FM transmitter to send the audio signals to be received by the car stereo.

# Solution Components

## Subsystem 1 - Bluetooth Interface

This system connects the user’s phone, or other bluetooth device to our project. It should be a standalone module that handles all the bluetooth functions, and outputs an audio signal that will be modulated and transmitted by the FM Transmitter. Note: this subsystem may be included in the microcontroller.

## Subsystem 2 - FM Transmitter

This module will transmit the audio signal output by our bluetooth module. It will modulate the signal to FM frequency chosen by the control system. Therefore, the transmitting frequency must be able to be tuned electronically.

## Subsystem 3 - FM Receiver

This module will receive an FM signal. It must be able to be adjusted electronically (not with a mechanical potentiometer) with a signal from the control system. It does not need to fully demodulate the signal, as we only need to measure the power in the signal. Note: if may choose to have a single transceiver, in which case the receiver subsystem and the transmitter subsystem will be combined into a single subsystem.

## Subsystem 4 - Control System

The control system will consist of a microcontroller and surrounding circuitry, capable of reading the power output of the FM receiver, and outputting a signal to adjust the receiving frequency, in order to scan the FM band. We will write and upload a program to determine the most suitable frequency. It will then output a signal to the FM transmitter to adjust the transmitting frequency to the band determined above. We are planning on using the ESP32-S3-WROOM-1 microcontroller given its built-in Bluetooth module and low power usage.

## Subsystem 5 - Power

Our device is designed to be used in a car, so It must be able to be powered by a standard automobile auxiliary power outlet which provides 12-13V DC and usually at least 100W. This should be more than sufficient. We plan to purchase a connector that can be plugged into this port, with leads that we can wire to our circuit.

# Criterion for Success

The device can pair with a phone via bluetooth and receive an audio signal from a phone.

The Device transmits an FM signal capable of being detected by a standard fm radio

The Device can receive FM signals and scan the FM bands.

The digital algorithm is able to compare the strength of different channels and determine the optimal channel.

The device is able to automatically switch the transmitting channel to the predetermined best channel when the user pushes a button.