Project showcase
Rotating Platform!

Rotating Platform! © LGPL

A small, portable rotating platform. Great for reviews!

  • 3,359 views
  • 3 comments
  • 13 respects

Components and supplies

Necessary tools and machines

3drag
3D Printer (generic)
09507 01
Soldering iron (generic)

Apps and online services

About this project

This is the second version of my rotary platform. I make videos for YouTube and needed something I could present my components and completed projects on. So I decided to build this thing! The first version was based on an Arduino, but I considered it as too expensive just for powering a stepper motor and setting its speed. So I went for the ATtiny13A which is much cheaper. The electronics look the following:

The ATtiny reads the value from the potentiometer and applies a certain delay in the code to speed up or down the rotation.

The platform itself I printed on my Anet A8 and it is removable:

To program the ATtiny, I used this schematic and an Arduino:

After that you can write a standard Arduino program without any changes for the syntax or anything. The only thing you should remember is that you only have 1 KB of space for your program.

The pinout, just in case:

Please, watch this video about the building process:

If you liked it, please leave a like and comment on YouTube! I would really appreciate that :)

PS: I applied a little bit too much voltage to the schematic, it would be good to add a buck converter...

Code

The codeC/C++
int in1 = 0;
int in2 = 1;
int in3 = 2;
int in4 = 3;

int val = 1;

#define pot A0

void setup() {
  pinMode(in1,OUTPUT);
  pinMode(in2,OUTPUT);
  pinMode(in3,OUTPUT);
  pinMode(in4,OUTPUT);
  
  pinMode(pot, INPUT);
}

void loop() {
  val = analogRead(pot) / 200;

  digitalWrite(in1, HIGH);
  digitalWrite(in2, HIGH);
  delay(val);

  digitalWrite(in1, LOW);
  digitalWrite(in2, HIGH);
  delay(val);

  digitalWrite(in2, HIGH);
  digitalWrite(in3, HIGH);
  delay(val);
  
  digitalWrite(in2, LOW);
  digitalWrite(in3, HIGH);
  delay(val);
  
  digitalWrite(in3, HIGH);
  digitalWrite(in4, HIGH);
  delay(val);
  
  digitalWrite(in3, LOW);
  digitalWrite(in4, HIGH);
  delay(val);

  digitalWrite(in1, HIGH);
  digitalWrite(in4, HIGH);
  delay(val);
  
  digitalWrite(in1, HIGH);
  digitalWrite(in4, LOW);
  delay(val);

}

Custom parts and enclosures

The 3d model, altough it is just a prototype.

Comments

Similar projects you might like

4*4*4 LED Cube Using Arduino Embedded Prototyping Platform

Project tutorial by STEMpedia

  • 2,105 views
  • 0 comments
  • 10 respects

Arduino AI platform -- life assistance

Project in progress by Team Robert's Robot

  • 3,217 views
  • 2 comments
  • 11 respects

Level Platform Using Accelerometer

Project tutorial by Mark Tashiro

  • 16,966 views
  • 15 comments
  • 29 respects

Servo-Controlled, Light-Tracking Solar Panel Platform

Project tutorial by scott mangiacotti

  • 12,447 views
  • 10 comments
  • 41 respects

Arduino IoT with SAP HANA Cloud Platform

by derapados

  • 5,756 views
  • 11 comments
  • 8 respects
Add projectSign up / Login