This is a circuit which connects 3.7V 18650 Li ion battery to a mt3806 boost converter (3.7V to 5V), D1 mini to adps 9960 RGB gesture sensor and 16bit ws2812 LEDs. Function of this circuit is that it takes gestures from the sensor and switches the LED on and off. All of it controlled by D1 MINI.
i have a circuit diagram. could you check and let me know if i need to improve the circuit in anyway? be it safety of equipments or operation.
Thank you for your response.
no the LEDs operate at 5V only.
Can you explin why 470uF caps ? I am a noob at this and wanted to take advice
To give more context m running this setup using USB cable connected to laptop. its working as expected except for a couple of rogue LEDs while D1 mini is booting up. I want to use only one 18650 and boost it to power the whole thing. Dont have all the components yet but want to make sure its fine before I make this circuit.
Also, the capacitors have to be with power and GND,isnt it ? ChatGPT was suggesting Data line and GND. I was confused.
Thanks and regards
Data signal should be at least 0.7*Vcc, but most likely it works at 3.3V.
You could adjust boost output little below 5V to help.
Most correct way would be level shifter to "boost" signal to 5V.
are you suggesting I try with the 3.3 V on the D1 mini ?
I just tried. It is working! Lmaooo. Althoughof course, not the same brightness. Can you tell me what are the implications of this? I dont really need a booster, no? are there any impacts on the circuitry?
Yes, thats what I had in mind too. But it seems to be working with 3.3V VCC at the moment. IF this is working, i can remove the whole booster from the circuitry, no? What happens if i want to introduce more LEDs?
The WS2812 and WS2812B requires about 5V to work. The WS2812 should operate at anywhere between about 4V to 7V while the WS2812B should operate at anywhere between about 3.3V to 5V . 5V is readily-available on most boards. The 5V header on an Arduino board, for example, is a perfect voltage supply for the LEDs.
This green arrow is the signal I am referring to.
You might need to add a 3v3 to 5v buffer in series with this signal.
Thank you for your response. What do you mean by buffer? the booster? Where should it be placed?
I can share you my figma file if you can re arrange the circuit would be helpful.
The video I shared in the previous message shows I have connected to 3.3V to the VCC of the LEDs. It seems to be working as expected. I do feel that if i need to add more LEDs it might need the higher voltage and the caps to stabilize. But for the 16bit, to my surprise, its working.
If you have Ws8212B and it works at 3.3V I don't see problem. But your circuit presents that you power Esp from the booster as well. Direct battery voltage to VIN of Esp is not reliable option to my opinion.
If you introduce more LEDs (simultaneously on), the current draw raises, consider that with your powering options.
Yes, I m planning to either power this whole thing with neomatrix LED's at some point or led strips. Need to consider. And I know i need a Capacitor for the LEDs. But values I need to figure
oh no no, sorry for my english, I meant powering the whole circuit with other type of LEDs part from just 16 bit. I want to power with 3.7V battery as the form factor is much better than having two. Hence the booster, hence the need to secure the circuit in case more LEDs get introduced.
Problem with batteries is that voltage varies, your 3.7V can actually be anything between 3V and 4.2V. That's why the booster.
Adding more LEDs is not voltage related, but your setup needs to be able to provide sufficient current. You can't just build a working setup for 16 LEDs and scale it up to 500 without considering the current..