Skip to content
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Community Forum

  1. Home
  2. Categories
  3. Blog articles comments
  4. Adafruit SSD1306 OLED Display Driver for Raspberry Pi

Adafruit SSD1306 OLED Display Driver for Raspberry Pi

Scheduled Pinned Locked Moved Blog articles comments
adafruitdriveroledarduipi
5 Posts 2 Posters 3.7k Views 2 Watching
  • 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
    CharlesC Offline
    Charles
    wrote on last edited by Charles
    #1

    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
    • T Offline
      T Offline
      tito
      wrote on last edited by
      #2

      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
      • T Offline
        T Offline
        tito
        wrote on last edited by
        #3

        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
        • T Offline
          T Offline
          tito
          wrote on last edited by
          #4

          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
          • T Offline
            T Offline
            tito
            wrote on last edited by
            #5

            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

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            2

            Online

            5.8k

            Users

            565

            Topics

            5.3k

            Posts

            Top Topics

            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
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Blog
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups