Aditya N Bharadwaj
Published © GPL3+

Home Assistant controlled Terrace Garden Irrigator ( v.2021)

This project was my first webhooks based work. Tinkered in 2021 before joining my undergrad, I thought of posting it now!

IntermediateFull instructions provided4 hours24
Home Assistant controlled Terrace Garden Irrigator ( v.2021)

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Dual H-Bridge motor drivers L298
SparkFun Dual H-Bridge motor drivers L298
×1
12V DC Water Pump
Seeed Studio 12V DC Water Pump
I had to use this here, as I did not find any 5.0V submersible pump here. You can use this pump too, but make sure you use 18.0V power source, which is sufficient enough power this particular pump, Arduino Uno & Bolt Wifi module.
×2
Jumper wires (generic)
Jumper wires (generic)
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Light Pipe, 15.9 mm
Light Pipe, 15.9 mm
I had used a 2M long silicone transparent 1.5mm dia pipe for the water pump system
×1
Google home mini
×1
9V battery (generic)
9V battery (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Bolt IoT Android App
Bolt IoT Android App
Bolt Cloud
Bolt IoT Bolt Cloud
IFTTT google service

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Schematics

Irrigator Schema

This Schema just includes Irrigator's diagram, not the pigeon shooer jet spray module

Code

Arduino code for powering up the pump

Arduino
This is just the Arduino code
void setup()
{
Serial.begin(9600);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
}
void loop()
{
if(Serial.available()>0)
{
char a=Serial.read();
Serial.println(a);
if(a=='1')
{
      digitalWrite(5,HIGH);
      digitalWrite(4,LOW);
      delay(8000);
      digitalWrite(5,LOW);
      digitalWrite(4,LOW);
}
}
}

Bolt IoT Cloud

JSON
to make API calls from Bolt IoT cloud
https://cloud.boltiot.com/remote/Api_key/serialWrite?data=Any_string&deviceName=Name_of_the_device

Credits

Aditya N Bharadwaj
2 projects • 3 followers
Average SBCs & Microcontroller Enthusiast!

Comments