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

    Adafruit SSD1306 OLED Display Driver for Raspberry Pi

    Blog articles comments
    adafruit driver oled arduipi
    2
    5
    2.6k
    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
      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
        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
          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
            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
              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

              8

              Online

              5.4k

              Users

              459

              Topics

              4.3k

              Posts

              Top Topics

              • T
                Denky D4 - démarrage
              • Jérémie LeguayJ
                Câblage Denky-D4

              Popular Tags

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