Turntable with variable steps (2038steps)

Rotary table with variable steps (2038steps) and browser interface, driven by NodeMCU, 28BYJ-48 stepper and ULN driver.
13
54
1
748
updated September 11, 2023

Description

PDF

150mm Turntable with variable steps (2038steps) and browser interface

 


How to use

You can either use the browser interface by simply pressing the buttons and setting the steps, or you can connect a push button to move the stepper motor.

With the push button 5 steps are pre-set, which is approximately 0.9 degrees.

 

What you need:

Hardware
- 4x 608zz Bearings 
- NodeMCU Amica Modul V2 ESP8266 ESP-12F (dimensions matters)
- 28BYJ-48 stepper and ULN driver
- Micro USB Data Kabel
- Smartphone or Computer with Wlan and Internet
- (Push Button)
- (10k pull-up resistor)

Software
- Arduino IDE (sketch included)

 

Printed Parts

1x Turntable_Base.stl
1x Turntable_Lid +0.4mm.stl
1x Turntable_Pin Bearing.stl
1x Turntable_Clip Bearing.stl
1x Turntable_Pin ESP&Driver.stl
1x Turntable_Pin Motor.stl

(Turntable_Lid +0.2mm.stl)
(Turntable_Lid +0.3mm.stl)

ca. 152g (PLA, 2 Wall, 3 Top/Bottom, 15%infill)

The different millimeter specifications at “Turntable_Lid” refer to the connection to the motor.
I prefer to use +0.4mm, so you can easily put on and take off the lid. Some play is normal, but does not interfere with operation.

How to assemble

It is designed for use without screws, but there are holes for screws.
Pretty straightforward. Mount the NodeMCU, motor and driver in the provided places.
Attach it with the pins or screws.

 

Wiring (if provided code is used)

IN1 - D1
IN2 - D2
IN3 - D3
IN4 - D4
NodeMCU VIN - 5V Driver
NodeMCU GND- GND Diver

(D5 - Push Button1)
(3,3V - resistor - Push Button1)
(GND - PushButton2)

 

How to upload code

  1.  Install the Arduino software: Download and install the Arduino software from the official Arduino website
  2. Select your USB port  and then choose “NodeMCU 1.0 (ESP-12E Module)”
  3. Install all necessary libraries: 
    <AccelStepper.h> 
    <ESP8266WiFi.h> 
    <ESP8266WebServer.h>
  4. Open code: “sketch_STEPPER_WIFI.ino”
  5. Adjust Wi-Fi settings (Line88) like:
    WiFi.begin("SSID", "Password")
    to
    WiFi.begin("WLAN_021456", "MyPassword123")
  6. Upload the code: Upload the Code to the NodeMCU 
  7. Find out the IP of your NodeMCU and open the IP in Browser
  8. or use the Push Button
  9. Use and have fun

Tags



Model origin

The author marked this model as their own original creation.

License