Arduino Plant Watering System (Arduino Home Hacks #3)

Arduino Plant Watering System
Welcome to our home automation hacks series #3, for so many times I had problems with watering my plants while traveling abroad and I have always needed a way to control it remotely, then I decided to do it with one of the fanciest ways you may ever hear off, cause I’m gonna water my plant using Twitter, that’s right, I’m gonna make an Arduino Plant Watering System using the Arduino Twitter Shield. So let’s start with

1- Arduino Plant Watering System Components


1- Arduino Uno
2- 1Sheeld
3- Relay board
4- Arduino Water pump
5- Female to Male jumpers
6- USB cable
7- Smartphone
8- Screwdriver
9- Plant Pot
10- DC Adaptor

You can find all these components at most of the electronics stores in your city, except the Plant Pot of course 🙂

2- Connections

The circuit is so simple, you only have one component that needed to be connected to 1Sheeld which is the water pump. And as it only operates on 12v which the Arduino board can’t provide so we needed an extra relay board to make our circuits separator.

It will separate our power circuit “12v adaptor” from the control circuit having the Arduino and 1Sheeld to power up the water pump with sufficient power and at the same time, protecting the Arduino board from the high voltage coming from the adaptor.

3- Code

Here’s the full working code. The code is checking all the tweets being tweeted over the globe since you run the code. And once a tweet detected with the targeted phrase, the Arduino water pump which is connected to pin #13 will be turned on for two seconds.

4- Testing

Arduino Plant Watering System

1- Now plug your Arduino to your PC/Laptop and upload the code (make sure first to put your 1Sheeld to uploading mode preventing errors).
2- Open the 1Sheeld application and connect to 1Sheeld board.
3- Now switch back the 1Sheeld to “Operating mode”.
4- Choose Twitter shield, and check make sure you have an internet connection.
5- Now open any twitter account on any device and tweet and tweet but should include this phrase “watermyplants”.
6- And the Arduino water pump will work for 2 seconds.

That was it, try it out yourself and if you need any help, just let me know in the comments down below. The third hack is done, stay tuned for the fourth and don’t forget to check the previous hacks in the links below 😉

#1 Control home lights with your voice
#2 Control a fan with smartphone gesture




Related Blogs

Arduino Security Camera

Arduino Security Camera System (Arduino Home Hacks #4)

Arduino Security Camera Have you ever wanted to check your home in real time? Afraid that maybe someone has stormed in, don’t remember if you shut the door or not or maybe wanna check if your Hyper-energetic dog has broken any of your dishes AGAIN!! 🙂 Then this is the perfect place for you cause today …

Arduino IoT

Arduino IoT Shield Functions Explainer

Arduino makers …. you can connect your Arduino to MQTT brokers(servers) and launch your IoT with Arduino IoT Shield! It’s the 1Sheeld IoT shield that will do the job for you. It’s one of the most important but recent Arduino shields in 1Sheeld. Simply, it turns your Arduino into MQTT client where you can publish and …

Arduino Temperature Humidity System

IoT Arduino Temperature and Humidity System

Monitor my home environmental parameters remotely is one of the most desirable things I have ever wanted to make. It’s not about purchasing such a system that can get the job done for me. But, passion to create it myself. So, today, I am going to connect the popular DHT sensor to an online MQTT …

Arduino Door Lock

IoT Arduino Door Lock using 1Sheeld and Smartphone

  “Oh God! … It seems like I have forgotten the door lock open, again” … the normal saying whenever I am in hurry to go out! Have you encountered this problem before? It always confuses me since I may even think that I have left the door lock opened, and once I go back, …

IoT Fan Control

Arduino IoT Fan Control using 1Sheeld and Smartphone

Here I am with another IoT-based home automation project; Arduino IoT Fan Control. Every day, I get back from work tired and feeling hot. No air conditioner here and the fan takes much time to start cooling the room, sadly! So, I was thinking why not controlling the fan from outside my home with my …

Arduino Light Control

IoT Arduino Light Control using 1Sheeld and Smartphone

Have you ever forgotten to turn your home lights off when you got outside? Sadly, it happens to me all the time. And this causes confusion once I get my bills! Furthermore, here is one secret about me; I am a lazy man. I always want to control my room lamp from my sweet bed. …