Skip to content

Commit

Permalink
oled circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
ImplFerris committed Oct 27, 2024
1 parent 25f2fce commit fd628bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file added src/oled/assets/pico-oled-circuit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/oled/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ In this section, we'll learn how to connect an OLED display module to the Raspbe

We'll create simple projects like displaying text and an image (display Ferris 🦀 image) on the OLED. We'll use the I2C protocol to connect the OLED display to the Pico.

<img style="display: block; margin: auto;width:500px" alt="pico2" src="../images/oled-ssd1306.jpg"/>

### Hardware Requirements

For this project, you'll need:
- An OLED display (0.96 Inch I2C/IIC 4-Pin, 128x64 resolution, SSD1306 chip)
- A breadboard
- Jumper wires

<img style="display: block; margin: auto;width:500px" alt="pico2" src="../images/oled-ssd1306.jpg"/>
## Setup
We will connect the SDA to GPIO 18 and the SCL to GPIO 19. Attach VCC to 3.3V for power, and GND to GND. This setup allows the OLED display to communicate with the microcontroller using I2C.

<a href="./assets/pico-oled-circuit.jpg"><img style="display: block; margin: auto;" alt="pico2" src="./assets/pico-oled-circuit.jpg"/></a>


## New crates
In addition to the usual crate like `rp-hal`, we will be using these new crates necessary for the project.
Expand Down

0 comments on commit fd628bc

Please sign in to comment.