In today's busy world, we forget to nourish and water plants that make our home clean and soothing. Think about it -- what if your plants are able to tell you when they are happy and when they require proper attention? It would be awesome, right!
This project monitors soil moisture and sunlight intensity at regular intervals. The data is processed through Integromat logic, which sends SMS notifications about your plant's health status. The system aims to simplify plant care through automated monitoring.
| Component | Quantity |
|---|---|
| Bolt WiFi Module | 1 |
| LDR (Light Dependent Resistor) | 1 |
| Resistor 10k Ohm | 2 |
| Soil Moisture Sensor | 1 |
| Male/Male Jumper Wires | As needed |
| Mobile Charger | 1 |
| Female Header 8 Position 1 Row (0.1") | 2 |
Gather all the components listed above. They are easily available in the market at a reasonable price.
Important: Check all the connections before powering up the Bolt and refer to the schematic for any help.
Note on Voltage: The A0 pin of the Bolt has an input range of 0-1V. Hence we use 3.3V instead of 5V to power up the device.
Bolt IoT Platform: Bolt IoT platform gives you the capability to control your devices and collect data from IoT devices safely and securely no matter where you are. Get actionable insights by deploying machine learning algorithms with just a few clicks to detect anomalies as well as predict sensor values.
Integromat: The role of Integromat is to seamlessly connect your apps/services, so you can concentrate on new tasks rather than repeating the same tasks again and again.
Twilio: Twilio is a cloud communications platform as a service company. Twilio allows software developers to programmatically make and receive phone calls and send and receive text messages using its web service APIs.
After assembling the hardware, register and connect the Bolt unit to the Bolt Cloud.
Enter credentials for the services:
Use the following commands to set time limits:
Current time command:
{formatDate(now; "HH.mm"; "Asia/Kolkata")}
Upper time limit (e.g., 17:00):
{formatDate(addHours("2016-12-08T06:00:00"; 11); "HH.mm"; "Asia/Kolkata")}
Lower time limit (e.g., 6:00):
{formatDate(addHours("2016-12-08T00:00:00"; 6); "HH.mm"; "Asia/Kolkata")}
Attach a resume error handler to both BoltIoT services in order to prevent Integromat from stopping the scenario automatically in case of any error. In the handler, use any number that is to be assigned to the Bolt in case of error (e.g., 12345).
Apply a time barrier and error filter to the router's input branch, and moisture content and light intensity filters to each of the router's output branches.
The soil sensor measures the moisture content present in the soil and the LDR measures the light intensity falling on the plant. Both data readings are read by the Bolt unit and sent to Integromat logic whenever a read request arrives.
In the case of the soil sensor, if the moisture content is less than the threshold value (set by the user), the output of the sensor is LOW; otherwise it is HIGH. This digital data is read from pin 0 of the Bolt. In the case of the LDR, analog data is read from the A0 pin of the Bolt.
The process flow works as follows:
Schedule your scenario according to your requirements and save it. In this case, the scenario will run every 30 minutes.
Important: Please don't forget to save your work before closing it.
With the above simple steps, you can monitor the sunlight and water content of your plants and get alerts when you need to act. The system automates plant health monitoring so you never forget to water or provide adequate sunlight to your plants.
Get the latest IoT tutorials, projects, and updates delivered to your inbox.