LED Status Light
-
Forgive me if this has been covered before (I'm sure it has but i've been searching for hours.)
I have Recalbox set up on my RPi3 model B. Running amazingly. Well, I have an LED light connected that I'm trying to use as a status indicator i.e turns on with emulationstation, and turns off after the system is shut down.
I have the positive wire connected to pin 8. When I start up the pi, the LED light turns on for about 3 seconds and then turns off. The light works well because when it's connected to pin 1, it stays on.
Does anyone know what i need to do to have the light stay on when Recalbox is running and turn off after shutting down?
I know how to do it on Retropie, but this specific system is going to use RecalboxThanks!!
-
@harris-hamburg You can find here how to add a power led:
https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)If you speak german here:
https://github.com/recalbox/recalbox-os/wiki/Start---Stop-Button-zu-deiner-recalbox-hinzufügen-(DE) -
@lackyluuk I appreciate your reply.
I've seen this link before, and I guess I don't understand it. I only see instructions for adding a power switch, and where to wire the LED into. I've already connected the LED, and it only stays lit for about 3 seconds. I've uncommented what was suggested in this link, and nothing changed... -
@Harris-Hamburg That really sounds weird. Just to make sure: you use Pin 8 (GPIO 14) and not GPIO 8, right?
Do you use also a power switch? -
And maybe, uncomment
system.power.switch=PIN356ONOFFRESET
In your recalbox.conf file since the system needs to know you activate those pins. -
I'm using pin 8, and I'm not using a power switch. Just an LED that i've hot glued to the case.
I've uncommented system.power.switch=PIN356ONOFFRESET and the LED light still only turns on for about 3 seconds during boot.
This is driving me mad!! haha -
I have the same problem. When enabled, the led lights up for 3 seconds then turns off. Connected to pin 8. Can someone help? Thank you!
-
The problem is solved. In the config.txt file, add the line enable_uart = 1
-
@alex99 I'll try this when I get the chance to and I'll report back. Thanks! Glad it worked for you
-
@alex99 Alright, I added the line, and the light stays on, but now I have no picture or sound...
-
Maybe you put a space? The space is not needed.
-
@alex99 Hey hey! It worked! At first I took the space away and it still wasn't working... so I re-flashed Recalbox, and added the line before installing the SD card into the pi, and it worked perfectly. Thanks! It's amazing how something so simple ended up being so difficult lol