Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    LED Status Light

    GamePad/GPIO/USB encoder
    led status light
    4
    12
    4649
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Harris Hamburg
      Harris Hamburg last edited by

      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 Recalbox

      Thanks!!

      lackyluuk 1 Reply Last reply Reply Quote 0
      • lackyluuk
        lackyluuk Translator @Harris Hamburg last edited by

        @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)

        NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

        Harris Hamburg 1 Reply Last reply Reply Quote 0
        • Harris Hamburg
          Harris Hamburg @lackyluuk last edited by

          @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...

          1 Reply Last reply Reply Quote 0
          • lackyluuk
            lackyluuk Translator last edited by

            @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?

            NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

            1 Reply Last reply Reply Quote 0
            • unik314r
              unik314r last edited by

              And maybe, uncomment
              system.power.switch=PIN356ONOFFRESET
              In your recalbox.conf file since the system needs to know you activate those pins.

              1 Reply Last reply Reply Quote 0
              • Harris Hamburg
                Harris Hamburg last edited by

                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

                1 Reply Last reply Reply Quote 0
                • Alex99
                  Alex99 last edited by

                  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!

                  https://www.youtube.com/watch?v=ymRi7gPjIT4

                  1 Reply Last reply Reply Quote 0
                  • Alex99
                    Alex99 last edited by

                    The problem is solved. In the config.txt file, add the line enable_uart = 1

                    Harris Hamburg 1 Reply Last reply Reply Quote 0
                    • Harris Hamburg
                      Harris Hamburg last edited by

                      @alex99 I'll try this when I get the chance to and I'll report back. Thanks! Glad it worked for you

                      1 Reply Last reply Reply Quote 0
                      • Harris Hamburg
                        Harris Hamburg @Alex99 last edited by

                        @alex99 Alright, I added the line, and the light stays on, but now I have no picture or sound... 😞

                        Alex99 1 Reply Last reply Reply Quote 0
                        • Alex99
                          Alex99 @Harris Hamburg last edited by Alex99

                          Maybe you put a space? The space is not needed.

                          https://itmages.ru/image/view/6308195/3792ff1b

                          Harris Hamburg 1 Reply Last reply Reply Quote 0
                          • Harris Hamburg
                            Harris Hamburg @Alex99 last edited by

                            @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

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Want to support us ?

                            67
                            Online

                            98.7k
                            Users

                            28.1k
                            Topics

                            187.0k
                            Posts

                            Copyright © 2021 recalbox.com