Notifications
Clear all

-->September 6th, 2025<--

Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.

--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark

Color-flashing LEDs but doesn't seem to be a ground issue

2 Posts
2 Users
0 Reactions
608 Views
(@mallock)
New Member
Joined: 1 year ago
Posts: 1
Topic starter  

Hi, I'm trying to build a setup using <a href=" removed link " target="_blank" rel="noopener">these 5mm LEDs with custom wiring. In my prototyping setup I have a single LED on a breadboard, connected to a Pi 3, and all powered by a 5V power supply. Also using an SN74AHCT125N level-shifter per the Basic parts list and everything is wired per <a href=" removed link " target="_blank" rel="noopener">this diagram. But I keep getting the problem where the LED flashes different colors. I know this often indicates a grounding issue but I've added as many as four ground leads between the Pi and the breadboard with no change in behavior. I've also tried different inputs and outputs on the level shifter. Sometimes that seems to make it more stable - but not 100% stable - and other times it doesn't seem to make a difference. I've also checked and wiggled all wires to see if any one of them might be a loose connection, changed breadboard holes, etc... None of that seems to make a difference.

I increased the logging fidelity and inspected those but I've never seen any errors reported. Which says to me that the software is working fine so from there, I wondered if I was shipped SK6812 LEDs instead of WS2812. If that were true then the LEDs might be GRBW instead of GRB. So as a test I modified line 307 of metar-v4.py to read 'LED_STRIP = ws.SK6812_STRIP_GRBW' per the rpi_ws281x library. Still no change so I'm really at a loss right now. The only think that I can think of at this point is that the level shifter might be bad. I'll probably order a couple more of those as a test but am I missing anything more obvious?

I'll also throw out that I set this project aside for a couple of years and am just now getting back to it. Using a previous version of the software and the same hardware, I never really had this flashing issue. It's only since I started back up and upgraded to v4 but that could just be a coincidence, who knows. Any ideas? I'd definitely appreciate any help. Thanks.



   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Mallock, you are describing the typical Ground Flash issue. Would you be able to take a few pictures of the wiring and post them here. We'll take a look to see if we can see something that could help. A few pics from different angles is most helpful. - Mark



   
ReplyQuote
Share: