
Automatic fish feeding device
thingiverse
Sorry about the messy code! You need a basic Arduino board like Arduino NANO, MINI, or UNO. And also a 28BYJ48 stepper motor. If your fish food has a diameter larger than 2mm, you will need an additional tiny screw (Prt0003). Arduino Code: #include "Stepper.h" #define STEPS 100 Stepper stepper(STEPS, 2, 3, 4, 5); // CHANGE THESE TO YOUR BOARD'S PINS int previous = 0; long interval = 7200000L; // how long you want it to step 2 hours means unsigned long previousMillis = 0; void setup() { stepper.setSpeed(80); } void loop() { unsigned long currentMillis = millis(); if(currentMillis - previousMillis > interval) {previousMillis = currentMillis; stepper.step(3500); // how much steps you want } } if (currentMillis < previousMillis) { previousMillis=currentMillis; } } Print Settings: Rafts: doesn't matter
With this file you will be able to print Automatic fish feeding device 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 Automatic fish feeding device.