Source code and parts list for equipping a skirt with blinking LEDs and some animations
Find a file
2021-02-18 17:46:32 +01:00
include first commit 2021-02-14 14:13:53 +01:00
lib first commit 2021-02-14 14:13:53 +01:00
src add startup colors, to keep powerbanks happy 2021-02-18 17:45:44 +01:00
test first commit 2021-02-14 14:13:53 +01:00
.gitignore add more modes and pushbuttonselector 2021-02-15 13:59:48 +01:00
Makefile first commit 2021-02-14 14:13:53 +01:00
platformio.ini add pinout to readme 2021-02-17 14:32:48 +01:00
README.md remove inaccurate wiring 2021-02-18 17:46:32 +01:00

Sourcecode for a skirt with blinking LEDs

Hardware

  • Arduino Uno or Arduino Nano
  • 6 Strips of 15 WS2812 or equivalent
  • rotary encoder
  • MPU6050 inertial measuring unit
  • three colored LEDs
  • 220Ohm resistor
  • 100µF 50V capacitor

Wiring

Arduino Pin Destination device Destination Pin
A2 rotary encoder CLK
A3 rotary encoder DT
A4 MPU6050 SDA
A5 MPU6050 SCL
D2 rotary encoder SW
D3 led yellow positive
D4 led blue positive
D5 led red positive
D6 1st strip of WS2812 Din
D7 2nd strip of WS2812 Din
D8 3rd strip of WS2812 Din
D9 4th strip of WS2812 Din
D10 5th strip of WS2812 Din
D11 6th strip of WS2812 Din

PCB Layout

Top

Devices

  • A02 through O08 Arduino Nano
  • S01 through W01 rotary encoder

Bottom

Devices

  • B10 through I10 MPU6050