RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    project with power button + LED w/ enable_uart

    Scheduled Pinned Locked Moved Projects and Themes
    power buttonpower ledconfig.txt
    3 Posts 1 Posters 1.3k Views
    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.
    • coldnpaleC
      coldnpale
      last edited by

      Hey everybody,
      lots of thanks, to begin with, to everyone contributing on the retropie project. I decided to show you guys my little, simple retropie box and get some feedback/advice.
      I wanted to make an elegant looking box with a power switch and a power LED.
      So,

      1. I wired a momentary button on pins 5 and 6. With this I was able to only turn on the pi. Then I used the script from a tutorial I found on 8bitjunkie to make it also perform a safe shut down.

      2. I wired a red LED. Anode + resistor on pin 8. Cathode on pin 6 (bridged with the button's ground wire)
        This made the LED light up every time I turned the pi on for a couple of seconds. Afterwards it would go off.
        Therefore I added the line "enable_uart=1" in config.txt. Now the LED stays on for as long as the pi is on.

      Since I am new with rpi/linux/retrobox I wanted to ask if any of you knows whether enable_uart has any bad concequences that I am not aware of!

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • coldnpaleC
        coldnpale
        last edited by

        Oh..and here are some pics for you
        0_1513949640556_1.jpg
        0_1513949651363_2.jpg
        0_1513949662097_3.jpg

        1 Reply Last reply Reply Quote 0
        • coldnpaleC
          coldnpale
          last edited by

          Instead of using the "enable_uart=1" line in config.txt, I found out it might be more optimal to activate the voltage on pin 8 from inside the retropie>raspi-config>interfacing options>Serial.

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

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.