Project

# Title Team Members TA Documents Sponsor
73 Climate Control Grow Box
Andrea Gardner
Gabrielle Wilki
Rhea Tiwari
Surya Vasanth design_document1.pdf
final_paper1.pdf
grading_sheet1.pdf
photo1.png
photo2.png
presentation1.pdf
proposal2.pdf
video
# Climate Control Grow Box

Team Members:
- Gabrielle Wilki, gwilk2
- Andrea Garner, agardn7
- Rhea Tiwari, rtiwari3

# Problem
Improper climate is often the cause of death for house plants. When plants hit winter the temperature gets too cold but other factors such as humidity, improper lighting, and water quantity also can play a factor into a plant’s death. Current options for climate control are limited to larger areas with climate units designed to control a whole room or are house wide ones that require the humans who own the plants to live in the same environment as their plants. However, both of these had the flaw of being unable to isolate a specific desired climate for limited square footage and are not suitable for the person trying to grow a few plants.
# Solution
We propose a climate control grow box that will have the capability to regulate the humidity, light, and airflow. This will allow for a small climate controlled area for plants in the home. By being able to control these variables in a smaller floor plan we should be able to help gardeners all over the world who find themselves in apartments or other low square footage housing. We plan to do this by collecting a variety of sensor inputs to a ATMega32U4 or similar board which will control the required components of each subsystem.
#Solution Components
## Humidity Control Subsystem
This subsystem will incorporate a AM2303 Digital humidity sensor that will monitor the active humidity level of the environment within the grow box. This should be able to communicate data to the exhaust fan and the humidifier to make sure the humidity is within the range it should be in. If needed we will add a dehumidifier to this system inorder to lower the humidity within the enclosure alongside the exaust fan.
## Light Control Subsystem
After a selection from the user we will set the grow lightsto the desired level of brightness. By using different sensitivity photodiodes we will check and approximate the light levels and turn on and off the interior lights to help the plants grow.
## Water Control Subsystem
The user will set a desired quantity of water to provide a plant, at certain times of day a small water pump will activate and send water from a reservoir into the main section of the enclosure. Water output will be measured to ensure that the plants are not over or under watered. There will be an option to not turn this feature on.
## Power subsystem
The grow box is meant to be a stationary product and thus we are intending to be able to use wall power to provide power to the grow box. We will use a transformer to step down from the grid power to a lower voltage. Then using that output we will use an AC to DC buck converter to power the majority of the system, except for the fan which may need an AC input. If this is the case we will set up a DC to AC conversion for the fan.
# Criterion For Success
For us to consider success the grow box must be able to have a certain amount of control of the interior environment. In specifics it should be able to control and keep a humidity level consistently higher or lower than the exterior environment by at least 10%, the ability to control light luminosity within the product at minimum a dim, normal, and bright settings, and a way to water the plants with a designated amount of water that is predetermined by the user by volume (EX: 1 cup or water, 2 cups of water, or a liter of water)
The grow box must maintain a standard of being both aesthetically pleasing and fit within the bounds of a piece of furniture or smaller as the box is intended for interior home use.

# Component Links
## Humidity system
https://www.amazon.com/ATIMOSOS-AM2302-Digital-Temperature-Humidity/dp/B073TW7V1T?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=AXI6THZLFAC34&gQT=1
https://www.amazon.com/Absorber-Ventilator-Ventilation-Extractor-Electronics/dp/B0CFDRYQC1/ref=asc_df_B0CFDRYQC1?mcid=2ec5371709a13dad9cc8c2102333736f&hvocijid=4951330560480715156-B0CFDRYQC1-&hvexpln=73&tag=hyprod-20&linkCode=df0&hvadid=721245378154&hvpos=&hvnetw=g&hvrand=4951330560480715156&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9022185&hvtargid=pla-2281435178058&psc=1
https://www.amazon.com/Four-Spray-Humidifier-Module-Atomization/dp/B0D83Y9858/ref=asc_df_B0D83Y9858?mcid=fe1a5c27b85a38e5bdb290f5b056f973&hvocijid=1275569093432181403-B0D83Y9858-&hvexpln=73&tag=hyprod-20&linkCode=df0&hvadid=721245378154&hvpos=&hvnetw=g&hvrand=1275569093432181403&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9022185&hvtargid=pla-2281435177138&psc=1
## Water system
https://www.amazon.com/PULACO-Submersible-Fountain-Aquarium-Hydroponics/dp/B07Y27SVPP/ref=sr_1_4_sspa?dib=eyJ2IjoiMSJ9.wFzhuUYLdzsMIHyRh7VRepFtbTWMe32hOfuv5qIdWWVApI9D9WOwEJl2VNUzeefX2jo96g42kQ5A66ob5aYsXETwbuvDWaQ-09R2Nu56Mcqin53-2vuYmWtQeoE2dNu1Uxbh3CgVYX9kk7-KGLX3__adx17ZJvreu8wxZX4uTha-Z6d04bA8hxiWqJ7mpBt5XISRfb7rdzXh98z_MS36KvrwZjdIzeFYs6nQxVk9A2fzud5SSUzyP2ByGBYKaSgsNF6ugiBAXEHXzLR_g3NOaEDD0cuD-AGoxXtsYqVbPnQ._7yWlm2FV1WQsNP-QrerlETaOn0psdLFGAeUB291rYM&dib_tag=se&keywords=water+pump+small&qid=1738707885&sr=8-4-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1
## Light system:
https://www.amazon.com/Plant-Light-Spectrum-Indoor-Flower/dp/B07VG1282Q/ref=asc_df_B07VG1282Q?mcid=4c6dab575399331cbea837f16a1490cb&hvocijid=9516987453758452840-B07VG1282Q-&hvexpln=73&tag=hyprod-20&linkCode=df0&hvadid=721245378154&hvpos=&hvnetw=g&hvrand=9516987453758452840&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9022185&hvtargid=pla-2281435177378&th=1

Microcontroller-based Occupancy Monitoring (MOM)

Vish Gopal Sekar, John Li, Franklin Moy

Microcontroller-based Occupancy Monitoring (MOM)

Featured Project

# Microcontroller-based Occupancy Monitoring (MOM)

Team Members:

- Franklin Moy (fmoy3)

- Vish Gopal Sekar (vg12)

- John Li (johnwl2)

# Problem

With the campus returning to normalcy from the pandemic, most, if not all, students have returned to campus for the school year. This means that more and more students will be going to the libraries to study, which in turn means that the limited space at the libraries will be filled up with the many students who are now back on campus. Even in the semesters during the pandemic, many students have entered libraries such as Grainger to find study space, only to leave 5 minutes later because all of the seats are taken. This is definitely a loss not only to someone's study time, but maybe also their motivation to study at that point in time.

# Solution

We plan on utilizing a fleet of microcontrollers that will scan for nearby Wi-Fi and Bluetooth network signals in different areas of a building. Since students nowadays will be using phones and/or laptops that emit Wi-Fi and Bluetooth signals, scanning for Wi-Fi and Bluetooth signals is a good way to estimate the fullness of a building. Our microcontrollers, which will be deployed in numerous dedicated areas of a building (called sectors), will be able to detect these connections. The microcontrollers will then conduct some light processing to compile the fullness data for its sector. We will then feed this data into an IoT core in the cloud which will process and interpret the data and send it to a web app that will display this information in a user-friendly format.

# Solution Components

## Microcontrollers with Radio Antenna Suite

Each microcontroller will scan for Wi-Fi and Bluetooth packets in its vicinity, then it will compile this data for a set timeframe and send its findings to the IoT Core in the Cloud subsystem. Each microcontroller will be programmed with custom software that will interface with its different radio antennas, compile the data of detected signals, and send this data to the IoT Core in the Cloud subsystem.

The microcontroller that would suit the job would be the ESP32. It can be programmed to run a suite of real-time operating systems, which are perfect for IoT applications such as this one. This enables straightforward software development and easy connectivity with our IoT Core in the Cloud. The ESP32 also comes equipped with a 2.4 GHz Wi-Fi transceiver, which will be used to connect to the IoT Core, and a Bluetooth Low Energy transceiver, which will be part of the radio antenna suite.

Most UIUC Wi-Fi access points are dual-band, meaning that they communicate using both the 2.4 GHz and 5 GHz frequencies. Because of this, we will need to connect a separate dual-band antenna to the ESP32. The simplest solution is to get a USB dual-band Wi-Fi transceiver, such as the TP-Link Nano AC600, and plug it into a USB Type-A breakout board that we will connect to each ESP32's GPIO pins. Our custom software will interface with the USB Wi-Fi transceiver to scan for Wi-Fi activity, while it will use the ESP32's own Bluetooth Low Energy transceiver to scan for Bluetooth activity.

## Battery Backup

It is possible that the power supply to a microcontroller could fail, either due to a faulty power supply or by human interference, such as pulling the plug. To mitigate the effects that this would have on the system, we plan on including a battery backup subsystem to each microcontroller. The battery backup subsystem will be able to not only power the microcontroller when it is unplugged, but it will also be able to charge the battery when it is plugged in.

Most ESP32 development boards, like the Adafruit HUZZAH32, have this subsystem built in. Should we decide to build this subsystem ourselves, we would use the following parts. Most, if not all, ESP32 microcontrollers use 3.3 volts as its operating voltage, so utilizing a 3.7 volt battery (in either an 18650 or LiPo form factor) with a voltage regulator would supply the necessary voltage for the microcontroller to operate. A battery charging circuit consisting of a charge management controller would also be needed to maintain battery safety and health.

## IoT Core in the Cloud

The IoT Core in the Cloud will handle the main processing of the data sent by the microcontrollers. Each microcontroller is connected to the IoT Core, which will likely be hosted on AWS, through the ESP32's included 2.4GHz Wi-Fi transceiver. We will also host on AWS the web app that interfaces with the IoT Core to display the fullness of the different sectors. This web app will initially be very simple and display only the estimated fullness. The web app will likely be built using a Python web framework such as Flask or Django.

# Criterion For Success

- Identify Wi-Fi and Bluetooth packets from a device and distinguish them from packets sent by different devices.

- Be able to estimate the occupancy of a sector within a reasonable margin of error (15%), as well as being able to compute its fullness relative to that sector's size.

- Display sector capacity information on the web app that is accurate within 5 minutes of a user accessing the page.

- Battery backup system keeps the microcontroller powered for at least 3 hours when the wall outlet is unplugged.

Project Videos