Auto Fish Feeder
thingiverse
Hi Everyone, This weekend, I worked on a project that I'm excited to share with you. My main goal was to minimize parts as much as possible, and I believe this is the power of 3D printing. The idea is simple but can be improved upon in the future. It's an auto fish feeder using Arduino, which can help feed your fish daily. I'm still working on it! Feel free to contact me if you need any assistance. Arduino Code: ------------------ /* Fish Feeder * By Amin <aalrusayni@gmail.com> */ #include<Servo.h> Servo mainServo; int mainServoPin = 9; int servoStart = 0; // Start Degree int servoEnd = 105; // End Degree int feeding = 1; // Number of hours to feed int shakTims = 10; // Number of shakes int shakDeg = 25; // Shaking degree positions int shakStro = 10; // Shaking speed int feedTims = 1; // Number of scoops each time int feedSpee = 20; // Moving speed int pos; int tim; int feed; void setup() { mainServo.attach(mainServoPin); mainServo.write(servoStart); } void loop() { delay(6000); // Delay before first feeding for(feed = 0; feed < feedTims; feed += 1){ for(tim = 0; tim <= shakTims; tim += 1){ for (pos = 0; pos <= shakDeg; pos += 1) { mainServo.write(pos); delay(shakStro); } } for (pos = 0; pos <= servoEnd; pos += 1) { mainServo.write(pos); delay(feedSpee); } for(tim = 0; tim <= shakTims; tim += 1){ for (pos = servoEnd; pos >= servoEnd-shakDeg; pos -= 1) { mainServo.write(pos); delay(shakStro); } } for (pos = servoEnd; pos >= servoStart; pos -= 1) { mainServo.write(pos); delay(feedSpee); } } delay(feeding*3600000); // 3600000 milliseconds in an hour } ------------------ Regards
With this file you will be able to print Auto Fish Feeder with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Auto Fish Feeder.