Automatic_Pet Feeder

by Vikash23 in Circuits > Gadgets

633 Views, 5 Favorites, 0 Comments

Automatic_Pet Feeder

WhatsApp Image 2021-07-11 at 11.11.35 PM.jpeg

Pets are very good friend in need. They are part of u in every moment. They make our lives even more better and happier. Feeding them when we are not in home are very important. We, will see a DIY automatic pet feeder for pet parents.

This opens once in twelve hours. So our fur friend doesn't feel hungry. It can be changed accordingly.

Materials

We need only a few materials. This DIY project is very feasible.

  • Arduino UNO.
  • 3*male-male jumper wires.
  • One servo motor.
  • An old bottle or a pringle chips box.
  • Hot glue gun.
  • Ice-creams stikes.

Circuit Diagram and Explanation

Screenshot (196).png
Circuit can be simulated in tinkerCAD or proteus. In proteus arduino and servo motor has to be imported accordingly.
  • Connect the power pin (yellow wire) of servo motor to pin number 7 of arduino.
  • Ground pin (Red wire) to ground pin if arduino.
  • Voltage pin (Brown wire) to 5V pin of arduino.

Sketch

#include

int servopin = 7;

Servo Servo;

void setup()

{

Servo.attach(servopin);

}

void loop()

{

Servo.write(0);

delay(1000);

Servo.write(180);

delay(4000);

Servo.write(0);

delay(43200000); //This Is Equal To 12 Hours

}