Ok so you are a plant lover and you have to go somewhere out of station. Now you ask your sibling/cousin to take care of the plants at your home. But what if your sibling/cousin forgets to water or take care of them? Well don't worry I got you covered. With few simple and cool concepts of IoT you can prevent that from happening. Here the basic idea is to send you scheduled messages via email or a normal message which tells you whether the moisture level and the amount of sunlight falling on your plant are good or low. Let me show you how!
Required Hardware Components:
1. Soil Moisture Sensor : ( Available on Amazon )
2. Bolt IoT Wifi Module ( Available in BOLT IoT kit ) :
3. LDR Sensor ( Available in BOLT IoT kit ) :
4. Resistor - 10k ohms ( Available in BOLT IoT kit ) :
5. Smartphone Charger :
6. Jumper Wires - Male to Female ( Available in BOLT IoT kit ) :
7. Female Socket / Header Pin : ( Available on Amazon )
Apps/Services Used :
1. Bolt Cloud
The data collected by the sensors is pushed to the cloud where the data is processed and analyzed.
2. Integromat
With Integromat’s interactive approach, you can watch in real-time how your automation is executed and accordingly trigger scheduled messages to your phone. Know more at integromat.com
3. Twilio
Twilio is used for communications channels like voice, text, chat, video, and email by virtualizing the world’s communications infrastructure through APIs that are simple enough for any developer to use. Here we use just the text message feature. Know more at twilio.com.
Hardware Connections :
1. Insert one lead of the LDR into the Bolt Module's 3v3 Pin. Insert other lead of the LDR into the A0 pin
2. Insert one leg of the 10k Ohm resistor into the GND pin. Insert the other leg of the resistor also into the A0 pin.
3. Connect the soil sensor probe to the amplifier circuit using the female to female jumper wires.
4. Now, connect the VCC, GND, DO ( Digital Output Pin ) of the amplifier circuit to 3.3V, GND, 0 ( GPIO pin / Digital Pin ) of the BOLT Wifi Module respectively. Connect the USB cable to the BOLT Wifi Module, before switching ON the device make sure thatthe 3.3V and GND pins or wires coming out of them do not touch each other.
Building the logic in Integromat :
1. If you don't have an account on Integromat using the following link.
2. In the dashboard section in the top-right corner click on "Create new scenario" to create a new scenario.
3. Now build the following logic flow as shown below.
3. After building the logic now we need to enter the credentials for the services being used. i.e Bolt device ID and the API key for the BoltIoT service and SSID, Authentication token number, sender's number for the Twilio service. You can found all these at cloud.boltiot.com and twilio.com respectively. Look in the images below for further help.
4. Attach 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. For ex. 12345 (in case of our) as shown in the image below.
Comments