Project

# Title Team Members TA Documents Sponsor
27 Capacitance Sensors for Mason Bee Activity Measurement
Jyotsna Joshi
Keerat Singh
Piyush Sud
Amr Ghoname design_document2.pdf
final_paper1.pdf
photo1.jpg
presentation1.pdf
proposal1.pdf
Team Members:
- Jyotsna Joshi (jyotsna3)
- Keerat Singh (keerats2)
- Piyush Sud (psud2)

# Problem

The well-known loss of pollinators around the world has been a concern for ecologists, agriculturalists, farmers, and everyday citizens for several years now. While the exact reason for the infamous Colony Collapse Disorder affecting honeybees is unknown, there is work being done on boosting their populations so that honeybees can be the thriving pollinators they were once. But what if we are focusing too squarely on the honey bees? What if there is a more effective way to pollinate crops and native plants with a bee population that is native to North America? That would be the mason bees, megachilidae osmia. Mason bees, solitary bees that don’t live in hives, don’t make honey, and usually don’t sting, are a species of bee that can pollinate an area almost 100 times more efficiently than the western honeybee. They are a good species for even amateur apiarists to keep near their homes to boost local native bee populations and participate in solving global ecological issues.

There are some key hurdles to keeping mason bees. Mason bees live in “tunnels”; in nature, this means they live in dark crevices found in trees, rocks, or in the ground, but kept bees live in tunnel homes. Please refer to Figures 1.1 and 1.2 to see examples of these tunnel nests.
## Types of Tunnel Nests
![Figure 1.1: Bamboo tunnels in containers](https://www.denverpost.com/wp-content/uploads/2016/04/20140430_072041_FE02GR-Mason-1.jpg?w=620)

Figure 1.1: Bamboo tunnels in containers

![Figure 1.2: Wood block with holes drilled in to make tunnels](https://images.saymedia-content.com/.image/c_limit%2Ccs_srgb%2Cq_auto:eco%2Cw_1198/MTc0MzA5MDc0NzIzMTUzNzg4/mason-bee-house-plans.webp)

Figure 1.2: Wood block with holes drilled in to make tunnels

Female bees will populate these tunnels with eggs for next year, and seal tunnels when they are done laying their eggs. Beekeepers must clean these tunnels, especially at the end of every season, and harvest the bee cocoons for the next year. However, it can be challenging to know when to clean a tunnel, especially if one is unable to tell if the tunnel is occupied by an alive adult bee. This difficulty arises from the fact that these tunnels are long and dark, and so bee activity deep inside the tunnels is hard to gauge.

# Solution
We propose a solution to the specific issue of not being able to tell whether a bee tunnel of a mason bee house is populated by a live, adult bee. We intend to do this by constructing a mason bee house with 6 to 8 tunnels with capacitance sensors along each tunnel to detect a) how full each tunnel is and b) whether bee activity is still sensed at the mouth of the tunnel.

We plan to use a change in capacitance to understand when bees are in their tunnels; by placing capacitance sensors along the tube at intervals [Figure 2 shows how tunnels are sectioned off as they are filled with eggs; we will approximately place our sensors along where these walls may be constructed], we hope to measure the change in dielectric constant between capacitor plates or rings as bees or other organisms pass by the sensors.

We plan to use the asynchronous voltage pulses generated by bees moving by different sensor points to infer information about the organism’s size and velocity.
When it is determined that a tunnel is no longer actively occupied by an adult bee, the beekeeper can remove the unoccupied tunnel and store it away indoors to keep the pupae inside the tunnels safe from fungal infections and parasites until it is time to harvest their cocoons.
For testing and demonstration, we will be using steel or epoxy resin balls to simulate bee entrance and exit behaviours.

![Figure 2: Eggs in their pollen ball walled off by the female mason bee who laid them](https://halifaxgardennetwork.files.wordpress.com/2015/12/img_04751.jpg?w=556&h=438&zoom=2)

Figure 2: Eggs in their pollen ball walled off by the female mason bee who laid them

# Solution Components

## Housing
- We plan to build a wooden structure and drill holes in the main body of wood to create tunnels. See Figure 1.2 for tunnel reference.
- The tunnels will have the capacitance sensors embedded in them along the length of the tube.
- Paper and/or cardboard sleeves will line the inside of the tunnel, so that they can be pulled out from the nest at the end of the season for cocoon harvesting. This will make the larger wooden structure easier to clean and reusable.
- The wooden structure will have an exterior compartment to hold the microcontroller, microSD card, power supply access and other required circuitry. This will give beekeepers easy access for maintenance and also protect against tampering by bees.

## Capacitance Sensors Setup:
- We will either have pairs of capacitor rings or we will have capacitor plates on either side of the tunnel; the final design will be selected after discussing with the machine shop to see which will be easier to integrate into the mason bee house. These capacitors will be used as points of measure along the bee’s path, and will be set up using an “AC bridge and phase sensitive detection”. This will lead “asynchronous voltage pulses” to be generated as the bee walks by these sensors, and so we can infer behaviour by observing magnitude and time delay between pulses.
- Capacitor sensors will be placed in every tunnel in the nest. Collected sensor data will go to a microcontroller for processing so we can identify which tunnels are occupied, how much of a tunnel is filled with eggs, and whether the organism moving inside the tunnel is a mason bee or a parasite.
- This set-up is based on research conducted at the University of Prince Edwards Island by Jennifer M Campbell et al, and has been described in the paper “Capacitance-based sensor for monitoring bees passing through a tunnel”. See sources section below for more information.

## Data Collection
- We will start off by writing data collected to a microSD card, so that the data can be easily retrieved from the nest and be viewed on a PC.

## Power
- To make installation easy for beekeepers, we want to use a wall outlet power supply that will supply 5V via a Micro USB connector [like on a Raspberry Pi].

# Criterion for Success
##Main Goals
- System differentiates between unoccupied tunnels [with or without eggs] and tunnels with active adult bees. Bees simulated with steel or resin balls rolled into the tunnels.
- System understands how full each tunnel is with eggs. Eggs will be simulated with the same material as bees.
- System detects activity at the mouth of the tunnel to be able to detect exit/entry behaviours.
- System accurately collects and time-stamps data; data is processed to some level to give insights to beekeepers on bee activity.

## Stretch Goals
- Additional sensors are added to the nesting block to frame bee activity in context of environmental data (temperature, humidity).
- Nest tunnels can be sealed off if left unsealed [i.e, in case that mother bee dies] to prevent spread of fungal infections and parasites.
- Data is displayed on an accompanying screen or mason bee house is paired to an app on beekeeper’s phone.
- Mason house design is expanded to include an “attic” where cocoons can be readied to hatch in the spring. Beekeepers can be notified of the ideal time to place cocoons in the attic if it is integrated with temperature and humidity sensors that measure those values inside and immediately outside the attic.

# Sources
Bee Built. (2017). How to Keep Solitary Bees. Youtube. Retrieved January 31, 2022, from https://www.youtube.com/watch?v=QGEpJ7F_ZuU.

Bee Built. (2017). Introduction to Solitary Bees. Retrieved January 31, 2022, from https://www.youtube.com/watch?v=vf8QyIF3eoY.

Campbell, J. M., Dahn, D. C., & Ryan, D. A. (2005). Capacitance-based sensor for monitoring bees passing through a tunnel.
Measurement Science and Technology, 16(12), 2503–2510. https://doi.org/10.1088/0957-0233/16/12/015

Mader, E., Shepard, M., Vaughan, M., & Guisse, J. (2018, May). Tunnel Nests for Native Bees. https://xerces.org. Retrieved January 25, 2022, from https://xerces.org/sites/default/files/2018-05/13-054_02_XercesSoc_Tunnel-Nests-for-Native-Bees_web.pdf

Paul Wheaton. (2014). Mason Bee Micro Documentary. Youtube. Retrieved January 31, 2022, from https://www.youtube.com/watch?v=V8vAQ1B5Zj4.

Modularized Electronic Locker

Jack Davis, Joshua Nolan, Jake Pu

Modularized Electronic Locker

Featured Project

Group Member: Jianhao (Jake) Pu [jpu3], Joshua Nolan [jtnolan2], John (Jack) Davis [johnhd4]

Problem:

Students living off campus without a packaging station are affected by stolen packages all the time. As a result of privacy concerns and inconsistent deployment, public cameras in Champaign and around the world cannot always be relied upon. Therefore, it can be very difficult for victims to gather evidence for a police report. Most of the time, the value of stolen items is small and they are usually compensated by the sellers (Amazon and Apple are very understanding). However, not all deliveries are insured and many people are suffering from stolen food deliveries during the COVID-19 crisis. We need a low-cost solution that can protect deliveries from all vendors.

Solution Overview:

Our solution is similar to Amazon Hub Apartment Locker and Luxer One. Like these services, our product will securely enclose the package until the owners claim the contents inside. The owner of the contents can claim it using a phone number or a unique user identification code generated and managed by a cloud service.

The first difference we want to make from these competitors is cost. According to an article, the cost of a single locker is from $6000 - $20000. We want to minimize such costs so that we can replace the traditional mailbox. We talked to a Chinese manufacturer and got a hardware quote of $3000. We can squeeze this cost if we just design our own control module on ESP32 microcontrollers.

The second difference we want to make is modularity. We will have a sensor module, a control module, a power module and any number of storage units for hardware. We want to make standardized storage units that can be stacked into any configuration, and these storage units can be connected to a control module through a communication bus. The control module houses the hardware to open or close all of the individual lockers. A household can purchase a single locker and a control module just for one family while apartment buildings can stack them into the lockers we see at Amazon Hub. I think the hardware connection will be a challenge but it will be very effective at lowering the cost once we can massively manufacture these unit lockers.

Solution Components:

Storage Unit

Basic units that provide a locker feature. Each storage unit will have a cheap microcontroller to work as a slave on the communication bus and control its electronic lock (12V 36W). It has four connectors on top, bottom, left, and right sides for stackable configuration.

Control Unit

Should have the same dimension as one of the storage units so that it could be stacked with them. Houses ESP32 microcontroller to run control logics on all storage units and uses the built-in WiFi to upload data to a cloud server. If sensor units are detected, it should activate more security features accordingly.

Power Unit

Power from the wall or from a backup battery power supply and the associated controls to deliver power to the system. Able to sustain high current in a short time (36W for each electronic lock). It should also have protection against overvoltage and overcurrent.

Sensor Modules

Sensors such as cameras, motion sensors, and gyroscopes will parlay any scandalous activities to the control unit and will be able to capture a photo to report to authorities. Sensors will also have modularity for increased security capabilities.

Cloud Support

Runs a database that keeps user identification information and the security images. Pushes notification to end-users.

Criterion for Success:

Deliverers (Fedex, Amazon, Uber Eats, etc.) are able to open the locker using a touchscreen and a use- provided code to place their package inside. Once the package is inside of the locker, a message will be sent to the locker owner that their delivery has arrived. Locker owners are able to open the locker using a touchscreen interface. Owners are also able to change the passcode at any time for security reasons. The locker must be difficult to break into and offer theft protection after multiple incorrect password attempts.

Project Videos