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

    RPi Rotary Encoder DIY #Spinner - whats missing

    Scheduled Pinned Locked Moved Projects and Themes
    rpi 3b+spinnerdiyengineering
    3 Posts 2 Posters 731 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.
    • H
      hopwon
      last edited by

      Hi
      I have successfully built my own #spinner using an optical rotary encoder connected directly to the GPIO and tested this out on a PiZero after much experimentation using "pigpio" daemon.
      Now I want to connect it up to my RPi3 RetroPie setup via the GPIO.
      What is the next step in getting ES to recognise it.
      In other words, this is NOT a USB device but connected directly to the #RPi.

      Has anyone else successfully done this?
      What should I be looking at in terms of translating what is coming from the pins to a device ES can recognise?
      I have looked in the docs but it seems that it assumes Spinners are always USB devices.
      Any pointers and help much appreciated.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        You'll need to translate the encoder GPIO signals into an input device - something similar to https://blog.ploetzli.ch/2018/ky-040-rotary-encoder-linux-raspberry-pi/.
        How do you want to use the encoder ?

        H 1 Reply Last reply Reply Quote 0
        • H
          hopwon @mitu
          last edited by

          @mitu It will be a Spinner to control old classics like Arkanoid and Asteroid. No buttons or "press" functionality needed. Just one axis with decent response, i.e. better than a keyboard press.

          The link you shared - thank you very much - looks like it could be what I am looking for. I will try later tonight and then see how I pull that new device into RetroPie/ES.

          Thanks a million

          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.