Project

# Title Team Members TA Documents Sponsor
20 A Better Yogurt-Maker
Betty Nguyen
Chidambara Anagani
Zitao Wu
Angquan Yu design_document1.pdf
other1.pdf
proposal1.pdf
# A Better Yogurt-Maker

Team Members:
- Betty Nguyen (bcnguye2)
- Chidambara Anagani (canaga2)
- Zitao Wu (zitaowu2)

# Problem

There are a few smart yogurt fermentation devices on the market but these devices usually only allow the user to set a timer and a temperature. There is no or very little real time sensing happening. However, time can be an unreliable indicator due to the high amount of variability in the starting culture (backslopping) leading to differing fermentation rates or even a dead batch of yogurt.

# Solution

Our solution would be to build a device that uses sensors to measure the temperature, pH, and viscosity of the yogurt and use these measurements to determine the taste and texture of the yogurt. The device would then send the information via wifi to an app on the user’s phone for easy monitoring

# Solution Components

## Subsystem 1: Sensors

The purpose of the sensor system is to gather real time information about the taste, texture, and viscosity of the yogurt. These measurements will then be used to measure the status and quality of the fermenting yogurt.

- The temperature of the yogurt will be monitored with a thermistor or other temperature sensor.
- The sourness of yogurt is determined by the amount of lactic acid in a sample. Thus we can use a pH probe such as the ENV-30-PH to determine if the taste is acceptable.
- The texture of the yogurt can be inferred from the viscosity. We can determine viscosity with a small rotating spindle that is submerged in the yogurt. The torque required to rotate the spindle can then be related to the yogurt's thickness.
- The rotating paddle would be powered by a dc motor such as the ROB-16413 which comes with an encoder. Using information from the encoder and the hall effect, we can determine the RPM and relate RPM to viscosity. Motor control will be programmed using the MCU.
- The temperature and pH sensor will be attached to the sides of the yogurt fermentation container. The rotating spindle to measure texture can be attached to the lid of the container.


## Subsystem 2: Control and Communication

The purpose of the control subsystem is to read the information from the sensor, support Wi-FI communication of sensor data to a mobile application, and also provide control for the motor of the texture sensor.

- Microcontroller (ESP32-S3-WROOM): Is used to get and process the data from sensors. This microcontroller also supports WiFi and bluetooth data transmission on the board and can be used to send yogurt fermentation to a mobile app.
- The ESP32 MCU has GPIO and ADC pins that can read digital and analog measurements from our sensors.
- Our MCU needs to be able to send a control signal to start and stop the texture sensor motor. This can be achieved using a timer on the MCU and having the MCU send an enable signal to run the texture sensor every 30 minutes.


## Subsystem 3: Power Subsystem

This subsystem will provide the power for all of the electronic components in the device. It must provide enough power for the electronics to last the entire 8 to 24 hours of fermentation
- A 12V Battery rechargeable battery will be used to provide power to each subsystem. The battery can be recharged with a USB port.
- Voltage regulator circuits will help provide steady and consistent power.


## Subsystem 4: Mobile App and User Interface

The purpose of this subsystem is to display the information received from the microcontroller in an easily digestible manner. An app either locally hosted on the ESP32 microcontroller or mobile (Android) will be built to use sensor data to build progress visuals and relay alerts to the user. A graph of the pH and temperature data can be displayed. For the texture measurement, the yogurt will be classified as: runny, good, thick.

# Criterion For Success

- Ease of Use/User Interface: We want our user interface to be easy to use and clear for our intended audience, homecooks. The mobile application must display information in a way that is easily digestible and also provide clear actionable feedback on the yogurt fermentation process.

- Sensor Monitoring: Our sensors must be able to determine the taste and texture of the yogurt and let the user know when to stop fermentation. pH should be within the range 4.0 to 4.4 for food. Temperature should be within the range 105 to 112 F. Texture will be classified as runny, good, too thick.

- Durability: The entire device should be able to go through a fermentation cycle (8 to 24 hours) without needing to be recharged. Since the sensors will be touching the yogurt/yogurt container, the probes need to be rated for operation at 105 to 112 F.
- Real Time Monitoring and Alerts: The designed app will show the progress of the fermentation while providing any necessary alerts to the user if any of the defined conditions are out of range.

Electronic Mouse (Cat Toy)

Jack Casey, Chuangy Zhang, Yingyu Zhang

Electronic Mouse (Cat Toy)

Featured Project

# Electronic Mouse (Cat Toy)

# Team Members:

- Yingyu Zhang (yzhan290)

- Chuangy Zhang (czhan30)

- Jack (John) Casey (jpcasey2)

# Problem Components:

Keeping up with the high energy drive of some cats can often be overwhelming for owners who often choose these pets because of their low maintenance compared to other animals. There is an increasing number of cats being used for service and emotional support animals, and with this, there is a need for an interactive cat toy with greater accessibility.

1. Get cats the enrichment they need

1. Get cats to chase the “mouse” around

1. Get cats fascinated by the “mouse”

1. Keep cats busy

1. Fulfill the need for cats’ hunting behaviors

1. Interactive fun between the cat and cat owner

1. Solve the shortcomings of electronic-remote-control-mouses that are out in the market

## Comparison with existing products

- Hexbug Mouse Robotic Cat Toy: Battery endurance is very low; For hard floors only

- GiGwi Interactive Cat Toy Mouse: Does not work on the carpet; Not sensitive to cat touch; Battery endurance is very low; Can't control remotely

# Solution

A remote-controlled cat toy is a solution that allows more cat owners to get interactive playtime with their pets. With our design, there will be no need to get low to the ground to adjust it often as it will go over most floor surfaces and in any direction with help from a strong motor and servos that won’t break from wall or cat impact. To prevent damage to household objects it will have IR sensors and accelerometers for use in self-driving modes. The toy will be run and powered by a Bluetooth microcontroller and a strong rechargeable battery to ensure playtime for hours.

## Subsystem 1 - Infrared(IR) Sensors & Accelerometer sensor

- IR sensors work with radar technology and they both emit and receive Infrared radiation. This kind of sensor has been used widely to detect nearby objects. We will use the IR sensors to detect if the mouse is surrounded by any obstacles.

- An accelerometer sensor measures the acceleration of any object in its rest frame. This kind of sensor has been used widely to capture the intensity of physical activities. We will use this sensor to detect if cats are playing with the mouse.

## Subsystem 2 - Microcontroller(ESP32)

- ESP32 is a dual-core microcontroller with integrated Wi-Fi and Bluetooth. This MCU has 520 KB of SRAM, 34 programmable GPIOs, 802.11 Wi-Fi, Bluetooth v4.2, and much more. This powerful microcontroller enables us to develop more powerful software and hardware and provides a lot of flexibility compared to ATMegaxxx.

Components(TBD):

- Product: [https://www.digikey.com/en/products/detail/espressif-systems/ESP32-WROOM-32/8544298](url)

- Datasheet: [http://esp32.net](url)

## Subsystem 3 - App

- We will develop an App that can remotely control the mouse.

1. Control the mouse to either move forward, backward, left, or right.

1. Turn on / off / flashing the LED eyes of the mouse

1. keep the cat owner informed about the battery level of the mouse

1. Change “modes”: (a). keep running randomly without stopping; (b). the cat activates the mouse; (c). runs in cycles(runs, stops, runs, stops…) intermittently (mouse hesitates to get cat’s curiosity up); (d). Turn OFF (completely)

## Subsystem 4 - Motors and Servo

- To enable maneuverability in all directions, we are planning to use 1 servo and 2 motors to drive the robotic mouse. The servo is used to control the direction of the mouse. Wheels will be directly mounted onto motors via hubs.

Components(TBD):

- Metal Gear Motors: [https://www.adafruit.com/product/3802](url)

- L9110H H-Bridge Motor Driver: [https://www.adafruit.com/product/4489](url)

## Subsystem 5 - Power Management

- We are planning to use a high capacity (5 Ah - 10 Ah), 3.7 volts lithium polymer battery to enable the long-last usage of the robotic mouse. Also, we are using the USB lithium polymer ion charging circuit to charge the battery.

Components(TBD):

- Lithium Polymer Ion Battery: [https://www.adafruit.com/product/5035](url)

- USB Lithium Polymer Ion Charger: [https://www.adafruit.com/product/259](url)

# Criterion for Success

1. Can go on tile, wood, AND carpet and alternate

1. Has a charge that lasts more than 10 min

1. Is maneuverable in all directions(not just forward and backward)

1. Can be controlled via remote (App)

1. Has a “cat-attractor”(feathers, string, ribbon, inner catnip, etc.) either attached to it or drags it behind (attractive appearance for cats)

1. Retains signal for at least 15 ft away

1. Eyes flash

1. Goes dormant when caught/touched by the cats (or when it bumps into something), reactivates (and changes direction) after a certain amount of time

1. all the “modes” worked as intended

Project Videos