Você está no 3DFinder
Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.
Descrição
NOTE
I would like to start by saying you will need to know how to code and understand a Arduino
Some part's might be buggy i tried my best to get all parts to be a plug and play i believe i have accomplished that. The track is loose at this time i'm not sure on a track tincture but it works fine just a little chunky looking.
in the code i have provided will feed your tank ever 4 day's you can change that as you wish in the code. This design use's flake food not pellet's wen you go to add your food to the hopper crumble your fish food to insure the hoper wont clog.
THING'S NEEDED
3M screws
Arduino uno
Standard size servo
Paper clips (for track pins)
Glue (for gear on motor)
Step motor - 28BYJ-48
Motor driver - ULN2003 Motor driver
Bread board
5V power supply
Code blow
include <Servo.h>
#include <Stepper.h>
#define STEPS_PER_REV 2048
Stepper conveyorMotor(STEPS_PER_REV, 8 ,10 ,9 ,11);
Servo feedServo;
int servoPin = 6;
int angleClosed = 120;
int angleOpen = 105;
unsigned long lastFeedTime = 0;
unsigned long feedInterval = 345600000; /// time set to 4 day's
void setup() {
feedServo.attach(servoPin);
feedServo.write(angleClosed);
conveyorMotor.setSpeed(10);
lastFeedTime = millis() - feedInterval;
}
void loop() {
if (millis() - lastFeedTime >= feedInterval) {
feedServo.write(angleOpen);
delay(1000);
feedServo.write(angleClosed);
delay(500);
conveyorMotor.step(-850);
shakeBelt();
lastFeedTime = millis();
}
}
void shakeBelt (){
for (int i = 0; i < 10; i++)
{
conveyorMotor.step(100);
delay(3);
conveyorMotor.step(-100);
delay(3);
}
}