An automatic cat-feeder that uses Arduino to automate its functionality. The system utilizes an HC-SR04 ultrasonic sensor as an input to detect the proximity of the cat to the device, once it gets close enough, a servo attached to the bottom of a loose lid, whose some part is cut out, will rotate 180 degrees which causes the catfood to fall.
- Arduino UNO
- HC-SR04 Ultrasonic Sensor
- 9g-Servo
- Breadboard
- Jumper Wires
- value of ping depending on how sensitive you want your sensor to be.
if (ping <=900){
servoGate.write(gateopen);
}