frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Constant-Current Design for a 100M Outdoor LED Run

2•emmasuntech•45m ago
Last winter, I was asked to design permanent architectural lighting for a 100-meter-long pedestrian pathway in northern Europe. The client wanted uniform, maintenance-free illumination using addressable LEDs—but with one catch: the installation had to survive -30°C winters, summer rain, and run reliably for years without visible voltage drop or color shift.

Most off-the-shelf “12V RGB” solutions failed within weeks in testing. Voltage sag over 100m caused the far end to dim by 60%, and thermal drift made white balance inconsistent. So I went back to basics: constant-current control, not constant-voltage.

Here’s how I solved it—and why you might want to rethink “just add more power injectors.”

Why Constant-Voltage Fails at Scale Standard WS2812B/SK6812 strips are designed for short runs (<5m). They rely on: A single +5V rail On-chip linear regulators per pixel Data signal referenced to local ground Over 100m of 18 AWG cable (even with dual injection), IR drop exceeds 1.5V. Result: Far-end pixels receive <3.5V → brownout, flicker, or reset Ground potential shifts → data corruption Current draw spikes during color transitions → thermal runaway in drivers Power injection helps, but introduces new problems: ground loops, EMI, and complex wiring.

The Constant-Current Approach Instead of pushing high current through long wires, I treated the entire strip as a distributed load driven by localized constant-current regulators.

System Architecture: Low-voltage AC backbone:Ran 24V AC (SELV-compliant) along the entire 100m path using shielded twisted pair. Why AC? No electrolytic corrosion, no ground potential issues, easy isolation. Per-segment DC/DC + CC modules: Every 5 meters: a custom PCB with: Isolated 24V→5V flyback converter (TI UCC28780) Precision constant-current sink (based on LM334 + MOSFET) Local ESP32-S3 for data regeneration & health monitoring Each module powers exactly 2.5m of SK6812 (60 LEDs) Differential data signaling: Used RS-485 transceivers (MAX13487) to send DMX-like packets over the same cable Each node decodes its slice, regenerates PWM for local LEDs Eliminates data degradation over distance Key Benefits: True current regulation: Each LED gets exactly 18mA ±2%, regardless of temperature or input voltage No ground loops: All segments galvanically isolated Fault tolerance: One segment failure doesn’t cascade Power efficiency: 24V AC reduces I²R losses by ~75% vs 5V DC over same wire

Power Budget & Thermal Design Total LED count: 2,400 pixels Max power: ~360W (at full white) Average runtime power: ~120W (dynamic content) Each module dissipates <1.5W → passive cooling sufficient even at -30°C All electronics are potted in IP68-rated enclosures with conformal coating. After 10 months in the field, zero failures.

Lessons Learned Don’t treat LEDs like logic loads—they’re analog devices sensitive to current drift. Distance changes everything,what works on a breadboard fails catastrophically at 100m. Isolation is cheap insurance against ground issues in outdoor deployments. This isn’t the easiest solution—but for permanent, professional-grade installations, constant-current + distributed control is the only way I’ve found to guarantee uniformity and reliability.

Comments welcome—especially if you’ve tackled similar large-scale LED challenges!

Comments

rbanffy•1m ago
This needs a blog post.

Samsung reveals its tri-fold phone – and its desktop mode

https://www.theregister.com/2025/12/02/samsung_galaxy_z_trifold/
1•beardyw•1m ago•0 comments

Command Line Programs for the Blind

https://www.eklhad.net/philosophy.html
1•lioeters•1m ago•0 comments

Show HN: Dataframe-Expectations – Validation for Pandas and PySpark DataFrames

https://github.com/getyourguide/dataframe-expectations
1•ryan_seq•2m ago•0 comments

Why Conventional Price Theory Fails

https://danieltan.weblog.lol/2025/12/appendix-a-price-as-productive-capacity-signal
1•danieltanfh95•2m ago•0 comments

How Brian Eno Created Ambient 1: Music for Airports (2019)

https://reverbmachine.com/blog/deconstructing-brian-eno-music-for-airports/
1•dijksterhuis•3m ago•0 comments

Natural Deception with RL

https://www.rajan.sh/emergent-deception
1•gmays•6m ago•0 comments

3D necroprinting: Leveraging biotic material as the nozzle for 3D printing

https://www.science.org/doi/10.1126/sciadv.adw9953
1•rbanffy•7m ago•0 comments

DeepSeek-v3.2

https://simonwillison.net/2025/Dec/1/deepseek-v32/
3•doppp•9m ago•0 comments

Ilya Sutskever Just Told Us the Scaling Era Is Over

https://canartuc.medium.com/ilya-sutskever-just-told-us-the-scaling-era-is-over-3f7891e8016f
3•rbanffy•11m ago•0 comments

China floods the world with gasoline cars it can't sell at home

https://www.reuters.com/investigations/china-floods-world-with-gasoline-cars-it-cant-sell-home-20...
3•petethomas•11m ago•0 comments

The Rest Is Silence: Empirically Equivalent Hypotheses about the Universe

https://www.centauri-dreams.org/2025/12/01/the-rest-is-silence-empirically-equivalent-hypotheses-...
2•JPLeRouzic•23m ago•0 comments

The danger of Biorender (& the death of scientific illustration)

https://twitter.com/NickDesnoyer/status/1995474245648843184
1•the-mitr•26m ago•0 comments

China claims 3D hybrid bonding techniques for 120 TFLOPS of power

https://www.tomshardware.com/tech-industry/semiconductors/china-claims-14nm-ai-chip-can-rival-nvi...
3•rguiscard•28m ago•1 comments

The New German War Machine

https://www.theatlantic.com/magazine/2026/01/german-militarism-european-security/684951/
2•petethomas•29m ago•0 comments

Ghost is a powerful app for professional publishers

https://ghost.org
1•doener•29m ago•0 comments

Spy Basket

https://en.wikipedia.org/wiki/Spy_basket
2•mnky9800n•37m ago•0 comments

Vim animation for Advent of Code day 1

https://www.ppppp.dev/vim-animation-for-advent-of-code-day-1/
1•I_like_tomato•37m ago•0 comments

Apple to resist India order to preload state-run app as political outcry builds

https://www.reuters.com/sustainability/boards-policy-regulation/apple-resist-india-order-preload-...
8•Brajeshwar•45m ago•1 comments

Constant-Current Design for a 100M Outdoor LED Run

2•emmasuntech•45m ago•1 comments

Galaxy Z Trifold – unboxing and first look

https://www.youtube.com/watch?v=CfcQDvoFPJQ
1•immutableRef•49m ago•0 comments

Rootless Pings in Rust

https://bou.ke/blog/rust-ping/
10•bouk•49m ago•0 comments

How to Convince Andrej Karpathy to join my startup?

1•aiqbal•49m ago•1 comments

Social Security wants about 15M fewer visits in its field offices

https://www.nextgov.com/digital-government/2025/12/social-security-wants-about-15-million-fewer-v...
2•petethomas•52m ago•0 comments

A Different Conversation with Nikhil Kamath – People by WTF [video]

https://www.youtube.com/watch?v=Rni7Fz7208c
1•keepamovin•52m ago•0 comments

Intelligence per Watt: Measuring Intelligence Efficiency of Local AI

https://arxiv.org/abs/2511.07885
2•mzl•54m ago•0 comments

Building a Real-Time Crypto Pump-and-Dump Detector with SQL

https://risingwave.com/blog/build-real-time-crypto-pump-dump-detector-sql/
2•AnneWodell•54m ago•0 comments

OpenAI's Altman Declares 'Code Red' to Improve ChatGPT

https://www.wsj.com/tech/ai/openais-altman-declares-code-red-to-improve-chatgpt-as-google-threate...
7•rrsp•54m ago•0 comments

Tom Stoppard's Ordinary Magic

https://www.commonreader.co.uk/p/tom-stoppards-ordinary-magic
2•benbreen•56m ago•0 comments

Responsive Letter Spacing

https://cloudfour.com/thinks/responsive-letter-spacing/
1•Kerrick•57m ago•0 comments

Coders Love This AI Startup (Cursor). Can It Last?

https://www.wsj.com/tech/ai/millions-of-coders-love-this-ai-startup-can-it-last-45b72441
2•achow•57m ago•0 comments