Thanks for downloading!
We'd love to hear from you if the print was successful. If you like the design, please consider donating to the designer.
Donate to GIL'S LAB길스랩Automatic feeder for dogs made of PVC pipe
Automatic feeder
For your home
Creative Commons Attribution Share Alike
Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.
Description
PayPal Donations :
https://www.paypal.me/01044488692
Materials and methods
pla , infill 30%
ARDUINO SOURCE CODE
==========================================================
#include // 스테핑 모터 라이브러리를 정의 한다 int in1Pin = 13; // [A] 상을 정의 한다 int in2Pin = 12; // [B] 상을 정의 한다 int in3Pin = 7; // [/A] 상을 정의 한다 int in4Pin = 6; // [/B] 상을 정의 한다 Stepper motor(200, in1Pin, in2Pin, in3Pin, in4Pin);
void setup() { pinMode(in1Pin, OUTPUT); // [A] 상을 출력으로 지정한다 pinMode(in2Pin, OUTPUT); // [B] 상을 출력으로 지정한다 pinMode(in3Pin, OUTPUT); // [/A] 상을 출력으로 지정한다 pinMode(in4Pin, OUTPUT); // [/B] 상을 출력으로 지정한다 motor.setSpeed(10); }
void loop() { motor.step(200); // 360도 정회전 delay(1000); motor.step(-50); // 90도 역회전 delay(1000); motor.step(200); // 360도 정회전 delay(1000); motor.step(-50); // 90도 역회전 delay(1000); motor.step(200); // 360도 정회전 delay(1000); motor.step(-50); // 90도 역회전 delay(1000); motor.step(200); // 360도 정회전 delay(1000); motor.step(-50); // 90도 역회전 delay(1000); digitalWrite (13,LOW) ; digitalWrite (12,LOW) ; digitalWrite (7,LOW) ; digitalWrite (6,LOW) ; delay(3600000); }
Documents
Issues
Issues are used to track todos, bugs or requests. To get started, you could create an issue.