Difference between revisions of "OLED-SSD1306 Module"

From Wiki
Jump to: navigation, search
(Resource)
(Text)
Line 24: Line 24:
 
'''Step1:'''Connecting circuit
 
'''Step1:'''Connecting circuit
  
:::::::SSD1306      -------    Arduino Uno board
+
:::::::SSD1306      -------    Arduino Uno/Mega2560
 
:::::::: GND        ---------        GND
 
:::::::: GND        ---------        GND
::::::::VCC        -------         5V
+
::::::::VCC        -------           5V
:::::::: SCL          -------         A5
+
:::::::: SCL          -------         A5 Uno/pin21 Mega2560
:::::::: SDA          -------         A4
+
:::::::: SDA          -------         A4 Uno/pin20 Mega2560
  
 
'''Step2:'''Install the Arduino IDE in your computer.For detailed steps,refer to
 
'''Step2:'''Install the Arduino IDE in your computer.For detailed steps,refer to
Line 34: Line 34:
 
<font color="blue">https://www.sunfounder.com/wiki/index.php?title=Install_Arduino_Software</font>
 
<font color="blue">https://www.sunfounder.com/wiki/index.php?title=Install_Arduino_Software</font>
  
'''Step3:'''Loading U8glib library.
+
'''Step3:'''Add U8glib library.
  
Through the links at the bottom of the page to '''download''' U8glib.zip and unzip.Open '''Graphics_Test.ino''',in the Arduino IDE, import the library from the "'''Add Library'''" Menu.
+
1) Through the links at the bottom of the page to '''download''' U8glib.zip and unzip.  
 +
 
 +
2)the Arduino IDE, import the library from the "'''Add Library'''" Menu.
  
 
[[File:ssd3.jpg]]
 
[[File:ssd3.jpg]]
  
Find the '''u8glib''' folder you just extracted,clink '''open'''.
+
3) Find the '''u8glib''' folder you just extracted,clink '''open'''.
  
 
[[File:ssd4.jpg]]
 
[[File:ssd4.jpg]]
  
'''Step4:'''Upload the sketch.Before clicking the Upload (right arrow button) icon, set the '''Port''' and '''Board''' under '''Tools''' menu.  
+
'''Step4:'''Open '''Graphics_Test.ino''', Before clicking the Upload icon, set the '''Port''' and '''Board''' under '''Tools''' menu.Then upload the code to the board<br>
  
 
=='''Experimental phenomenon'''==
 
=='''Experimental phenomenon'''==

Revision as of 02:41, 19 November 2016

Introduction

Ssd1.jpg

SSD1306 is a single-chip CMOS OLED/PLED driver with controller for organic / polymer light emitting diode dot-matrix graphic display system. It consists of 128 segments and 64commons. This IC is designed for Common Cathode type OLED panel. The SSD1306 embeds with contrast control, display RAM and oscillator, which reduces the number of external components and power consumption. It has 256-step brightness control. It is suitable for many compact portable applications, such as Smart watch,eal-time image display of camera on smart car,Battery management device,etc.

Schematic

Ssd2.jpg

Features

  • For OLED-SSD1306, a more elaborate and beautiful screen than LCD, with more functions
  • High contrast, thus supporting clear display With no need of backlight
  • Working voltage: 2.7V - 5.5V; PCB size: 2.8 x 3.2cm
  • Standard double-sided printed circuit board, 1.16mm thick, with an elegant layout, 3-mm holes at two corners for easy fixing
  • Low power consumption: 0.04W during normal operation

Text

Step1:Connecting circuit

SSD1306 ------- Arduino Uno/Mega2560
GND --------- GND
VCC ------- 5V
SCL ------- A5 Uno/pin21 Mega2560
SDA ------- A4 Uno/pin20 Mega2560

Step2:Install the Arduino IDE in your computer.For detailed steps,refer to

https://www.sunfounder.com/wiki/index.php?title=Install_Arduino_Software

Step3:Add U8glib library.

1) Through the links at the bottom of the page to download U8glib.zip and unzip.

2)the Arduino IDE, import the library from the "Add Library" Menu.

File:Ssd3.jpg

3) Find the u8glib folder you just extracted,clink open.

Ssd4.jpg

Step4:Open Graphics_Test.ino, Before clicking the Upload icon, set the Port and Board under Tools menu.Then upload the code to the board

Experimental phenomenon

Ssd5.jpg

Resource

U8glib.zipZIP.jpg