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.3Wiring
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 |
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