Project

# Title Team Members TA Documents Sponsor
67 Toothbrush Alarm
Carl Xu
Eric Lin
Laurenz Nava
Zicheng Ma design_document2.pdf
final_paper1.pdf
photo1.png
photo2.png
photo3.png
photo4.png
presentation1.pdf
proposal2.pdf
video1.mp4
video
# Toothbrush Alarm

Team Members:
- Eric Lin (yulin4)
- Carl Xu (zx32)
- Laurenz Nava (lfnava2)

# Problem

Waking up early in the morning is a challenge that many people face, and conventional alarms often fail to provide an effective solution. Despite setting multiple alarms, people find themselves consistently oversleeping, waking up significantly later than intended. This issue can lead to a range of negative consequences, including disrupted daily schedules, reduced productivity, and increased stress. Traditional alarms tend to lack the ability to ensure that a person not only wakes up but also gets out of bed and starts their day. This is particularly problematic for those with a heavy sleeping pattern or a habit of snoozing alarms.

# Solution

To address this issue, our idea is to create a Toothbrush Alarm. The concept involves an alarm that persists until you get up and spend, for example, 3 minutes brushing your teeth. Once the toothbrushing routine is complete, the alarm automatically stops. This not only ensures a timely wake-up but also promotes a refreshed start to the day after engaging in the morning teeth-cleaning ritual.

# Solution Components

## Subsystem 1 – Toothbrush Dock

The dock will sense the proximity of the toothbrush, and how long the user’s been brushing their teeth. Once the user picks the toothbrush up and puts it down after more than 3 minutes, it will tell the alarm to turn off.

The dock will contain our PCB board to control the whole system.
Multiple pressure sensors are contained in a shape that perfectly matches the bottom of the toothbrush to detect if the toothbrush is docked.

The sensors will be at the bottom and side to ensure the object docked is the toothbrush, and the user is not fooling the dock with another object.

DF9-16 pressure sensor: https://a.co/d/5HXVw5w



## Subsystem 2 – Miniature Accelerometer

To ensure the user brushes their teeth after picking up the toothbrush, the accelerometer will be used to detect whether the user is making appropriate teeth brushing movements. While it is possible to simply wave the toothbrush without actually brushing your teeth, the main purpose of the device is to wake up the user, and sufficient physical movement will help, regardless of if it is used to brush teeth or not.

The accelerometer will determine the force applied on the brush and how often it switches directions, so it can tell when the user is brushing their teeth

ADXL326BCPZ-RL7: https://www.digikey.com/en/products/detail/analog-devices-inc/ADXL326BCPZ-RL7/2043340


## Subsystem 3 - Alarm

The alarm is connected to the toothbrush dock, and it will stop ringing once the user picks up the toothbrush. However, if the user does not put it back into the dock after 5 minutes, it will restart the ring.

The alarm will be a speaker integrated into the dock, or can be wired into the user’s room to more effectively wake them up.

COM-11089 ROHS speaker: https://www.sparkfun.com/products/11089


## Subsystem 4 – Body Motion Sensor

A possible addition to the project for added complexity. It would detect the appearance of a new individual in the bathroom to further ensure the system works intended.

The motion sensor will be installed around the dock, facing the user to detect if they have entered the bathroom and continued present in the bathroom, ensuring they are not fooling the system.

HC-SR312 AM312 pir motion detector senses passive body infrared to make sure the moving object is a human.

HC-SR312 AM312 pir motion detector: https://a.co/d/3Jodam9


# Criterion For Success

1. Alarm will turn off after the user brushed their teeth for 3 minutes.

2. Toothbrush can detect if it is inside a human’s mouth.

3. Dock can detect if the toothbrush is present in the dock.

4. Dock can track how long the toothbrush is not present.

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