MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Unable to get any of my GPIO-related modules from PI4 to work with Pi5

    Scheduled Pinned Locked Moved Bug Hunt
    2 Posts 2 Posters 1.3k Views 2 Watching
    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.
    • D Offline
      Dresch360 Project Sponsor
      last edited by

      Unable to get any of my GPIO-related modules from PI4 to work with Pi5- specifically: MMM-temp-ds18b20 and MMM-PIR. Is there some type of program that will convert the GPIO.py libraries to the new Pi5 GPIO libraries or other method? Any help is greatly appreciated!

      kayakbabeK 1 Reply Last reply Reply Quote 0
      • kayakbabeK Offline
        kayakbabe @Dresch360
        last edited by kayakbabe

        @Dresch360

        The Pi5 has new GPIO hardware. It is not compatible with software written for earlier Pi models.

        So look at what gpio library is being called by the modules you are wanting to use.

        I’ve been rewriting my own code to use gpiozero .
        gpiozero works and isrecommend by raspberry pi foundation and works on older pis too.

        Lgpio works on rpi5
        Gpiod works on rpi5

        Pigpio WILL NOT WORK
        RPi.GIPO WILL NOT WORK

        I haven’t tried rpi-lgpio which supposed to be a drop in replacement for rpi.gpio.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy