Controlling RGB LEDs with only powerlines: Anatomy of a Christmas light string
cpldcpu.wordpress.com
cpldcpu.wordpress.com
The large-scale physical design is as simple as possible (just regular wiring), the individual components are all "smart" (Christmas lights each with their own integrated IC, doesn't get more embedded than that) and addressable via a communication protocol.
Imagine how difficult the wiring would be to have 100 addressable lights that didn't use this arrangement!
1-wire is a similarly clever protocol.
Fortunately my place is so small a 100’ cat-5 cable reaches any point in it, so I just use wired. Wifi barely works.
Considering wifi-6, but I can’t figure out if it helps with this type of congestion or not…
The hardware world moves much slower than software one, and the if the designs work, they are rarely replaced.
The ones in the article have only 2 wires, positive and negative.
The key is to drive a current and control the voltage at both ends of a string such that each LED detects modulation and bypasses (itself) or consumes power (in-line). That might be relevant where the strength of a single (e.g. steel) wire was used to support a long string. By driving relatively low (max RGB) current at higher voltages and time (e.g. PWM) sequencing the light modulation.
In a simple case, imaging there are 100 RGB lights, half of them excited on each polarity and bypassed with a 0.2V Schottky stacking to +/-10V minimum (for digital data) at <100mA. You might synchronize and send data to the smart lights each "zero crossing" and get away +/-50Vpp for the string by only having 10 (12.5%) stacked (inline) on at any one time (a controller for the LED FETs can stay awake on a capacitor). As long as you run at a few kHz you won't have noticeable flicker, capacitive and you can update with a few bits per light each cycle.
More complex designs could use FETs to improve data link efficiency of the minimum voltage and higher current (lower PWM times) could substantially reduce peak voltage to +/-5V or so.
With small changes though, they could have allowed arbitrary addressing, which would have made these LEDs applicable for a far wider variety of products.
One way would be to deliberately make the string of LED's reflect the signal back from the unterminated end of the string. Then, make each LED only respond if the reflection and original signal add up past a threshold.
The controller can then have an initialisation step where it 'discovers' all the functioning LED's and their position on the line (by looking at the power draw when commanding them to turn on).
The downside is you'd be sending GHz bandwidth pulses down a poorly controlled pair of wires, and sharp bends and stuff might leak rather a lot of RF.
> The control groups are randomly distributed across the curtain.
Given the manufacturing process[0] linked, it could be a _little_ tricky to actually assign a known ID to each light in the strand, but either using the placement order when the strand is made or using a stochastic process to randomize the IDs and subsequently calibrate the strand should be viable, and result in a low cost strand with WS2812-like capabilities.
Try chemistry, mining, process engineering or even mechanical engineering in comparison?
Edit: oh it uses i5 with Ubuntu ha, plus separate graphics for the AI part
Mining, I dunno, buy a shovel? Hobby prospecting - sluicing and panning for gold, mostly - was still a thing in the rural west when I was a kid. I'd bet you could find a forum or something if you searched.
Process engineering, I don't know what you'd want to do as a hobbyist.
Mechanical engineering - 3d printers and chinese machine tools are affordable. It's never been easier to buy small parts and fasteners. The free finite element simulation packages are getting pretty good.
Having experience in both, and started at rather young age (pre-teens both) - the hurdle is the "magic smoke" (that all electronics devices work with). Mistakes are very punishable with components and power supplies blowing up, while software mistake are extremely forgiving... unless you work on an 8bit 6502 that doesn't have properly implemented RST signal and cold restarts the entire machine instead, wiping off its memory, on top of lacking any permanent storage.
Mistake and learning electronics costs resources and time each time, and it's a lot more frustrating. Also bread boards (nowadays) don't really need a soldering iron.
I say 'should' not because I think so, but because this is literally what is written on the labels affixed to many such products. We went from lights featuring incandescent light bulbs which came with a few spares in the box (anyone could replace those), to LED lights with a few spares (finicky to replace, but doable), to almost exclusively fixed-in-place LED lights without replacements and labels attached that tell the user to throw the chain out when lights break. And now more and more complexity with integrated ICs.
Only those of us with a soldering iron can salvage some of them, and this new category seems like it might not be repairable at all (excepting the really clever EE folk like the author). Environmentally speaking, the increased complexity and focus on ease of manufacturing of such products seems to reduce their lifespan as well, with repairability already at a minimum.
There's no reasonable chance of voting with your wallet against those numbers. Sure, I might be able to get some fancy hand-crafted Swedish Christmas lights with a ten year replacement part availability guarantee on some website, and who knows, perhaps a very effective word-of-mouth campaign will make them quite successful! — and still not make a dent in the global market. Realistically, it won't have any measurable impact in the greater scheme of things. This product is driven by sellers and manufacturers going for the absolute bottom in price because it is technologically feasible, externalities (like the environmental impact) are not part of the cost, and most consumers have plenty of other worries and simply crave a bit of Christmas cheer.
1: Here in the Netherlands, although likely globally applicable.
What's the way forward?
You seem to think this is a step backward?
If you remember old lights you had bulbs that regularly blew, and the bulbs had to be thrown away and replaced. If you couldn't find compatible new bublbs you had to throw the whole thing away. The LEDs are not replaceable... but they hardly ever break either.
The LED lights product lasts longer, and doesn't consume bulbs. Strictly better, isn't it?
Not my experience. My living room lighting already blew up two times and no, it wasn't the transformer which would be easy to replace.
> and doesn't consume bulbs.
Instead I have to throw away the whole thing with all its coper inside.
> Strictly better, isn't it?
Not in my books
They have replaceable "bulbs", but HD doesn't sell them, "because they are never supposed to break".
Found replacements that sort of work (different shade of white) a another store for some of the strings, but not for others, and had to throw them away. Very sour with the experience.
The reason is not the LEDs themselves but... money. The LEDs are overdriven to show higher lumen numbers (and wattage) on the box. That results in overheating both of the LEDs and the driving circuits - one of them fails. In short it's the good old - planned obsolescence.
It's absolutely possible to have LEDs that last for 50k hours (while losing 20% of their brightness) but don't fail. Sometimes even adjusting a resistor value (to reduce the current through the LEDs) would do the trick.
Not the kind of thing that gets people motivated though, "let's make this product less powerful" isn't a common modding activity.
Actually it is for 'consumer' LEDs products, like a top 1. Undervolting GPUs and laptop CPUs is rather common too.
* Adjusting a current regulator to drop a 10W lamp to ~2W - https://www.youtube.com/watch?v=YeWnHnZ-ojw
* Adjusting a capacitive dropper-based lamp from 5W to 0.5W - https://www.youtube.com/watch?v=RKRz7EplgDE
* Making a "Dooby" (inspired by the Philips Dubai lamps[1]) lamp - using a series capacitor to make various lamps run at 0.1-2W - https://www.youtube.com/watch?v=ISTB0ThzhOY
[1] They're designed to have a higher energy efficiency and a longer operational life - https://www.youtube.com/watch?v=klaJqofCsu4
And yes, I'm sure many of us remember pulling out an old string of christmas lights, only to discover it doesn't work and then spending two hours looking at every single bulb close up to figure out which one is blown, and pray any of the replacements work. The LED strings just work forever.
Also I never had those issues in the past with other appliances. But alas it is anecdotal and someone has to be statistical outlier.
The same thing also happens with the LED strips within monitors, monitors get replaced when they become too dark.
I would be suspicious about the quality of the electricity in the place you live or work at when you see this stuff break at too high of a frequency. Not directly related to LEDs, but somehow I had electronics like computers or just plain old regular incandescent light bulbs break far more often in a house I used to live in, and I used to blame bad luck with the devices I bought, until I moved into another apartment and things actually started to have acceptable life expectancy.
> And now more and more complexity with integrated ICs.
I dunno. Which is more likely to fail? The older electromechanical "blinkers" they used or a solid state IC?
I do get it though. Society is addicted to disposable things. But I'm not sure the problem is these things being non-user-servicable. When these things go, they go... Usually the cabling gets fucked on them long before the LED's.