Project

# Title Team Members TA Documents Sponsor
81 Fire and Gas Detection with Real-Time LED Navigation
Abel Garcia
Alex Parafinczuk
Jainam Shah
Surya Vasanth design_document1.pdf
final_paper1.pdf
grading_sheet1.pdf
presentation1.pptx
proposal1.pdf
Team Members:
- Alex Parafinczuk (atp6)
- Abel Garcia (abelg3)
- Jainam Shah (jshah74)

# Problem

Commercial Smoke detectors in the market currently give users the ability to call first-responders immediately and play an alarm sound when there is a hazard present in one's home. Some smoke detectors come with the ability to connect with your phone via messages or mobile apps alerting the homeowner to potential hazards in their home. The issue with these types of smoke detectors is that help isn't immediate. Responders take a little while to reach home, and during this time if there was a way to help mitigate the effect of the hazard there could be a potential save in property and lives.

# Solution

With the use of sensors such as gas and temperature sensors, we will know right away when a hazard is detected. If the hazard detected is a gas such as methane, butane, an alarm will sound indicating that the family should leave and get emergency responders. If the detected hazard is a fire, we will have an app that will have your floorplan of the house as well as locations of where each sensor you placed around the house. With this information, an algorithm will run which will designate an exit route that can be taken for the family to escape. When the fire breaks out at a location, we will have bright LEDs on the smoke detectors which will light up in the direction you should take to exit the house safely based on the route given. At this time, we will close the vents around the hazardous areas in order to help weaken/prevent the growth of the fire in the house. In addition to this, since closing a vent doesn’t guarantee the power being off for an HVAC unit, to prevent any damage to the HVAC unit we will shut the HVAC unit.

# Solution Components

## Temperature/Gas Sensors Subsystem
Outside of the main smoke detection unit, we will have temperature sensors which will be placed in designated rooms in order to give our control unit relevant information about where the hazard has originated from. They will also contain the LEDs to lead inhabitants to the designated exit and alarms to notify them of any hazard detected.

- Temperature Sensors (LM335AH)

- MQ-9 Gas Sensors for Carbon Monoxide and Flammable Gasses

- Alarm on Board

- LEDs

## Vents Subsystem

This will be a motorized controlled vent that will open and shut depending on whether a fire hazard is detected.

- Stepper Motor to control the movement of the vent.

## Control

The control system will be in control of receiving data from the sensors. When a temperature sensor spikes up indicating a fire, the control will run the algorithm first and then send the signal to a set of leds for the optimal route to take for safety. In the case of a fire, a signal will be sent to shut all of the vents.

- ESP-32

## App Subsystem

This will be where the user sets the floor plan of their house. They will be able to designate all the rooms in the house, connections between rooms, as well as all possible exits in the house. This interface will communicate with the control unit giving it the information on where the sensors are located around the house.

- React Native Frontend

- Firebase Backend

## Power Subsystem

We will use batteries as our power source which will be situated in our central control unit. The batteries, with converters, will then power everything including the sensor system, the control system, and the motorized vents. A sensor will also be connected to check the remaining charge of the batteries, which will be sent to the app for the user to see when they need to be changed.

- Batteries

- Buck converters

# Criterion For Success

The following goals are fundamental to the success of our project:

- Most optimal path to safety is chosen for conditions involving fire.

- Other gasses found such as Carbon Monoxide and other flammable gasses will sound an alarm to notify residents to leave and get emergency services.

- LED’s light according to the path chosen by the control unit.

- All vents will close upon detecting a high temperature signaling a fire that has broken out.

- App successfully communicates with the phone and system to upload the floorplan.

The goals below are reach goals we will try to achieve if time allows:

- Vents will have more functionality and be able to keep designated exits clear of smoke.

- App will automatically call emergency services in the presence of life-threatening gas hazards.

- In the case of all primary exits being blocked, we would want the user to designate secondary exits such as windows as a last resort method for the algorithm to give.

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