Onion Storage Monitoring Device

Presentation

Fusion 360 Design Process

Final Image

Fusion 360 Design Process

1. Problem

Onions suffer significant losses due to poor storage conditions, leading to a 25-30% market value loss. Farmers face challenges with weight loss, rotting, and sprouting, resulting in an economic loss of ₹11,000 crores annually.

2. Why I Chose This Problem

I have always been passionate about sustainability and finding ways to create useful solutions from waste. In my hometown, onion prices fluctuate drastically sometimes they are extremely high, and other times they drop significantly. During a visit to my grandmother’s town, I had a conversation with an onion farmer about why onions spoil so quickly. He explained that storage is the biggest issue if onions are exposed to high heat, they lose weight, and if they get too cold, they rot.

This conversation made me wonder whether a monitoring device existed for this problem. While temperature and humidity monitoring devices have been commercially available for over five decades, I found that there was no dedicated solution specifically for the Indian onion market. Realizing this gap, I decided to create a project that would have a meaningful impact and help farmers minimize their losses.

Sample Sample

4. Solution

The proposed solution, Onion Octopus, is an IoT-based monitoring device that regulates storage conditions to reduce spoilage. It features real-time monitoring, alerts, and predictive analytics.

5. Product Sketch

Sample

Timeline Chart

Fusion 360 Design Process

6. User Flow Diagram

Sample

1.Device Power On

The device is switched on using a battery or power adapter.

2.Connect to Internet

It connects to the internet to send and receive data.

3.Sense Temperature & Humidity

The sensor checks the temperature and humidity inside the onion storage.

4.Show Onion Condition

The device checks if the storage condition is good or bad and gives a signal.

5.Send Data to Cloud

The information is sent to an online database (Firebase).

6.Send Data to Mobile App

The app receives this data from the cloud.

7.Farmer App

Farmers can see the current condition of the storage on their mobile app

7. Block Diagram


The block diagram shows the working of a smart system that monitors and controls the temperature and humidity in onion storage. The system is powered by a rechargeable battery, which is charged through a charging module using a power adapter. The microcontroller (Xiao ESP32S3) acts as the brain of the system. It receives data from the DHT11 sensor, which continuously measures the temperature and humidity levels inside the storage. If the values go beyond the set limits (e.g., temperature above 30°C or humidity above 65%), the microcontroller activates the relay module. This relay controls a small fan that turns ON automatically to bring the conditions back to normal. Once the environment is stable, the fan turns OFF. The system is designed to work efficiently even in areas with limited power supply, making it suitable for rural farmers.


Sample

8. Technical requirements

Hardware Components:

  • Microcontroller (ESP8266): To control sensors and handle data transmission.
  • Temperature & Humidity Sensor (DHT22): To measure environmental conditions in onion storage.
  • Power Supply (5V Lithium Battery): To power the device.
  • LED Indicators : To provide visual alerts for temperature/humidity threshold breaches.

Software Components:

  • Realtime Database (Google Firebase): To store and process sensor data.
  • Mobile Application (Android): To display real-time data and send notifications to farmers.

9. Circuit Design

I designed the custom PCB for my project using KiCad. I created the schematic, placed components based on signal flow, and routed the tracks manually to optimize space and minimize interference.

What I Learned

  • How to create custom footprints and assign component values
  • Importance of proper ground plane and power trace widths
  • Debugging ERC and DRC errors
  • Exporting Gerber files for fabrication
  • Sample
    Sample

    I done this work in the previous week 8, 9, 10 of assignments.

    10. Soldering and Assembly

    After receiving the fabricated PCB, I carefully soldered the components like microcontroller (XIAO ESP32S3), DHT11 sensor, and power components using a soldering iron and flux.

    What I Learned

  • Correct soldering techniques for SMD and through-hole parts
  • Using multimeter for checking continuity and power lines
  • Importance of handling ESD-sensitive components safely
  • Sample

    I done this work in the previous week 10 of assignments.


    Sample

    I done this work in the previous week 9 of assignments.


    Sample

    I done this work in the previous week 8 of assignments.

    11. CAD Designing

    I used Solidworks to design the 3D enclosure for the electronics and mounting parts for the sensor and fan. The design was done with parametric constraints for easy editing.

    What I Learned

  • Sketch constraints and 3D modeling basics
  • Assembling parts virtually to check fits
  • Exporting files for 3D printing (STL format)
  • Sample
    Sample
    Sample

    12. 3D Fabrication

    I fabricated the 3D-printed enclosure using PLA on an FDM printer. I printed multiple iterations to improve fit and durability.

    What I Learned

  • Printer settings like infill, support, layer height
  • How to post-process printed parts
  • Sample
    Sample
    Sample

    13. System Integration

    I assembled all the components into the 3D-printed enclosure. Connected the sensor, microcontroller, relay, and power system. Performed testing to ensure system worked as expected.

    What I Learned

  • Importance of wire management and insulation
  • How to do trial and error to achieve a stable final working prototype
  • Sample

    14. Coding

    I wrote the embedded code using Arduino IDE. The code reads temperature and humidity from DHT11 and controls the fan using a relay based on set threshold values.

    What I Learned

  • How to use sensor libraries and control output pins
  • Serial debugging and conditional logic
  • How to optimize code for low-power usage
  • Using flags and functions for better structure
  • Sample


    Final Video

    Presentation Video

    Credits

    SL

    Subhash Labade

    For sharing the initial concept and inspiring the foundation of this project.

    DK

    Charath

    For motivating and guiding the project from its early stages.

    PK

    Vrushabh

    For identifying technical challenges and helping resolve the Integration hardwares.