Arduino DIY Automatic Fish Feeder
This is an Automatic fish food feeder.
Parts required :-
1) Arduino UNO or nano
2) Micro servo
3) Plastic bottles
4) Hot glue
and some patience
ARDUINO CODE
calibrate it according to your requirement
#include servo.h
Servo myservo;
void setup()
{
myservo.attach(9);
}
void loop()
{
myservo.write(150); //position such that food doesn't fall
delay(x); //x is time gap in milliseconds between two feed
myservo.write(90); //pos such that right amount of food just falls
delay(300); //duration of valve opening, calibrate according to qty req
}