Sunday, November 3, 2024

Running SSD1306 demo code on Arduino Uno Rev 3 SMD

Running SSD1306 demo code on Arduino Uno Rev 3 SMD

Hardware

1. SSD1306 OLED Display
- Using ELEGOO model EL-SM-008
2. Arduino Uno Rev 3 SMD

Software

Arduino IDE, tested using version 2.3.3

Wiring

Table below shows how the Arduino Uno is wired to SDC1306 OLED display
Arduino Uno SSD1306
PIN# Function SSD1306 pin
5 +5V VCC
6 GND GND
14 A5/SCL SCL
13 A4/SDA SDA
Below shows a drawing how they are physically connected

Running SSD1306 demo

I will be using SSD1306 project which is available via Libray Manager.
Bring up Library Manager (Tools | Manage Libraries...)

From Library Manager, search for SDD1306 and then click on Install.

Create SSD1306 demo sketch

Now, upload the sketch to the target ( Sketch | Upload ). After upload is complete, the demo should start running.

No comments:

Post a Comment

Q&A: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision

Q: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision Answer: Blinking an LED is the equiv...