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

    Blinkt! idea, changing light color for each emulator

    Scheduled Pinned Locked Moved Ideas and Development
    ledvisualization
    4 Posts 3 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.
    • T
      topher_csr
      last edited by

      Hello all!

      I just got my Pi3 and love it so far. I got it mostly for retropie, and have got everything setup well, learning how it works, overclocking it and all that. I saw the blinkt! Light online and like the idea of playing with the LED bar. I was wondering if it would be possible to program the lights to change color depending on the system i am playing in retropie/emulation station? I was thinking something like

      NES=Red SNES=White Sega=Blue

      Would serve no real purpose besides looking cool. So any experts out there think its doable?

      This is the light kit

      https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-blinkt

      Thanks!!

      1 Reply Last reply Reply Quote 0
      • AnalogHeroA
        AnalogHero
        last edited by

        Yes, you can do this. I have a RGB led installed in my case. It does some color cycling on boot, shines blue in emulationstation, fades to green when launching a game, and back to blue on return to ES. I do this with runcommand-onstart and runcommand-onend. And you can afaik get the system string in those shell scripts to do different things per system. So... it should be possible if use the examples from this blinkt website and adapt it for retropie.

        J 1 Reply Last reply Reply Quote 0
        • J
          jkacza @AnalogHero
          last edited by

          @analoghero It seems very interesting! Can you give more datails about this? Maybe share this scrip? Thank you! =D

          AnalogHeroA 1 Reply Last reply Reply Quote 0
          • AnalogHeroA
            AnalogHero @jkacza
            last edited by

            @jkacza Sorry to say but i lost the scripts a while ago. Did a fresh install of RetroPie and forgot to back them up. Didnt bother to rewrite them as i moved the pi to a flirc case and there isnt much room and useful mounting points for a led.

            But iirc the scripts were simple. Used this as a template:
            https://raspi.tv/2013/how-to-use-soft-pwm-in-rpi-gpio-pt-2-led-dimming-and-motor-speed-control

            Connected a RGB led to the gpio pins and wrote scripts for startup, game launch and game end.

            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.