Project

# Title Team Members TA Documents Sponsor
19 Ready-to-Serve Trash Bin
Dongming Liu
Josh Litao
Owen Xu
Jason Zhang design_document1.pdf
final_paper1.pdf
photo1.png
photo2.png
photo3.jpg
presentation1.pdf
proposal1.pdf
proposal2.pdf
video
# Title
Ready-to-Serve Trash Bin

# Team Member

- Owen Xu (jinyuxu2)
- Dongming Liu (dl35)
- Josh Litao (jlitao2)

# Problem
One of the biggest challenges people will face after their surgery is immobility. During the hospitalized recovery period, many issues will arise including how they can throw their trash. Clearly it’s not possible to let the patients stack all the trash on the bed, so the easiest solution is to have a trash bin next to their bed. However, existing trash bins have various problems. Open-lid ones will spread bad odor across the room; and those with the lid are hard to use for patients, patients have to step on the foot pedal or use the other hand to trigger the sensor, both are hard for patients recovering on the bed. Moreover, having a trash bin next to each bed in hospitals may increase the labor force needed to clean these bins.


# Solution
We propose a smart trash bin that would distinguish a human's hand gesture of throwing trash. The bin will serve as a “taxi” in the hospitals. Once the cameras, which are installed in the hospitals, detect that someone did a hand gesture of throwing trash, the bin, with wheels attached to its bottom, will receive this signal, move towards that person and automatically open the lid. With this smart trash bin, instead of placing various bins in different places, everything needed is to wave hands and wait for a couple seconds, then our smart trash bin will come to serve. The bin would also be useful for people with immobility problems at home, like those who are in wheelchairs or recovering on bed at home after small surgery.


# Questions & Answers:
- Q1. If the bin detects a person is about to throw trash, will the time be enough for the bin to open the lid to hold trash thrown by the person?
- A1: Using this bin is like hailing a taxi. If people need to throw trash, they can just wave their hands. Once the camera detects this gesture, the trash bin will come to that person who waves the hand. The person will then throw the trash into the bin. During the process, there’s no need for people to hold their trash all the time. The bin will be closed when it is traveling, and open once it reaches the target position. The target position should be somewhere around that person, instead of the exact position of him/her. As otherwise the bin will just hit on that person


- Q2. Is it possible that people are not intended to throw trash but their movement is incorrectly recognized by the camera for saying that they want? And why don't just replace this part by phone app, or a button?
- A2. The hand gesture of hailing a taxi, aka calling the trash bin to serve, is relatively unique, which means people seldom do the same gesture in daily normal life. So, the camera should not mistakenly recognize someone who does not want to throw trash as he/she does. Meanwhile, using hand gestures is more convenient when considering some old people do not know how to use smart phones. Button will have the similar problem to the traditional trash bins. Patients have to reach to the button first before they can throw their trash, which sometimes could be difficult to do.

- Q3. When the bin is traveling, is it possible that the odor of trash can get spread across the room? Or is the bin sealed?
- A3. In our design, the moving trash bin is relatively small, the sum of three dimensions will be smaller than 45 inches. It will mainly be responsible for collecting residual waste, and some small amount of food waste. Since food waste is usually responsible for bad odor, having little of these in the trash bin will not be an issue, and spreading bad smell across the room by the bin is a case that would barely happen. Meanwhile, people with immobility usually need help from others, either family members or nurses or hospital orderly, to get their meal prepared, who can also take care of the food waste from each meal. Thus, we don’t have to worry much about the problem of producing large amounts of food waste.

- Q4. What if the bin is serving someone and at the same time someone else needs to throw trash?
- A4. A queue will be recorded for who requests to be served by the trash bin, and the bin will follow the first-raise_hand-first-serve rule.


# Solution Components:
## Container:
The purpose of it is to store trash. It needs to have a lid to contain the odor.
### Parts:
A Indoor trash bin [link1](https://www.amazon.com/Amazon-Basics-Compact-Bathroom-Plastic/dp/B09Z776HYJ/ref=sr_1_7_ffob_sspa?crid=GW1WVZRZ7N7D&keywords=plastic%2Btrash%2Bbin&qid=1706151356&sprefix=plastic%2Btrashbin%2Caps%2C103&sr=8-7-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9tdGY&th=1), [link2](https://www.amazon.com/Superio-Plastic-Bedroom-Bathroom-Kitchen/dp/B08YRZ98KY/ref=sr_1_9?crid=2CGATST9J1PZW&keywords=plastic%2Btrash%2Bbin%2Bwith%2Blid%2Band%2Bpedal&qid=1706151417&sprefix=plastic%2Btrash%2Bbin%2Bwith%2Blid%2Band%2Bpadel%2Caps%2C117&sr=8-9&th=1), or similar items.

## Trash Bin Movement:
The trash bin needs to reach the user based on the commands coming from the detection system.

### Parts:
- a pair of DC motors (model: TBD with mechanical shop to see which type of motor fits better).
- a pair of caster wheels. For supporting and balancing the trash bin. [Link](https://www.amazon.com/Furniture-Plastic-Casters-Kitchen-Stainless/dp/B09Q37G919/ref=sr_1_1_sspa?keywords=small%2Bcasters%2Bwheels&qid=1706152011&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&th=1)

The control circuit of the motors will be part of the PCB.

## Trash Bin Lid Control:
The trash bin needs to open when it is necessary (i.e. when the user needs to put the trash in the bin) and remain closed for the rest of the time. This can be done using a servo motor. In addition, the lid can only open outward.

### Parts:
- a servo motor (model: TBD with mechanical shop to see which type of motor fits better)
Note: probably this one [Link](https://www.amazon.com/Smraza-Digital-Steering-Waterproof-Control/dp/B0886H91DY?ref_=ast_sto_dp)

The control circuit of the servo motor will be part of the PCB.

### MCU:
ESP32-S3 has WiFi and Bluetooth integration, so it is better for receiving commands from the detection system. The MCU is also in charge of controlling the trash bin movement and the lid movement. It is a part of the PCB.

Potential MCU model: ESP32-S3-WROOM-1 [link](https://www.espressif.com/en/products/socs) (S3 series)

## Motion and Object Detection:
Motion and object detection will be implemented using computer vision and some open-source models. They will be deployed to a microcomputer (single-board computer). The camera captures the image or video stream for motion and object detection. When the person does a specific gesture, it commands the trash bin to move to the person. When the trash bin is closed enough, it commands the trash bin to open the lid. After collecting the trash, the trash bin will navigate back to its original position based on the commands.

### Parts:
- Raspberry-Pi-4 with 2GB or 4GB [Link](https://www.digikey.com/en/product-highlight/r/raspberry-pi/raspberry-pi-4-model-b)
- Raspberry-Pi camera module [Link](https://www.amazon.com/Smraza-Raspberry-Megapixels-Adjustable-Fish-Eye/dp/B07L2SY756)

Note: if the computation is not good enough, we will use Nvidia Jetson.

## Power:
Trash bin movement and trash bin lid control will be powered by a lithium battery, and motion and object detection is powered by a wall-plugged power supply, given that the subsystem for motion and object detection is stationary.

### Parts:
- Lithium battery: TBD
- Wall-plugged power supply: [Link](https://www.amazon.com/Raspberry-Supply-iUniker-Switch-Listed/dp/B097P2NLVH/ref=sr_1_3?adgrpid=1330409638929056&hvadid=83150817070992&hvbmt=be&hvdev=c&hvlocphy=95058&hvnetw=o&hvqmt=e&hvtargid=kwd-83150957904950%3Aloc-190&hydadcr=24365_13514965&keywords=raspberry+pi+4b+power+supply&qid=1706150750&sr=8-3)

# Criteria For Success:
1. Be able to recognize people’s hand wave gestures for throwing trash.
2. Travel to people who need to throw trash. The lid of the bin should remain closed until it reaches that person.
3. The target position should be close to the person but not the exact position.
4. Follow the first-wave-hand-first-serve rule.
5. Be able to receive control command from the motion and object detection system


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