This project continuously monitors the temperature in the cold storage facility with the help of LM35 temperature sensor. The operator sets a predefined threshold temperature value for the storage unit. The current values are displayed on the monitor with the help of Ubuntu software. If the threshold temperature is crossed, an SMS alert is sent to the operator along with the value of the current temperature reading of the storage unit. Also, visual and auditory cues are sent to the people nearby via lighting of an LED and the buzzing sound from the buzzer.
DEMONSTRATIONHARDWARE SETUP
The LM35 temperature sensor is at the heart of the Cold Storage Temperature Monitoring project. The steps to set up the hardware components of this project are given as follows:
- Connect the LM35 to the breadboard
- The Bolt WiFi module is connected to the LM35 temperature sensor through 3 male to male jumper wires.
- Connect Vcc pin of LM35 to 5V pin of the Bolt WiFi module
- Connect output pin of LM35 to Analog Input pin (A0) of the Bolt WiFi module
- Finally, the ground pin of LM35 is connected to the ground pin (GND) of the Bolt WiFi module
- Next, we have to connect an LED to the LM35 sensor. This is done by connecting the cathode (shorter leg) of the LED to the ground pin of the Bolt WiFi module via jumper wire and breadboard.
- The anode (longer leg) of the LED is connected to a 330 ohms resistor (orange orange brown gold) in the breadboard
- Connect jumper wire from resistor to digital pin 0 of the Bolt WiFi module
- Connect buzzer to the breadboard. It's positive terminal (longer leg) is connected to the digital pin 1 of the Bolt WiFi module and the negative terminal (shorter leg) is connect to the GND pin of the Bolt WiFi module through jumper wires
- Lastly, we connect the Bolt WiFi module to the PC/laptop via a USB-A to Micro-USB cable
- The code linked in below measures the temperature using the LM35 temperature sensor and thereafter sends it to the Bolt WiFi module over serial communication.
- A Python Script (running on a server or your PC, for instance) queries the Bolt Cloud for this temperature value using the Bolt Python Library, which in turn is based on the Bolt open APIs.
- The Python script then checks if the current temperature is less than a preset threshold temperature. In case the temperature exceeds the threshold value, an SMS alert is sent out using the Twillio SMS service.
Comments