Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Adafruit SSD1306 OLED Display Driver for Raspberry Pi

    Scheduled Pinned Locked Moved Blog articles comments
    adafruitdriveroledarduipi
    5 Posts 2 Posters 3.5k 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.
    • CharlesC Offline
      Charles
      last edited by Charles

      As I had some questions by mail about my SSD1306 SPI and I2C driver port for Raspberry, I decided to get back to this driver and write some documentation. The first time I wrote it, I tested with SPI oled but did… Continue Reading

      Click here to see the full blog post

      1 Reply Last reply Reply Quote
      • T Offline
        tito
        last edited by

        hello,
        I purchased a 128x64 SSD1306 and installed as you described:
        git clone https://github.com/hallard/ArduiPi_SSD1306.git
        cd ArduiPi_SSD1306
        sudo make
        cd examples
        sudo make

        i2c for other devices is working fine on i2c-1.

        But after srarting in the examples folder
        ./ssd1306_demo --verbose --oled 3
        #or alternatively
        ./ssd1306_demo --verbose --oled 4
        then I always get an error:
        ./ssd1306_demo --verbose --oled 4
        ssd1306_demo v1.1
        -- OLED params --
        Oled is : Seeed I2C 128x64
        -- Other Stuff --
        verbose is : yes

        bcm2835_init: Unable to open /dev/mem: Permission denied

        what am I doing wrong?

        1 Reply Last reply Reply Quote
        • T Offline
          tito
          last edited by

          I also had added
          i2c-bcm2708
          i2c-dev
          to /etc/modules,
          but still the same.
          so what might be still wrong?

          1 Reply Last reply Reply Quote
          • T Offline
            tito
            last edited by

            i2c OLED display is from China, i2c addr is 0x3c, attached to i2c-1, correctly detected by
            i2cdetect -y 1

            not working with your ssd1306-oled examples nevertheless.

            1 Reply Last reply Reply Quote
            • T Offline
              tito
              last edited by

              partially resolved -

              1. commands have to beexecuted as sudo
              2. old 1306 drivers don't work, I have to use new driver lib and display no. 6 (no idea why, but anyway...).
              1 Reply Last reply Reply Quote

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post

              8

              Online

              5.8k

              Users

              552

              Topics

              5.2k

              Posts

              Top Topics

              • Accès à l'interface Serial et/ou Reset du Winky
                E
                EliasMM
                0
                7
                229

              Popular Tags

              teleinfo
              25 topics
              arduino
              19 topics
              remora
              16 topics
              esp8266
              10 topics
              arduipi
              10 topics
              raspberry
              8 topics
              wifinfo
              7 topics
              broadcast
              7 topics
              Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB