Drinking Dog – Dogs watering and spying system

Drinking Dog is an easy project that can help you to take care of your pet.

During the summer, when i leave at home my dog for several hours, i have the problem that water inside its bowl become warm in few time. Then i’ve create this system that can empty and re-fill the bowl with fresh water each preselected time, maintain constant water level and finally spyies my pet.

This project is based on Raspberry Pi platform with Dexter Ind. modified “wheezy” image Linux raspberrypi 3.18.7+ #755 and GrovePi+ sensors.

http://sourceforge.net/projects/dexterindustriesra…Drinking Dog Dogs watering and spying system

Step 1: Hardware 1

For first you need:

  1. Raspberry Pi mod.B
  2. GrovePi+
  3. GrovePi Led
  4. GrovePi Button
  5. GrovePi DHT
  6. GrovePi Relay
  7. GrovePi Ultrasonic Ranger
  8. Generic NC 3.3V relay (or another GrovePi Relay)
  9. 12V solenoid valve
  10. 12V Windscreen wiper pump (or acquarium pump)
  11. USB webcam
  12. WIFI dongle
  13. 12V PS
  14. 5V PS for Raspberry

Extras: power cable extention, some jumpers, electrical socket, screws and brackets.


  1. clipper
  2. drill
  3. screwdriver
  4. silicone glue dispenser

Step 2: Hardware 2

To assemble an enclosure box, basically you need:

  • Water bowl
  • Washing soap bowl
  • Wood basement
  • RaspberryPi and co. enclosure
  • power supply encosure
  • cilinder

As you can see in photo, i’ve two plastic boxes (pasta box), a plastic cylindric container (spaghetti box) and a plastic bowl. Plastic boxes are reused Tupperware food containers (i’ve got a lot of them….. as you can see in my previous instructables!)

Cylindric container has been modified at the base drilling two holes to insert an ultrasonic ranger and, at the top cutting an area that allow the water flow.

Then, to fit solenoid valve, i’ve added a plastic bowl. Without this there wasn’t enough space to connect water pipes. Secure the area with silicone glue.

Regarding the top box, drills the small side to insert webcam and led. On the top create some holes for ventilation, then cover with a roof. The other box must be drilled on the top too, creating some holes for ventilation and to insert cables from PS and from led/webcam. Rectangular shape has been cutted on the large side of the box, to access with screwdriver to the internal side. After this, for water drops securing, i’ve covered with transparent tape.

Finally you have to drill the water bowl to insert wiper pump. I made this heating a circular metal piece to melt bowl plastic, then i’ve created e perfect circular hole to insert wiper pump gasket.Drinking Dog Dogs watering and spying system schematich

Step 3: Connections

First photo can easly show cable connections.

As you can see, solenoid valve (12V) and wiper pump (12V) are connected at the same PS because they works alternatively . For wiper pump you have to respect correct polarity, solenoid valve doesn’t need.

Sensors are easy connected to GrovePi as follow:

  • GrovePi relay > D6
  • GrovePi ultrasonic ranger > D4
  • GrovePi DHT > D8
  • GrovePi button > D2
  • GrovePi led > D5

Generic relay has been connected to GrovePi+ pins (if you are using other GrovePi relay, connect it to D3 and modify code as descripted at the code step):

  • VCC > pin 1 (3.3V)
  • GND > pin 6 (GND)
  • SIG > PIN 15 (GPIO 22)

12V power supply connections:

a valve connector and wiper pump negative pole are connected together to power 12V supply negative pole.




For more detail: Drinking Dog – Dogs watering and spying system

Scroll to Top
Scroll to Top
Read previous post:
How a headless Raspberry Pi can tell you its IP address

By now, most Instructables users are at least familiar with the Raspberry Pi. It's a full 32-bit computer in the...