It's easy to use OLEDs with CircuitPython and the Adafruit CircuitPython DisplayIO SSD1306 module. This module allows you to easily write CircuitPython code to control the display.
You can use this sensor with any CircuitPython microcontroller board.
We'll cover how to wire the OLED to your CircuitPython microcontroller board. First assemble your OLED.
Connect the OLED to your microcontroller board as shown below.
- Solder the Feather with female headers on top or stacking headers.
- Attach the OLED FeatherWing using the stacking method.
- Microcontroller 3V to OLED VIN
- Microcontroller GND to OLED GND
- Microcontroller SCL to OLED SCL
- Microcontroller SDA to OLED SDA
- Microcontroller D9 to OLED RST
- Microcontroller 3V to OLED VIN
- Microcontroller GND to OLED GND
- Microcontroller SCK to OLED CLK
- Microcontroller MOSI to OLED Data
- Microcontroller D5 to OLED CS
- Microcontroller D6 to OLED D/C
- Microcontroller D9 to OLED RST
You do not need to alter the jumpers on the back - I2C is the default configuration on this display!
-
Microcontroller 3V to OLED Vin
- Microcontroller GND to OLED Gnd
-
Microcontroller SCL to OLED Clk
- Microcontroller SDA to OLED Data
Note: Connecting the OLED RST is not necessary as this revision added auto-reset circuitry so the RESET pin is not required.
-
Microcontroller 3V to OLED Vin
- Microcontroller GND to OLED Gnd
-
Microcontroller SCL to OLED Clk
-
Microcontroller SDA to OLED Data
- Microcontroller D9 to OLED Rst
Text editor powered by tinymce.