Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
theottermaster
Published © GPL3+

Pinwheel Twister

Marble run extreme set dropper.

IntermediateFull instructions provided91
Pinwheel Twister

Things used in this project

Hardware components

SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Arduino Mega 2560
Arduino Mega 2560
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Schematics

win_20211126_17_59_54_pro_r8zD7Id2Si.jpg

It is a little bit blurry, but it is still readable.

Code

Servo code

Arduino
Found through much trial and error
#include <Servo.h>


Servo servo;

void setup() {
  servo.attach(9);
  
}
void loop() {
  servo.write(0);
  delay(500);  
  servo.write(359);
  delay(500);
  servo.write(0);

}

Credits

theottermaster
0 projects • 0 followers
Contact

Comments

Please log in or sign up to comment.