5v. The TX6122 has an internal zener from VDD to GND. I could use a 78L05 there to reduce dissipation in the LED driver.@Irving
I'm curious, what voltage are you running that ATtiny at in the circuit in post #36?
5v. The TX6122 has an internal zener from VDD to GND. I could use a 78L05 there to reduce dissipation in the LED driver.@Irving
I'm curious, what voltage are you running that ATtiny at in the circuit in post #36?
I see, thanks.5v. The TX6122 has an internal zener from VDD to GND. I could use a 78L05 there to reduce dissipation in the LED driver.
OK, plan BI think I said I never envisioned ever having more than 3 or 4 active at one time. Does that help?
They can control external LED chain at 16.5mA nominal CC, but if you use them to control an external P-channel MOSFET (or an NPN BJT + N-channnel MOSFET) you lose the constant current feature and need a separate CC feed per channel.WS2811 is a chip that allows you to daisy chain 300 (or more) together, all controllable separately from a single microcontroller. For each mug you would need s WS2811 chip, and a MOSFET, and probably a capacitor. They are all strung together with 3 wires. They are the same as the more common WS2812 used in strips, but don’t have the LEDs on chip, and therefore can control higher power LEDs.
I don’t think there is a simpler way to do this.
They are individually controllable, same as WS2812B. And yes, you need a MOSFET and resistor to control the LED. Like I said, 3 or 4 parts per node. Or, if you prefer, each chip could control 3 nodes. Then you needed 100 chips and capacitors, 300 MOSFETs and limiting resistors. You still get the controllable PWM per channel and only 1 micro and 1 signal line is needed for the entire setup. 100 chips cost $12 on Ebay, probably cheaper on Ali Express.But they don't meet the TS requirements as ALL LEDs follow the same sequence, they are not individually addressable. Great for LED strips, not great for individual lighting.
Ah I get you. Not individually addressable, but address implied by position in chain. Chain length determined by # of 24bit packets between 280uS 'breaks'. The bit time for 0 or 1 is 1 - 1.4uS * 24 = 24 - 34uS so 300 nodes is 10mS. OK, that works though that timing is based on LED strip with controlled impedances between nodes; I doubt that works for random length wires between jugs - would need to be tested carefully to see how low a speed you can go, maybe 100uS gap between nodes might work as can't increase bit timing within packet. Might need to split into multiple strings.They are individually controllable, same as WS2812B. And yes, you need a MOSFET and resistor to control the LED. Like I said, 3 or 4 parts per node. Or, if you prefer, each chip could control 3 nodes. Then you needed 100 chips and capacitors, 300 MOSFETs and limiting resistors. You still get the controllable PWM per channel and only 1 micro and 1 signal line is needed for the entire setup. 100 chips cost $12 on Ebay, probably cheaper on Ali Express.
I have used strips separated by 5’ of wiring with no special attention and it works fine.that timing is based on LED strip with controlled impedances between nodes; I doubt that works for random length wires between jugs - would need to be tested carefully to see how low a speed you can go, maybe 100uS gap between nodes might work as can't increase bit timing within packet.
Neat, those LED strips are pretty impressive for ambient lighting in a room, or behind a TV, and that shows the capability of the WS281x devices (tbh I've not used them in anger before so I've learnt something from this exercise too). Having said that, the required light output of a LED inside a jug needs to be much higher in a much smaller space to get the TS' desired result.This not the best video but you can see what ws2812 leds kind of can do thats 300 leds full on there only 3 amps full white light is a little more 3.5 amps the lights are blinding and can feel a room with color. https://youtube.com/shorts/r6VVjjebhGQ?si=Waa29CiXXQuh6JzT
I think you worry too much about the current control. A 5V supply and resistor should be fine. Each mug is going to filter a different amount of light through it anyway, so I think they will need to be individually calibrated via the PWM to make the effect consistent. The WS2811 makes that easy to do.Specifically how to drive a constant current through the 1, 2 or 5 LED with minimal losses but maximal flexibility.
It can only output about 16mA, not enough to light these mugs. If an external transistor is used, you have to limit the current somehow. You can then control the brightness via PWM.The ws2812 you can set brightness