Easy Pump arduino stepper
Model details
- Platform
MyMiniFactory
- Price
- Free
- License
- CC-BY-NC-SA
- Non-commercial use only, with credit; share remixes under the same license.
- Formats
- STL
- 105 Likes
- 7 341 Views
Description
Easy pump with arduino and Stepper motor. https://youtu.be/dSlVYtNwtlo i use:
6x bearings: 10x5x4 mm NEMA 17Stepper motor with 5mm shaft steper driver pololu A4988 Arduino Nano rezistor 10k switch silicone pipe 5x3mm some screws M3,M2 and nuts
arduio code: int x; const int buttonPin = 2; int buttonState = 0;
void setup() { pinMode(6, OUTPUT); // Enable pinMode(5, OUTPUT); // Step pinMode(4, OUTPUT); // Dir digitalWrite(6, LOW); // Set Enable low pinMode(buttonPin, INPUT); Serial.begin(9600);
}
void loop() { buttonState = digitalRead(buttonPin);
Serial.println(buttonState);
if (buttonState == HIGH) {
digitalWrite(6, LOW); // Set Enable low digitalWrite(4, HIGH); // Set Dir high
for (x = 0; x digitalWrite(6, HIGH); // Set Enable low
}
}
Similar models
Easy Pump arduino stepper
UFO Abduction Lamp with blinking lights
Mini Tank Robot for Arduino Uno
Arduino obstacle avoiding car frame
Arduino obstacle avoidng car frame
Arduino SumoRobot
Nagini Wine Dispenser – Snake Head Pour Spout Inspired by Harry Potter
Printable Arcade machine
Glowing Heart
RC tracked robot
Seguidor de linea Pro
Names are used only to indicate the source of a result. Polyzon is not affiliated with the listed sites.



Comments