1 / 5
Rainbow night light — zdjęcie 1
1 / 5

Rainbow night light

Zamów wydruk tego modelu

Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.

Zapisane na tym urządzeniu.

Ws2812 base color changing night light

Ocena
0 / 5
Polubienia
4
Pobrania
13
Wydruki
0
Wyświetlenia
94
Oceny
0

Aktualizacja u źródła:

Informacje o modelu

Źródło
Printables
Kategoria
Home Decor
Licencja
Creative Commons — Attribution — Noncommercial

 

For this model you need the following components:

  1. STM32 bluepill 
  2. stm32cubeide software
  3. WS2812 led strip (40 leds are required in total)
  4. small switch
  5. 5.5X2.5 8mm power jack insert
  6. 5V 1A power supply
  7. hot glue

The code is in this repository:

in order to build conduct the following steps:

  1. cut the WS2812 strip to 3 pieces: 1X17 led strip, 1X13 led strip, 1X10 led strip
  2. solder the strips together (this is done in order to be able to glue the strips to the 3d printed part)
  3. solder the led strips to the stm32
    1. 5V →5V
    2. GND → GND
    3. Din → A0 
  4. Solder switch and power input to 5V and GND in the strip respectively. you want the switch to control the 5V input to the strip
    1. note that the strip feeds the stm32 via the 5V and GND pins
    2. note that you can just use a wire and directly pass it through the 8mm hole. be sure to secure the wire with hot glue if you chose to do this. 
  5. remove protective tape and glue ws2812 strip to model
  6. upload the code and enjoy

 

Here is a picture of the lamp without the cover after soldering and gluing the components:


and with the cover closed:

Tagi