Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.22 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.22 KB

Thirsty Cat Duino

Arduino-controlled water-supply for my 🐈

This project gives fresh water to my cat when he get's closer to the fountain.

What you'll achieve:

Ingredients:

  • Small water fountain, like any of this.
  • Arduino Uno
  • Relay
  • Proximity sensor
  • Raspberry PI (not needed if you code in C++ right to the Arduino but this project is in NodeJS).

Steps:

  • Connect the relay and proximity sensor to the Arduino and the Arduino to the Raspberry PI.
  • Connect the fountain's power cable to the relay and make it sure to aislate this relay, the power will be passing through this thing.
  • Install NodeJS to the Raspberry PI and clone this repo; install packages and run node full.js.
  • Try to put everythink inside a plastic box so the water don't damage the components.
  • Remember to point the proximity sensor to the fountain so the when the cat comes close the water starts to flow.

That's it.