Search models, users, collections, and posts

Arduino Dancing Servos

Print Profile(1)

All
P1S
X1E
H2D
A1 mini
X1 Carbon
H2D Pro
P2S
H2S
X2D
A1
X1
H2C
P1P
A2L

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
4.2 h
3 plates

Open in Bambu Studio
Boost
7
20
1
0
4
0
Released 

Description

Dancing Servos Project

This project creates the illusion of synchronized “dancing” using 16 servo motors controlled through a PCA9685 16-channel servo driver. An RGB LED module (WS2812B, 8 LEDs) is integrated to match the motion with dynamic lighting effects.

The core concept is straightforward: all servos are connected to the PCA9685 driver, which is controlled via I2C from an Arduino. The system uses the Adafruit PWM Servo Driver library (Adafruit_PWMServoDriver.h) alongside the Wire library for communication.

The RGB LEDs are controlled separately using the FastLED library, allowing precise timing and color synchronization with the servo movements.

Power management is critical. The PCA9685 requires 5V from the Arduino for logic, but the servos must be powered by an external 5V supply to avoid overloading the board. The LED module also requires its own external power source, as each RGB LED can draw up to 60mA at full brightness.

Required Components:

  • 3D printer + filament (PLA+ recommended)
  • 8 × M2.5 × 8 mm bolts
  • 16 × SG90 servo motors
  • Arduino Uno
  • PCA9685 16-channel servo driver

    You can find the github repo here with electrical diagram: https://github.com/viktorptrv/ArduinoProgramming/tree/main/Projects/DancingServos

Comment & Rating (1)

(0/1000)