Ingo Lohs
Published © GPL3+

Presenter

This creates a rotating platform for displays.

BeginnerFull instructions provided1 hour2,402

Things used in this project

Hardware components

RF-300CA DC Motor
or equal low DC Motor
×1
Arduino UNO
Arduino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
2 pieces
×1

Software apps and online services

Arduino Web Editor
Arduino Web Editor

Hand tools and fabrication machines

corrugated cardboard
scissors
glue
color spray white

Story

Read more

Code

Präsentierer

C/C++
v1.0
int motorPin = 3;
 
void setup() 
{ 
  pinMode(motorPin, OUTPUT);
  Serial.begin(9600);
  while (! Serial);
  Serial.println("Speed 0 to 255");
  Serial.println("But the advice 50 to 255. Because the minimum voltage required to start the motor is 50.");
} 
 
 
void loop() 
{ 
  if (Serial.available())
  {
    int speed = Serial.parseInt();
    if (speed >= 0 && speed <= 255)
    {
      analogWrite(motorPin, speed);
    }
    delay(4000);
  }
} 

Credits

Ingo Lohs

Ingo Lohs

182 projects • 194 followers
I am well over 50 years and come from the middle of Germany.

Comments