Project

# Title Team Members TA Documents Sponsor
36 Bike Alert: Bike Lock with Real-Time Security Monitoring
David Youmaran
Diego Herrera
Kenny Kim
Aishee Mondal design_document1.pdf
final_paper1.pdf
grading_sheet1.pdf
photo1.jpeg
photo2.jpeg
presentation1.pdf
proposal1.pdf
video
# Bike Alert: Bike Lock with Real-Time Security Monitoring

## Team Members
- Diego Herrera (dherr4)
- Kenneth Kim (kk67)
- David Youmaran (dcy2)

# Problem
Bicycle theft remains a major issue, especially on campus. While traditional locks provide physical security, they fail to notify owners when tampering occurs, leaving bikes vulnerable. A security solution is needed—one that not only prevents unauthorized access but also alerts the owner in real time when theft attempts occur.

# Solution
The Bike Alert system is an advanced security attachment for standard bike locks, integrating multiple tamper-detection mechanisms with real-time notifications. The device will:
- Detect lock disengagement and unauthorized tampering using various sensors.
- Utilize an ESP32 microcontroller to process sensor data.
- Communicate alerts via Wi-Fi to a mobile app, notifying the user in real time.
- Feature a secondary locking mechanism (deadbolt) controlled by RFID for enhanced security.
- Be battery-powered and rechargeable to ensure long-lasting operation.

We acknowledge that previous attempts have been made to develop bike locking systems. However, most existing designs focus primarily on physical security without incorporating real-time alerts or secondary security measures. To our knowledge, no prior project has successfully implemented both mobile app notifications and an RFID-controlled deadbolt lock. Our design aims to bridge this gap by providing a comprehensive security solution that enhances both theft prevention and user awareness.

# Solution Components

## Data Collection Subsystem (Tampering & Lock Disengagement Detection)
This subsystem monitors the lock and detects unauthorized access. It consists of:

- Hall-Effect Sensors for Lock and Case Monitoring
- Lock Disengagement Detection: A Hall-effect sensor and magnet will detect when the lock is disengaged. If the magnet moves past a predefined threshold, an alert is triggered.
- Case Tamper Detection: Inspired by [TI's application](https://www.ti.com/lit/ab/sboa514a/sboa514a.pdf), we will use a Hall-effect sensor positioned inside a 3D-printed enclosure to detect when the outer case is tampered with. A magnet embedded in the case ensures that when closed, the sensor detects a high flux density. If the case is opened/moved far enough, the decreasing flux density will trigger an alert.

- Spring-Based Adjustable Vibration Sensor
- Detects physical tampering such as cutting or shaking the lock.
- The adjustability allows fine-tuning of sensitivity to differentiate between minor disturbances and actual theft attempts.

- ESP32 Microcontroller
- Collects data from all sensors and sends it to the Wi-Fi-connected mobile app.

## Communication & Mobile App Subsystem
This subsystem enables real-time notifications and user interaction.

- ESP32-to-App Communication
- The ESP32 will transmit sensor data via Wi-Fi, using the campus network for connectivity.
- If an alert is triggered (lock disengagement, tampering detected), the app will receive a real-time notification.

- Mobile App Features
- Display current lock status.
- Send push notifications for tampering or disengagement events.
- Event log to track past security incidents.
- Allow the user to enable/disable monitoring modes manually (e.g., "In Use" vs. "Not In Use" mode).

## Secondary Security Subsystem (RFID Deadbolt Lock)
To add an additional layer of security, the system will include an RFID-controlled deadbolt locking mechanism.

- Purpose: Even if the main lock is broken, the deadbolt will prevent full disengagement of the bike lock.
- How it Works:
- The deadbolt is controlled via RFID authentication for convenient unlocking.
- A small, high-torque motor will drive the deadbolt mechanism.
- Requires a motor driver circuit and relay to switch power efficiently.

## Power Supply Subsystem
The system must support continuous operation, including sensor monitoring, Wi-Fi communication, and motor operation.

- Power Source: Rechargeable Lithium-Ion Battery.
- Battery Capacity Considerations:
- Must sustain ESP32 operation and Wi-Fi connectivity.
- Should provide enough power for motor-driven deadbolt activation.
- Efficient power management circuit to maximize battery life.

# Criterion For Success
- Reliable Detection – Sensors must accurately distinguish between normal activity and actual tampering.
- Alerts – Wi-Fi-enabled notifications must reach the user in real time.
- Secure Secondary Lock – The RFID-controlled deadbolt should prevent theft even if the primary lock is compromised.
- Battery Life – The system must operate for at least 48 hours per charge under normal conditions.

# Conclusion
The Bike Alert system offers an approach to bicycle security by combining tamper detection, real-time notifications, and an RFID-based secondary lock. This project integrates multiple subsystems into a compact, user-friendly solution that enhances traditional bike locks without compromising convenience or being overly expensive.

Resonant Cavity Field Profiler

Salaj Ganesh, Max Goin, Furkan Yazici

Resonant Cavity Field Profiler

Featured Project

# Team Members:

- Max Goin (jgoin2)

- Furkan Yazici (fyazici2)

- Salaj Ganesh (salajg2)

# Problem

We are interested in completing the project proposal submitted by Starfire for designing a device to tune Resonant Cavity Particle Accelerators. We are working with Tom Houlahan, the engineer responsible for the project, and have met with him to discuss the project already.

Resonant Cavity Particle Accelerators require fine control and characterization of their electric field to function correctly. This can be accomplished by pulling a metal bead through the cavities displacing empty volume occupied by the field, resulting in measurable changes to its operation. This is typically done manually, which is very time-consuming (can take up to 2 days).

# Solution

We intend on massively speeding up this process by designing an apparatus to automate the process using a microcontroller and stepper motor driver. This device will move the bead through all 4 cavities of the accelerator while simultaneously making measurements to estimate the current field conditions in response to the bead. This will help technicians properly tune the cavities to obtain optimum performance.

# Solution Components

## MCU:

STM32Fxxx (depending on availability)

Supplies drive signals to a stepper motor to step the metal bead through the 4 quadrants of the RF cavity. Controls a front panel to indicate the current state of the system. Communicates to an external computer to allow the user to set operating conditions and to log position and field intensity data for further analysis.

An MCU with a decent onboard ADC and DAC would be preferred to keep design complexity minimum. Otherwise, high MIPS performance isn’t critical.

## Frequency-Lock Circuitry:

Maintains a drive frequency that is equal to the resonant frequency. A series of op-amps will filter and form a control loop from output signals from the RF front end before sampling by the ADCs. 2 Op-Amps will be required for this task with no specific performance requirements.

## AC/DC Conversion & Regulation:

Takes an AC voltage(120V, 60Hz) from the wall and supplies a stable DC voltage to power MCU and motor driver. Ripple output must meet minimum specifications as stated in the selected MCU datasheet.

## Stepper Drive:

IC to control a stepper motor. There are many options available, for example, a Trinamic TMC2100. Any stepper driver with a decent resolution will work just fine. The stepper motor will not experience large loading, so the part choice can be very flexible.

## ADC/DAC:

Samples feedback signals from the RF front end and outputs the digital signal to MCU. This component may also be built into the MCU.

## Front Panel Indicator:

Displays the system's current state, most likely a couple of LEDs indicating progress/completion of tuning.

## USB Interface:

Establishes communication between the MCU and computer. This component may also be built into the MCU.

## Software:

Logs the data gathered by the MCU for future use over the USB connection. The position of the metal ball and phase shift will be recorded for analysis.

## Test Bed:

We will have a small (~ 1 foot) proof of concept accelerator for the purposes of testing. It will be supplied by Starfire with the required hardware for testing. This can be left in the lab for us to use as needed. The final demonstration will be with a full-size accelerator.

# Criterion For Success:

- Demonstrate successful field characterization within the resonant cavities on a full-sized accelerator.

- Data will be logged on a PC for later use.

- Characterization completion will be faster than current methods.

- The device would not need any input from an operator until completion.

Project Videos