SSD1306 OLED Using Arduino
Hi Friends! This text shows the way to use the SSD1306 0.96 inch I2C OLED show with the Arduino. We’ll show you some options of the OLED show, the way to connect it to the Arduino, and conjointly it’s operating. Let’s get started our project.
Introduction:
The organic diode (OLED) show that we’ll use during this tutorial is the SSD1306 model a monocular, 0.96-inch show with 128×64 pixels. The OLED show doesn’t need backlight, which ends up terribly very nice distinction in dark environments. To boot, its pixels absorbs energy only if they're on, that the OLED show absorbs less power contrast with different displays. The model we’re victimization here has solely four pins and communicates with the Arduino victimization I2C communication protocol. There square measure models that escort an additional RESET pin. There also are alternative OLED displays that communicate victimization SPI communication.
Pins:
Name Description
Ground GND
VCC Powered by 5V
SCK The display supports both IIC and SPI
SDA Data pin
RES Pin resets
DC Command pin
CS Used only when more than one SPI device is attached to MCU
Components Needed:
Arduino
OLED
Circuit Connection in Proteus:
The connection of this project is very simple. First we see the connection of OLED. The pin D0 to D7 is connected with the input side, and the BS0 to BS7 is attached with ground. Pin 30 is connected with ground while the VSS and CS are also joining with it. From pin VDD we will give him power input and D/C are also joining with it. Now Arduino pin A4 and A5 both are connected with power. While pin 4 is attach with reset pin.
SSD1306 OLED Using Arduino Working:
To create one thing seems on the OLED screen we to tend to communicate with the SSD1306 IC gift within the OLED module. This SSD1306IC can then update every component gift on our OLED show. This communication will happen via IIC or SPI from Arduino. To speak with Associate in nursing IC through any of the communication protocol we must always 1st perceive the IC by reading its datasheet that could be a exhausting however helpful methodology. Here we've got interfaced OLED with Arduino. There square measure heap of Libraries accessible for interfacing it with completely different Arduino, victimization that we will build the interfacing loads less complicated. These libraries square measure simple to use and have heap of pronto accessible graphical choices. Conjointly there square measure several online tools accessible for changing a picture into a small amount map values to be fed into Arduino.
Applications:
• Used in shopper physical science.
• Used for Smart watch, portable, and MP3 displays.
• Small level recreation displays.
• Wide vary of viewing angle permits to be utilized in low lightweight.
We hope you’ve found this guide useful.
Top comments (1)
if from controller/arduino out is, CS, RESET, D/C, SDI(Mosi), SCK.
what to change in SSD1306 12864 (UG-2864HSWEG01), Sir?
Thanks