Summary
I designed this lamp for use in the bathroom for diaper changes in the middle of the night instead of turning on the bright one in the roof. In my case its just a rule in Home Assistant of which light to turn on before or after bedtime when movement is detected. Of course your application may be something completely different and may not be connected to any home automation at all. In my case I used ESPHome to "program" and connect the light to Home Assistant.
They are versions with and without text
Needed parts
You will need:
- ESP8266 / ESP32 / Arduino small enough to fit in the base. I used a nodemcu (ESP8266) called D1 mini.
- Neopixel ring with an outer diameter of ~68-70mm (two common sizes)
- An usb cable and wall adapter (or alternative power source)
Wiring
If you choose to use an NodeMCU D1 Mini as I did the connections are the following.
| NodeMCU | Neopixel Ring |
|---|---|
| GPIO3 / rx | DIN |
| GND | GND |
| 5V | 5V |
The only part in need of any special settings is the solid dome which requires very low infill to shine through. I used 5% infill with only one bottom layer. This is the dome in the pictures and the one I preffered. The second dome with compartments shines much brighter and the light from each LED is very nicely separated. In my case I went for the more "frosted" version.
Assembly
The parts snap together. Glue with hot glue or use double sided tape for the NodeMCU. The led ring is placed between the two 3D printed parts
My ESPHome configuration
esphome: name: neobathroom platform: ESP8266 board: d1_miniwifi: ssid: "*****" password: "*****" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Neobathroom Fallback Hotspot" password: "*****"captive_portal:# Enable logginglogger:# Enable Home Assistant APIapi:ota:web_server: port: 80light: - platform: neopixelbus type: GRB pin: GPIO3 num_leds: 16 name: "neobathroom" effects: - addressable_rainbow: name: Rainbow speed: 10 width: 50Print Settings
Printer Brand:
FlashForge
Printer:
Adventurer 3
Rafts:
No
Supports:
No
Resolution:
0.16
Infill:
5%
Notes:
These settings are only relevant for the solid dome. The rest you could choose any settings for. In my case I choose honeycomb pattern which you can see in the pictures. I think it turned out really nice.
태그
모델 소스
