The automatic watering system simple just read the water level in the water bowl with a HC-SR04 Ultrasonic Sound Sensor. It measure the distance to the surface of the water. If the level is less then 3cm for more than 30sec it triggers a 5V relay whit a NO-contact . The relay are controlling a 12V DC supply to a mini watering pump in the water tank.
1 x Arduino Pro Mini
1 x General Purpose Transistor NPN ( PN2222A)
1 x Relay (generic)
1 x Ultrasonic Sensor
1 x RGB LED (Common Cathode)
1 x LCD
http://news.chivindo.com/666/automatic-pet-watering-system.html
Step 1: What You Need?
1 x General Purpose Transistor NPN ( PN2222A)
1 x Relay (generic)
1 x Ultrasonic Sensor
1 x RGB LED (Common Cathode)
1 x LCD
1 x Breadboard or Mini Breadboard
1 x 12V DC Waterpump
Don't have components? Don't worry. Just click the component's name.
Step 2: Build Your Circuit.
Step 3: Upload The Code.
You also can view here for more.
Comments
Post a Comment