Close

A Smart Lamp That improves sleep quality

Back to overview

This lamp uses sleep cycles to wake you up at the optimal time based on when you sleep and your target wake up time for better sleep quality

Discussions

dragon tigi wrote 01/17/2025 at 18:52 point

I got a question, the Ws2813 LED strip seems directly connected to the Xiao esp32 c3. You are using 10 leds in your setup, assuming each led takes 60mA, this is 600mA. Can the esp32c3 deliver this much power safely? If I search I find the esp32c3 is able to safely power 200-300 mA max. Is there another way to power the leds? Like if you wanted to use more 30 leds?

  Are you sure? yes | no

Ken Yap wrote 01/17/2025 at 20:10 point

WS2813 strips are powered from the 5v supply that is connected to it. The MCU sends only control signals on the lines connected to it.

  Are you sure? yes | no

dragon tigi wrote 01/17/2025 at 20:16 point

Thanks for the clarification! Though this isn't really clear on the wiring diagram since they are connected to the esp32 directly as it seems, and the esp32 is powered by usb. Or am I missing something?

  Are you sure? yes | no

Ken Yap wrote 01/17/2025 at 20:32 point

You need to look at the datasheet of the WS2812 or read a description of it to understand how it works. The schematic is only part of the information.

  Are you sure? yes | no