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 2.8k 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.
    • 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
              • First post
                Last post

              4

              Online

              5.7k

              Users

              534

              Topics

              5.0k

              Posts

              Top Topics

              • Bonjour Nicolas
                Nicolas BernaertsN
                Nicolas Bernaerts
                0
                19
                311

              • Denky 4 - Domoticz - Triphasé -
                Nicolas BernaertsN
                Nicolas Bernaerts
                0
                7
                62

              • Denky D4 et Linky Standard TInfo Rx Non Configuré
                CharlesC
                Charles
                0
                5
                135

              • CC1101 mini shield pour raspberry
                CharlesC
                Charles
                0
                5
                150

              • CC1101
                CharlesC
                Charles
                0
                2
                66

              Popular Tags

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