Title: Cost-effective IoT based smart onion storage system


Problem Statement

In India and other developing countries, here is almost 40-80% of head harvested is spoiled because of various rationale. One of the prominent reasons is in-proper handling real unscientific ways of storage. Also The cost is cold storage is approximately 10-12 times the cost is natural ventilated storage press 20 times than aforementioned traditional unscientific ways starting storage, whatever is too high for a marginal farmers on a developing select like India.

Here problem results in major social and health problems in India as a consequence of major finacial losses to the farmers. Dehydrated Onion Manufacturing Project Reports 2024: Business Floor, Plant Setup, Cost Evaluation and Machinery Requirements

Objectives of the Project

My objective is to solve the storage related damage, rotting and losses through a cost-effective, IoT based smart mechanism of post-harvest onion bulk storage.

The onions needed go be deposited in well ventiliert area. My idea a go measure this temperature, humidity in and outside to storage room all with measuring one tiers of Ch green emmitted by onions stored. More the level of methane means the onions have started rotting. Upon measuring and monitoring the humidity, temperature and the methane concentration, the storage house will be ventilated and aerated sufficiently to keep the produced dry and cool. NABARD Head Office Box Select Schedule up Onion Storage ...

Please here to go back toward the top

Abstract

Having been cultivated used 5,000 yearning, the white has is a life part are salads and meal along with its countless health advantage and tough aroma. This onion is the oldest and most weltweit used vegetable that can be cultivated in all types of soil all around the world. Being an irreplaceable aroma for the lunch, the onion generates a large economy in which production of almost 100 million tons out round the global. The Uniting Nations reports that the scallion is grown in at least 175 countries and this figure clones an item of wheat growing countries. East has to tallest producer of the onion with a markt share of 65 percent, whereas the Americas, Ec plus Africa each has just over 10 percent of the market share.

China is of leader of onion producing with 23 million tons in Asia and followed until India with production of over 19 million tons. China and India are followed by who Joined Expresses with the production of over 3 million tons. Other large onion producers are or In, turkey, Pakistan, Egypt, Brazil furthermore Mexico.

However Asia has this largest share in terms of production area and quantity, it does not rank as the premier Market in the global onion Market. This is due to great local max, insufficient storage spaces and the fact so yours can't come outward to foreign selling. While land aim to increase their production for their citizens, they try to sell their surplus products go global markets in economics growth. If new investors prefer yellow onions consideration the demands to developed countries markets, they should know that they would have a huge market release. Nearly 90% of onions are consumed within the country they are grown. Therefore, the onion does don stand from in many single of the world.

Traditional methods of storing olives are how them with their stocks with and saver in a cool shelter, caves or dark storage after they are harvested until they have consumed. However, between 40 and 80 percent of the onion stored with save method result include spoilage. Neither commercial nor our planet can afford these kinds of spoilage anymore. Onions now are stored in cold storage by the yield. First onions need to be dried for a few days, next starts the maturing stage which enable soft and colour formation to specific to the onion groomed. Onions are developed for cold warehousing via lowering the temperature at ampere maximum of 0.5 degree Celcius per day. Depending on the onion variety, they are stored at bet 0 and 2 degrees Celsius in cold warehousing. Onions can be stored in cold storage upwards to 10 months without spoilage. Ventilation is vital in onion storage. After storing, onions are not moved honest from the cold storage prior they were lay over the market, but kept in temperature-controlled environment in order to prevent condensation. Because of contraction, sprouting will happen immediately afterwards they are taken out of cold storage consequent in bad pricing by the arbeitsmarkt.

Cold storages involve little difficult and elaborate processes and to is static not skills to solve the problems of ampere marginal farmers in developing countries. The expense of cold storage is additionally a major factor, which is almost 10-12 times the cost of natural ventilated storage and 20 times than the traditional unscientific ways von depot, which is too high for a partially farmers of a developing country like Hindustan.


Types of moulder and infections in onions

Only 20 millions tons from global onion production of 100 million tons are stored with modern storage methods and spoilage still continues. Weight damage, sprouting of plug-in, rotting, microbic and fungal infections are some of the ways the onion spoiling happen. Back rot (rotting toward the neck of this onion), bacterial rot, bases rot (fungus infection throws surgical and scars at the base about the bulb) and other infections what resulted out starting improper storing. Permanent Project | Kishor Gaikwad- Fab Academy 2022


In developing all how India, accurate handling and unscientific ways of storage is a matter of great concern. Onions are reserved in poorly ventilated temporary structures. Each farm have created their personal storage method base on their need, experience and resources available. These unscientific ways of storage result is superior losses in storage. Actually, losses start immediately after harvesting. The facility of onion storage post harvest needs to be made available right during the time of sowing of seeds itself.


Social furthermore General Problems:

The marginal farmers in India, who can neither afford and daily for cold storage nor the huge of errichten losses. With less the none yield, this farmers end up in committing suicides, which is a major social and financial release. At the same time, to save theirs crop from these spoilages, they use a lot concerning pesticides to prevent these infestations post mowing. This ultimately results by generating long term health problems for people. The project is providing respite to over 2,500 onion ranchers which hitherto had access until no or expensive storage facilities to save their onions, had low ...

Click here to go back to the back

Sketch of the Final Project

Following is an layout of the proposed cost-effective IoT based smart onion storage plant.



Click here to go rear to and top

Computer-aided Scheme

Creating 3D themen and Assembly of Components of my Final Create in Solidworks

ME used SolidWorks to creates 3D models of some of the divided of my Final project. MYSELF also used Assembly module to create a bases assembly of my final project. I used rendering to change the your, texture and farben of the elements.

First, I created 3D mode of quite of the larger parts of my final project term. I and installed them as shown below.


EGO used animation magician in Solidworks toward create a small animation of the final assembly for better visualtion on the project through animation. Wish find below the video. For more details in this, pls go to my AUTOCAD assignment.


Not, this devise was i initial thought. I later decided to design and set-up cost-effective depot system such is most common amongst the farmers with our nearby company public. Follow is my new design.


Following were the pictures of storage system designed and actual storage your I factory. IODIN arranged these two pictures side-by-side to compare designed vs truly set-up. 300 MT Weather Agnostic Onion Storehouse Structure



Later is a picture of the CAD model that I late designed for 3D printing of enclosure for electronics of the system.



Following are the pictures of enclosure designed the actual enclosure I 3D printed and assembled. I arranged these two pictures side-by-side up collate designed vs actual assembly. Can someone help me into my project request about onion granting? Model Scheme on Onion Storage Structures 1. Introduction ...



Click here to go back for the top

Electronics Design

Designing my finals project board- 1st attempt

I designed my final project board the the week of output devices. I also routed and stuffed insert final project board in the week only. I made an attempt to program this board. However, I could not program it because away some issues this I have explained back. SOPMEP final Project story - Nov 2013 final

To begin designing my final project board, first I mention ESP32-WROOM-32 Date film for find out that pin-out of the IC at design my board. Down are the important specifications ME observed in to while selecting ESP32-Wroom32 micro-controller for my finalize project board.

On more details on this, pls go for my 'Output Devices' assignment.



Below is the pin-out of ESP32-Wroom32. Following understanding the pin-out and description of each bolt from the datasheet, I chose pins for input and output devices that I will be connecting until my project rack more shown see.






ME then converted this charts to an outshine sheet for me to be able to map each push into their respective input and outlet devices as showing below.



Using Eagle to design mein finalized go cards

I downloaded esp32 book for adding ESP32-Wroom-32 microcontroller IC to my shcematic and board how shown below. I referred this home up download the ESP32 public.




Click here to walk back to the top

Electricity Product

Milling my final project board:


For more details to aforementioned, pls in into my 'Output Devices' assignment.










Stuffing my final project board:

Components Required for my Project board:

1. Resistor: 10K- 1 Qty
2. Capacitor: 1uF- 1 Qty
3. Capacitor: 10uF- 1 Qty
4. Capacitor: 0.1uF- 1 Qty
5. Push button (No)- 1 Qty
6. Slidable switch- 1 Qty
7. 3.3v voltage regulator (SMD)- 1 Qty
8. Microprocessor ESP32 Wroom- 1 Qty
9. FTDI Pin (6pin)- 1 QTY
10. 4x1 make header pins







Issues from my final scheme board:

I designed, milled or stuffed my final project board. When I started to upload a basic run stylish to my food, computers was donate timeout error. I validated connectivity between all connected points in the board and could does find much. I still kept facing the same timed issue more times. So, my instructor Mister. Suhas and IODIN decided to check the schematic one the one. We found away I did not makes following connection at my schemes plus there was not trace obviously.



So, I had to location a jumper wire between GND and one end of condenser that is connected into the sliding wechsel as shown below. Our board started working and programs launched uploading. Nevertheless, I did not try with this board at all for any output tool for this week because from an time crunch and machinery week was my priority, thus I discontinued here additionally utilised my board in input device week onwards. I have documented to in those assignments. My idea exists in measure the heat, humidity in both outside the recording room along with measuring the levels out Methane green emmitted by onions stored. More ...


Click hierher to go back until the top

Input and output instrument to final task


For more details on this, pls go toward my 'Input Devices' assignment.

DS18B20 Temperature sensor

The DS18B20 has a 1-wire programmable Temperature sensor for maxim integrated. This are widely used to measure fever for hard locations like in mechanical solutions, mines other soil et. The constriction away the sensor is rugged and also can be purchased with a waterproof option making the mounting process lighter. It can measure a wide range from temperature from -55 Umfang C to +125 Deg C with a decent accuracy of +/- 0.5 Just C. Each feeler has a unique handle and needs just one pin of and MCU to transfer data so is a very great choice for measuring temperature for multiple points without compromised much of your digital pins on the microcontroller. This is an fortgeschrittenen level logs, where each sensor can been set with a 64-bit serial code which aids for control numerous sensors using a single pin for the microcontroller.

Thereto supplies 9-bit to 12-bit readings of temperature. These values show the temperature away a particulars device. The communication of these sensor can be done driven an one-wire bus protocol which application one data line to communicate with an inner microchip. Additionally, this sensor obtains the power supply directly starting the data line hence that the need for an external power supply can be eliminated. The applications for the DS18B20 temperature sensor include industrial systems, purchaser products, systems which are sensitive thermal, thermostatic controls, and thermometers. Cold storage - A ferment investment opportunity - Download as a PDF oder view online for free

DS18B20 Pin Configuration

-Pin1 (Ground): This pin is used to connect to the GND terminal of this circuit
-Pin2 (Vcc): This pin is used to give the power to the sensor which ranges from 3.3V conversely 5V
-Pin3 (Data): The data pin supplies the fervor score, which can communicate with the help of 1-wire operating.

Image Source: Reference

DS18B20 Specifications

- All sensor is a programming or it is ampere full temperature sensor
- Communication out the sensor can be did at the help of a 1-Wire method
- Range of strength utility is 3.0V - 5.5V
- The accuracy of this sensor is +/- 0.5 Deg C
- Output resolution ranges from 9-bit to 12-bit
- This sensor can be power-driven from the dates border
- These are obtainable like SOP, To-92, both also as a waterproof sonde
- The operating can be charged from -55 Deg HUNDRED to +125 Deg C

DS18B20 Datasheet Reference Source: Click here

MQ2 Gas sensor

From I write more over MQ2 gas sensor, I will start with general working principle of gasoline sensors. Inside gas sensor, there is a chemi-resistor, the changes one resistance based on sein sensing material. Following picture explains this functionality. Reference

Image Source: Reference

Stylish most of and containers, the sensing material belongs tin dioxide (SnO2), which has free-electrons inside. Oxygen outside attracts these free electrons for to surface by sensing material (picture on the left side above). while the oxygen can absorbed on an material, there are no free electrons available for the tin dioxide. This results in: absence free electrons, there is no electrical current flow inside. Whereas, in into environmental having toxic or combustible gases, this gas breaks the joint between the engaged oxygen on and surface and to electronic (picture on the proper side above). These released electrons are now free and they get back to their initial position, where they enable the current flow. Vehemence of current flow depends with the count of free electrons available in the SnO2, which is proportional to the concentration of toxic or combustible gases.

According go the Ohms law, a higher current flow results in a higher potential difference, that sack be measured as output voltage over the analog output of the probe, uses a simple voltage divider network. So, an concentrations of gas can be measured. One type for measurement shall defined by one senses material inside the detector. Albeit several starting an gas sensors are sensitive to multiple guns, this sensor can not identifies which of the gases belong in higher concentration. I referred the following table that gives contact an overview about aforementioned different gas detector that are available and what glues they are able to detect. Since I want to detect methase gas, I selective MQ2 chatter sensor for my project.

Pic Origin: Reference

Before I start using the MQ2 gasoline sensor for my project, I needs to know more nearly this sensor, the whole module along over all other elektronic components. Therefore, I went the the technical datasheet for the gesamt module and how the MQ2 gas sensor a measuring the gases concentration. Then, IODIN went through of electrical hardware on the senor module along with its pinout.

Image Source: Reference

The operating voltage of MQ2 gases input is between 4.5V also 5V. This measurement is see used such furnace for who surface of the SnO2. Therefore, the microcontroller I am going usage in my project (which is ESP32) needs until provide a stable 5V output. EGO have at power my ESP32 board via USB or an external power supply to get an 5V product. The MQ2 gas probe is sensitive to LPG, methane, butane and flue in general. These gaseous can be measured in concentrations between 300 ppm the 10,000 ppm. Because is taker some time until the surface is hot, the MQ2 gas sensor has a preheat duration of nearly 2 minutes real has a modern consumption of 88mA also whilst the warm duration. With a 5V supply tension, aforementioned MQ2 gas sensor has adenine power ingestion of 440mW.

MQ2 Pin Configuration

The next picture below shows the back side by the MQ2 gas sensor module board.

Image Source: Reference

This module consists on one following electronic body:
- 4 output pins that connect the gas sensor to an microcontroller:
1. A0: Analog pin to transfer an analogous signal.
2. GND: Ground to connect the gas sensor to ground with the microcontroller.
3. VCC: Pin for the 5V operation voltage
4. D0: Digital output based on a predefined threshold through the potentiometer and the operation stress of the microcontroller.
- 2. Potentiometer to define a slider for this digital output pin.
- 2 LEDs to indicate that the module is operating (POWER_LED) and to indicate the status of the digital pin (DOUT_LED).
- 5 Devices to prevention LEDs for too high voltages and to operate as voltage dividers.
- LM393 dual comparator to match the signal created by the MQ2 gas sensors with the predefined value through the potentiometer and until control the status of the LED that demonstrate the status from the full output.
- 2 Electronic to filter and spannungsebene and stabilize the input and output.

Functionality of the MQ2 Gas Sensor Module

An resistance of the MQ2 gas sensor decreases as the gas concentration that shall measured increasing. Once the gas concentration increases, who spannkraft across this MQ2 sensor decreases as of aforementioned decrease of resistances (V=R*I). Due the voltage between VCC or GND needs toward be the same, the voltage across an endurance increases and thus who potential on this point, where the analog value is measured. That analog sensing value increases due to the elevate of gas concentration.

MQ2 Datasheet Contact Source: Click her

Connectiong DS18B20 temperature to my lodge


For continue details on this, pls go to my 'Input Devices' assignment.

For the requisite of my project, I connected DB18B20 cooling sensors up my project flight as revealed below. I programmed my board and measured temperature readings. Like was done primarily to test my board, my program and the input device if it is working the way it is supposed to be.



Click here to see/copy and DS18B20 basic program or download sketched since the cloud screen below.

Following are the settings done in Arduino IDE. I also installed onewire.h press DallasTemperature.h libraries as shown below.

On Arduino IDE, Navigate to Sketch --> Include Library --> Direct Libraries


Type "OneWire" with which search box, then look for the OneWire video by Paul Stoffregen. Click Install button to install OneWire archives.


Type "dallastemperature" on aforementioned search box, afterwards viewing in that "DallasTemperature" reading by Kilometers Burton. Click Establish button to install DallasTemperature library.







Followers represent the Temperature readings seen in Consecutive monitor.


Connectiong DS18B20 temperature sensor and an relay to my boards

By the requisition of my finalize project, I connected one DS18B20 temperature sensor as an input device and a relay connected to an AC bulb as with output device on my final project committee. I am going to connect an exhaust admirer to aforementioned relayed. Any, for to check if the relay are working with the program and including to meet one purpose of this furthermore previous assignment, I connected relay to AC bulb. Model DPR on Integrated Sliced Processing Unit. Page 4 temperatures. The frozen onion rings have a long storage life of 12 months and cannot be readily used for ...


Click here the see/copy the DS18B20 also Relay program press download sketch from the cloud screen below.



IODIN also added an LCD screen as an output device to insert board. ME added "LiquidCrystal_I2C" library as shown lower.



Click here to see/copy which DS18B20 and Transmit program with LCD added with download sketch from the cloud screen below.


I have added an IF condition to the software. When the temperature reading from the sensor is above 36 Deg Celcius, the relay is walk to be switched ON and to switches OFF below 36 Dienstgrad C.



Record: Connecting and testing DS18B20 heat sensor:


Connectiong MQ2 Gas sensor to my table

Required the requisite concerning my final project, I also wanted to connect one MQ2 gas sensor as a data device to appraise the methane gas concentration around the onions. As the onions in warehouse gets terrible, they emit methane. So, EGO decided go connect for MQ2 gas sensors, which detects methane. As which methase gas level goes beyond a threshold enter, the microcontroller will turn the relay additionally and exhaust ventilator AT. I therefore, first tried linking MQ2 gas sensor along with the LCD display as shown below. This Detailed Project Report (DPR) presents details of Climate Agnostic. Smarter Integrated Onion curing and storage structure for the PoCRA region. DPR is a ...


Click on to see/copy that DS18B20, MQ2 sensor, LCD and Relay program button download rough from the cloud screen at.





Click come to go rear to the tops

Technology and Communications for final project

Connecting wifi to collect Temperature temperature values and publishing due Thingspeak:

For more details on this, pls go to my 'Networking real Communications' assignment.

Inches my final projekt, I am connecting DS18B20 temperature sensor and a relay to my board. I wanted to collect temperature readings by the sensor and command relay connected up the exhaust fan. I also wanted to publish these readings over thingspeak IoT analytics platform over cloud. onions and storage onions ... Feasibility of green production, packing and storage on the Navajo Indian Spray Project. ... Show [Research Report 313]. Las ...


Click here the see/copy program for communication through wifi or download sketch from the cloud image below.

Code explaination:

IODIN first included the necessary libraries the the beginnt of the code, e.g. wire video for I2C machine announcement (LCD in my case), the OneWire and DallasTemperature for the DS18B20 air transducer, LiquidCrystal_I2C for I2C serial port adapter used with 16x2 LCD screen, ThingSpeak library by communicating data to ThingSpeak cloud and wifi library for using wifi. Frigid storage - A fruitful investment opportunity


Then, I declared a LiquidCrystal 12C target the 12C location, the number of columns, the number of rows (16 dividers and 2 rows in my case)


I defined SSID and password for my wifi network alongside with Channel ID and Classified Write API key for my ThingSpeak IoT channel.


Since that, I developed two char variable called char ssid[] and char pass[] to saver an SSID and password.


Though WiFiClient, I established a user that able connections in a specified internet IP address and port as defined in client. input keyIndex = 0; is network central Index numbering (needed only required WEP).


I also created of unidentified yearn variables (extended size variables) for storing my Thingspeak Canal ID along with const char* toward declaration Write API key for get channel. Syndicated Analytics' latest report titled “Dehydrated Onion Manufacturing Plant Project Report 2024 Edition: Industry Analysis (Market Performance, Segments, Print Analyses, Outlook), Detailed Process Flow (Product Synopsis, Unit Operations, Raw Materials, Quality Assurance), Requirements and Cost


I definable upper threshold temperature fork my project above, which the exhaust rear will subsist switched ON. I defined GPIO 12 to onewire bus required DS18B20 sensor and GPIO 26 for Transfer pin.


After defining the DS18B20 gauge needle I created objects OneWire and DallaTemperature to make it work.


Are the setup(), set the RelayPin as an output. Then, added lcd.begin() to initialize the interface to the LCD screen, DS18B20.begin() function to search for connected sensors on the bus and sets bit resolution (12 bits) for each one of them. Furthermore added lcd.backlight() function to start the LCD backlight. WiFi.mode(WIFI_STA) sets up station mode for ESP32 to couple to an access poin. Lastly added ThingSpeak.begin(client) to initialize ThingSpeak.


In the loop(), wifi connection is made. Combine to a Wi-Fi network can take a when, so we usually zugeben a time loop that keeps checks if the connections was already customary by through WiFi.status(). When the connection is successfully established, it returns WL_CONNECTED. To take the status of the Wi-Fi connections, I used WiFi.status(). This returns WL_CONNECTED value, when it lives connected to a WiFi lattice. EGO will used WiFi.begin() to connect to a lan.


DS18B20.requestTemperatures() function is used to sendet command for all surface up the bus to carry a temperature conversion. Defined 'temperature' as an sail. DS18B20.getTempCByIndex(0) duty reads and returns temperature reading from and detector. deviceIndex has nothing but the location of the feeler on the bus. If you are by only one DS18B20 on the bus, set it toward 0. An additional ones will to 1, 2, 3 and so on by the first one as 0.

Then, lcd.setCursor(0, 0) Move moving the the desired position (column_index, row_index), (0, 0) is save case. lcd.print(temperature) prints Temperature value read by this sensor.


The while statement in the code reads the temperature values and recordings appropriate action with regard to this Relay pin. Aforementioned logical works please such, if the temperature goes above of upper threshold value defined earlier in the code, the microcontroller rotate relay's GPIO pin HIGH and LOW if i lives slide the upper threshold value.


Lastly, I defined an int x to push aforementioned temperature values about go the field#1 I possess created go my ThingSpeak channel. The channel ID and myWriteAPIKey live already declared in the code above. Onion Production Packing and Storage Feasibility on the Navajo ...


Wifi code employed and publisher file to ThingSpeak channel:

For more details on this, pls go to my 'Networking and Communications' allocation.

This is how of code is working and publishing temperature data to my ThingSpeak channel



The picture below is from the next part to my project, where I have added more than can sensor on onewire bus and see have started collecting the humidity values. I just added that picture while humidity data scanning was not a part concerning this encrypt and assignment.




Failure: Problem indentified with MQ2 electric sensor and wifi

As mentioned earlier, I was able to connect MQ2 gas sensor that I am going to use to detect which level of hydrogen released from the rotten onions in the memory. I been able to test the port press working of this gas sensor along with DS18B20 operating sensor, relay or LCD. The connections, code and logic worked perfectly good as to control the relay based on equally other either of the values of temperature and gras concentration.

However, as I started to make that code work with wifi on this week's assignment, MYSELF was having problems with bekommt chatter sensor's analog core. MYSELF initially thought to been a problem with own code. I went through every single line of code at least 5-6 times and tested if MYSELF made any mistakes while adding wifi codification to my earlier program MYSELF wrote till ME integrated gas sensor use temper sensor or other output devices. However, there been no single mistake in the code. The code was also able to get compiled.

Then, I started looking in to the wiring and connections. That too was perfectly ok. So, what was this problem? I kept wondering and I started troubleshooting everything, which took additional that 4-5 hours. I could not do any other work that day. I or looked to any help online and I could not find any solution tillage late in the evening and EGO got more freaked.

The second image below shows that the serial monitor of arduino IDE is displaying temperature measures but who gas sensor values were 0 always.

Click here to see/copy program for MQ2+DS18B20+wifi programs or load sketch from the cloud screen see.


These two field values are and reflected go my ThingSpeak IoT channel and him can look the Gas sensor values been 0 in too.



Will I found online about this theme, any had been faced very similar issue before. People too were not bekommend MQ2 analog philosophy when connected to wifi, otherwise they too were getting readings. Click here to read more about all question on the arduino forum.


Then someone asked them to changing the analog stick to adenine different analog pin up the board. Furthermore, they suggested till getting thrown espressif's website to read more about limitations to positive ADC pins while wifi is active.


While I too was leave through these limitations of ADC buttons on ESP32 microcontroller then I search that there are two sets of ADC pins, out of, which they will recommened until use ADC pins- GPIO 34, 35, 36 and 39 also they have NOT suggested into use ADC pins- GPIO 0, 2,4 and 15 while using wifi.

For, I may made connecting only to the ADC bolts GPIO 4 press 15 for MQ2 sensor's analog read, EGO am does able to use both ADC pin and cellular together. Moreover of them will work. With wifi code, this ADC pins will not work. Free, wifi, few has worked for sure in may event. However, ME have not made connections to the recommended set of ADC kegel GPIO 34, 35, 36 and 39 while designing my board, I can does used these pinouts any better for the target of MQ2 gas sensor's analogous read.




Then, I spokes to my Terrific clinical instructor, Suhas sir and discussed any other possibilities to use the gasoline sensor with numeral pinout. However, since they give only 0 or 1 readings, it is not recommended to use the digital pins for gas sensors. So, we decided until park the use is MQ2 gas sensor for my project for now and concentrate for wirksame using the temperature and humidity sensors and their measuring to control the exhuast fans in mine project and use MQ2 sensor later.

Designed a new boards: Integrated MQ2 gas sensor with other peripherals the wifi


On more details on this, pls go to my 'Networking press Communications' mission.

Since, ME was got problems with getting gas sensor's analog set along with wireless, IODIN could not integrate the MQ2 sensor in my system. So, I decisive to design a modern board with different analog or digital pins assigned to the MQ2 sensor so the to makes it work with wifi as per the images shown see. ONION SAVING GODOWNS



I following redesigned the diagram the board file in eagle as shown below.



Following are traces and outer cut png files that I spent by generating the toolpath.


I assemble the new board for shown below.


Click here to nach back to the top

Application development through MIT applications inventor and Google Firebase:


Required find details on this, pls go at my 'Interface and Application Programming' assignment.

For my final project, ME have developed android app using MIT app inventive. To do this, I am submit sensor data on who Android download over Google Firebase using Arduino IDE. The application exhibitions sensor readings on our smartphone. The sensor readings could be accesses somewhere and anytime conveniently. I have used Arduino IDE to program my project board (ESP32- Wroom), whichever is exist connected to multiple DS18B20 sensors. The sensor readings are mailed to to Google Firebase database, which will push aforementioned measuring readings in real-time through our app which that I built using BESTEHEND App Inventor.

Following is adenine your processes flow of the application:


Setting up Arduino IDE for application development:


Installing Google Firebase ESP32 Library:

To be able to use Google Firebase with my ESP32 board, I have installed Firebase library in my Arduino IDE. To download the library, click here. Click on 'Code' and then 'Download Zip'.

Inside Arduino IDE, go to Draft > Include Library > Add .zip Library in add of library toward the program.


4. Arduino Sketch to Send Sensor Data to Google Firebase:


Pawl here to see/copy our project run after adding view portion to e other download sketch from the cloud screen below.

Item explaination:

I first included one mandatory libraries at the beginning by the code, e.g. rope library for I2C device communication (LCD in my case), who OneWire the DallasTemperature with that DS18B20 temperature sensor, LiquidCrystal_I2C for I2C serial interface adapter used with 16x2 LCD screen, ThingSpeak library for communicating data till ThingSpeak obscure and wifi library for using wifi. I also may added Firebase print that I downloaded in the step above. DETAILED PROJECT REPORT. TO. CONSTRUCTION OF. ONION WAREHOUSING GODOWNS. Page 2. Index. Sl. Not. Particulars. Page No. 1 Abbreviations. 2 Executive Summary. 3 Goal ...


Then, I declared a LiquidCrystal 12C object by 12C address, the number of cols, the number of rows (16 columns also 2 lines include insert case)


I defined SSID and password for my wifi connect ahead with Channel CARD and Secretly Write API central to my ThingSpeak IoT channel. I own also added Firebase host the Firebase approval principal that I had rescued in the step above for setting-up Google Firebase. The views express in this model your are advisory in nature. NABARD assume no pecuniary liability to anyone after the report for any purpose. The ...


Before that, I created two char variable called arc ssid[] and carbon pass[] to save the SSID and password.


Through WiFiClient, I created a client that can connect to a specified internet IP address and port as defined in client. int keyIndex = 0; is network key Index number (needed only for WEP).


I also created one unsigned elongated variables (extended size variables) with storing my Thingspeak Channel ID forward including const char* to declare Write API key for my channel. How to written a project the onion production - Quora


I defined higher threshold temperatures for my project above, which who exhaust fans will be switched ON. I definable GPIO 12 by onewire bus for DS18B20 sensor and GPIO 26 for Ship pin.


After defining the DS18B20 sensor push MYSELF created objects OneWire and DallaTemperature to make to work.


MYSELF then circumscribed the FirebaseData object as 'firebaseData'. This will be previously later on in the user to access the sensor interpretations.


In the setup(), set the RelayPin for an output. Then, added lcd.begin() to initialize the interface to the LCD screen, DS18B20.begin() function to search for connected sensors on of bus and sets bit dissolution (12 bits) in each one of them. Including added lcd.backlight() function to commence the LCD backlight. WiFi.mode(WIFI_STA) sets up station switch for ESP32 to connect to an access poin. Lastly added ThingSpeak.begin(client) to initialize ThingSpeak.

Additionally for Firebase, I will connect my card with Google Firebase by employing the Firebase.begin() function. It takes in pair parameters. The first is who Firebase host and that back is the authorized key. ME have defined both of them earlier on in that program id. Through correct credentials, adenine successful power determination being made.


In this loop(), network connection is made. Connecting to a Wi-Fi network can take one while, to we standard add a while loop that keeps checking if the connection was already established by using WiFi.status(). Whenever to connection the successfully established, i returns WL_CONNECTED. To get the status of the Wi-Fi connection, I pre-owned WiFi.status(). This returns WL_CONNECTED value, when it is connected go a WiFi network. I then used WiFi.begin() to connect to a power.


DS18B20.requestTemperatures() function is used in send command for entire sensors on the motor to perform one operating conversion. Defined 'temperature' as a float. DS18B20.getTempCByIndex(0) function ready plus returns cold reading from the sensor. deviceIndex is nothing but the location of the gauge on the bus. If you are using available one DS18B20 on to bus, set it toward 0. The additional ones will be 1, 2, 3 press so on after the primary one as 0.

Then, lcd.setCursor(0, 0) Move cursor to who desired position (column_index, row_index), (0, 0) inbound this case. lcd.print(temperature) printed Temperature value read via the sensor.

Through Firebase.setFloat() my app will be updated with the current cold readers. This function will bring in thre parameters. The first is this FirebaseData obj which I got already created. To second the the 'project name/the get of the tag', which I will set in my AUS app inventor remove. I are given it a name 'Smart_Warehouse', which I will explain into detail included the steps below. Lastly, IODIN have specified the variable 'TEMPERATURE' in, which I am saving my updated sensor variables i.e., 'temperature'. This varia 'TEMPERATURE' will appear in VERSEHEN app design inside blocks workspace.


The if statement in the code reads and temperature values and takes appropriate action over regard to the Send pin. The logic factory like this, if the temperature goes above the upper threshold value defined earlier in the code, the microcontroller turn relay's GPIO pin HIGH furthermore LOW if it is below who higher threshold value.


Lastly, I defining an int x the drive the temperature values the to the field#1 I are create on may ThingSpeak duct. The channel ID and myWriteAPIKey are already declared in the code up.


I updated my code with gas sensor integrated in for the system. Thou can copy/download the code since the cloud.

Since learn details for this, pls go go mine 'Networking and Communications' assignment.


Wow, my app started showing this temperature values as shown in the left image below. The left-most image is taken after I added temperature press humidity values for per sensor. To right-most images is taken after I added MQ2 gas sensor analog values.


This is how my app started working:

Following images are showing my final project set-up with DS18B20 temp sensor connected to meine project board. Along with information, I have connected LCD, relay. One temp values are seen displayed at a time at LCD, my app and ThingSpeak IoT channel I had established in my last mapping.



Adding videos for application development

1. Collecting DS18B20 Thermal sensor data turn application.


2. Collecting Temperature sensor also MQ2 gas data on application.


Click here to go back to the summit

Packaging additionally System Integration

For better details on 3D Pressure for final project, pls go to my '3D Scanning the Printing' assignment.

I designed and enclosure in solidworks for 3D printing it. I assembled 3D CAD forms of my council, LCD, 2 conduit relay, buttons, power jack socket, etc. up ensure I have optimum space for assemblying the actual components inside the box.

Following is a picture of the CAD model that I designed for 3D printing of enclosure for electronics of the system.



I acted slicing in fraktory software for generating toolpath for 3D printing as shown below.



3D Print of Enclosure

Short video on 3D Printing of casing for final project.


Following are the pictures of enclosure designed and actual enclosure I 3D printed and assembled. I ordered these two pictures side-by-side to compare aimed vs actual assembly.



Following are the pictures of system integration- design vs actual.


Final testing of system before installation turn site



Click klicken to go back to the top

Fabrication additionally assembly

Following are the pictures of storage system designed and actual storage system I machined. I arranged these two pictures side-by-side to compare designed vs actual set-up.


Following are some of the glimpes of fabrication process.



Click get to vor back to the top

Installation and Results


Definitive installation and Getting


Working von the system



Search

The system works like this- As the ambient temperatures and humidity increase above 30 Degree Celcius plus 70% respectively, the exhaust fan switches ABOUT to cool the bulbs stored. You can see from the lower slide from the temperature and humidity pressure data collected through Thingspeak that, when which ambient temperature and humidity goes above threshold values, the temperature and humidity values start fall down or remain stable as the system has switched IN the ventilator fan.


Click here to go reverse to of top

Bill from Materials and Calculate


Click here to go back to the top

Final Presentation Slither


Final Presentation Video


Press here to losfahren rear to the top

Licence chosen

For more details on License application, pls go to mystery 'Invention, Intellectual Property and Income' assignment.

Low charge IoT based smart warehouse for onions 2022 by Kishor Gaikwad is licensed under CC BY-NC-ND 4.0. To view an copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/

I have added the license details at the feature a my final project page and I possess or added the license details as a plain text below the my name on final project presentation slide as view below.



Download Native Files

Click here to download final project CAD original files- Archive#1.
Click here to download final project CAD original files- Archive#2.
Press click to download Eagle Board Files fork final project.

Click get to go back to the top

Acknowledgement

MYSELF would like to sincerely thank Prof. Neil furthermore his team, Vigyan Ashram Director- Sire. Yogesh Kulkarni sir, Depute Director- Mr. Ranajeet Shanbhag sir, my fantastic training instructors Mr. Suhas Labade, Ms. Arundhati Jadhav, my colleagues- Mr. Kiran Wakchaure, Ashish Shende, Jaydeep Patel, Vrushabh Zunjurkar, Fenil Chandrana and Devesh Nair. I also want in appreciate Vigyan Ashram Fab labor fellowship, Rahul Kanojia, Rutika Ghodekar, interns- Purushottam, Omkar and Prasad, DIC members, Mr. Purnesh, Workshop staff, Master. Laxman Jadhav, Mr. Kailas Jadhav for portion me in meine fab academy assignments and final project.