Skip to the content.

oled

OLED SSD1306 and SSD1309 Device Driver for Raspberry Pi and Raspberry Pi Pico

Schematic1

Operation Cheked OLED Modules

bokunimo.net Blog Site

Schematic for OLED SSD1306

Fig. 1; Schematic for OLED SSD1306:
Schematic1

Fig. 2; Connect VCC, GND, SCL, and SDA to your Raspberry Pi:

Photo1

Schematic for OLED SSD1309

SSD1309 is need to change the chip resistor on the OLED module board. According to the silk-printed “I2C PORT: R8, R4” and “SPI PORT R9” on the board, please remove a chip resistor R9, and solder 0Ω jumpers on R8 and R4. The following schematic is an example of the reset circuit.

Fig. 3; schematic of reset circuit:

Schematic2

Fig. 4; R9 is removed, and R8 and R4 are soldered: Photo2

Usage, Download and Display Contents

pi@raspberrypi:~ $ git clone https://bokunimo.net/git/oled ⏎  
pi@raspberrypi:~ $ cd oled/raspi ⏎  
pi@raspberrypi:~/oled/raspi $ ls -1 ⏎  
misaki.fnt  ............. Misaki Fonts on FONTX2 format
misaki_README.txt  ...... LICENSE text for Misaki Fonts
test_oled.py  ........... Program for ASCII Character 
test_oled_kanji.py  ..... Program for Japanese Character
  
pi@raspberrypi:~ $ ./test_oled_kanji.py ⏎  

How to change the text

“disp_port” and “disp_land” in this program are variables for the characters on the display. The variable disp_port is for portrait, and the variable disp_port is for landscape view.


GitHub Pages (This Document)


git.bokunimo.com GitHub Pages site

http://git.bokunimo.com/