EP-0049: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
m (Yoyojacky moved page 0.96 Inch OLED Module SKU:EP-0049 to EP-0049)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
=='''0.96 Inch OLED Module'''==
='''0.96 Inch OLED Module'''=
===Description===
==Description==
An organic light-emitting diode (OLED) is a light-emitting diode (LED) in which the emissive electroluminescent layer is a film of organic compound that emits light in response to an electric current. This layer of organic semiconductor is situated between two electrodes; typically, at least one of these electrodes is transparent. OLEDs are used to create digital displays in devices such as television screens, computer monitors, portable systems such as mobile phones, handheld game consoles and PDAs. A major area of research is the development of white OLED devices for use in solid-state lighting applications.
These displays are small, only about 1" diameter, but very readable due to the high contrast of an OLED display. <br>
It's a very tiny display device that you can use it as  GPS location display and battery charger status display, or anything else. you can just plug it on your Raspberry Pi's GPIO pin, and it is so easy to drive by downloading a repository from github.
This display is made of 128x64 individual yellow and blue  OLED pixels, each one is turned on or off by the controller chip.<br>
SSD1306 is a single-chip CMOS OLED/PLED driver with controller for organic / polymer light emitting
Because the display makes its own light, no backlight is required. <br>
diode dot-matrix graphic display system. It consists of 128 segments and 64commons. This IC is
This reduces the power required to run the OLED.<br>
designed for Common Cathode type OLED panel.
This breakout can be used with either an SPI interface<br>
The SSD1306 embeds with contrast control, display RAM and oscillator, which reduces the number of
The design is completely 3.3V-ready, with an onboard regulator and built in boost converter.<br>
external components and power consumption. It has 256-step brightness control. Data/Commands are
The SSD1306 embeds with contrast control, display RAM and oscillator, which reduces the number of<br>
sent from general MCU through the hardware selectable 6800/8000 series compatible Parallel Interface,
external components and power consumption. <br>
I2C interface or Serial Peripheral Interface. It is suitable for many compact portable applications, such as
It has 256-step brightness control.<br>
mobile phone sub-display, MP3 player and calculator, etc.
it supports Raspberry Pi A, A+,B,B+,2B,3B.<br>
it supports Raspberry Pi A, A+,B,B+,2B,3B.  
----


===Feature:===  
==Feature:==
* Resolution: 128 x 64
* 3.3V work voltage ,([MIN 1.6V] ,[MAX:3.6V])
** Maximum current 100uA
** Keep up current 12.25uA
* Hardware keep up display
* SPI driver support
* FP frequency:  30fps(60MHz)
* Only use 3 pins to control OLED: (IO24 = DC, IO25 = Reset, SPI0)
* Wide range of operating temperature: -40°C to 85°C
----
----
*Resolution: 128 x 64 dot matrix panel
 
*Power supply
==Parameters:==
**VDD = 1.65V to 3.3V for IC logic
*Dimensions: 36.36mm x 29.53mm x 11.65(include header)mm
**VCC = 7V to 15V for Panel driving
*For matrix display
**OLED driving output voltage, 15V maximum
**Segment maximum source current: 100uA
**Common maximum sink current: 15mA
**256 step contrast brightness current control
*Embedded 128 x 64 bit SRAM display buffer
*Pin selectable MCU Interfaces:
**8-bit 6800/8080-series parallel interface
**3 /4 wire Serial Peripheral Interface
**I2C Interface
*Screen saving continuous scrolling function in both horizontal and vertical direction
*RAM write synchronization signal
*Programmable Frame Rate and Multiplexing Ratio
*Row Re-mapping and Column Re-mapping
*On-Chip Oscillator
*Chip layout for COG & COF
*Wide range of operating temperature: -40°C to 85°C
----
===Parameters:===
----
*Dimensions: 36.36mm x 29.53mm x 10.01(include header)mm
*Weight without package: 7.15±2g
*Weight without package: 7.15±2g
----
----


===How to wire up===
==Hardware Architechture==
 
[[File:096oled.png|thumb|left|300px]]
<br style="clear:both;">
----
==Package included:==
1 x 0.96 Inch OLED Module
----
----
===How to use===
===How to use===
Line 53: Line 44:
<code>git clone https://github.com/hallard/ArduiPi_SSD1306</code>
<code>git clone https://github.com/hallard/ArduiPi_SSD1306</code>
* Compile it and run:
* Compile it and run:
<code>cd  ArduiPi_SSD1306/  &&  sudo make &&  cd  example/ && sudo  make  &&  sudo ./oled_demo </code>
<code>cd  ArduiPi_SSD1306/  </code><br>
<code>sudo make </code><br>
<code>cd  example/ </code><br>
<code>sudo  make  </code><br>
<code>sudo ./oled_demo </code><br>
----
----


Line 60: Line 55:
<code>git clone -b ArduiPi_OLED  https://github.com/yoyojacky/libssd1306</code>
<code>git clone -b ArduiPi_OLED  https://github.com/yoyojacky/libssd1306</code>
*Compile it and run:
*Compile it and run:
<code>cd  libssd1306/ &&  sudo make &&  cd  example/ && sudo  make &&  sudo ./oled_demo </code>
<code>cd  libssd1306/ </code><br>
<code>sudo make </code><br>
<code>cd  example/</code><br>
<code>sudo  make</code><br>
<code>sudo ./oled_demo </code>
----
----


Line 66: Line 65:
*Question:   
*Question:   
**Answer:   
**Answer:   
----
==Purchase Links==
[[File:shopping_car.png|left|21px]][http://www.52pi.com  52Pi Store]
----
----

Latest revision as of 19:55, 27 August 2021

0.96 Inch OLED Module

Description

These displays are small, only about 1" diameter, but very readable due to the high contrast of an OLED display.
This display is made of 128x64 individual yellow and blue OLED pixels, each one is turned on or off by the controller chip.
Because the display makes its own light, no backlight is required.
This reduces the power required to run the OLED.
This breakout can be used with either an SPI interface
The design is completely 3.3V-ready, with an onboard regulator and built in boost converter.
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 supports Raspberry Pi A, A+,B,B+,2B,3B.


Feature:

  • Resolution: 128 x 64
  • 3.3V work voltage ,([MIN 1.6V] ,[MAX:3.6V])
    • Maximum current 100uA
    • Keep up current 12.25uA
  • Hardware keep up display
  • SPI driver support
  • FP frequency: 30fps(60MHz)
  • Only use 3 pins to control OLED: (IO24 = DC, IO25 = Reset, SPI0)
  • Wide range of operating temperature: -40°C to 85°C

Parameters:

  • Dimensions: 36.36mm x 29.53mm x 11.65(include header)mm
  • Weight without package: 7.15±2g

Hardware Architechture

096oled.png



Package included:

1 x 0.96 Inch OLED Module


How to use

First of all, you should check the model of your Pi.


For Raspberry Pi A,A+,B,B+:

  • First login, and download driver:

git clone https://github.com/hallard/ArduiPi_SSD1306

  • Compile it and run:

cd ArduiPi_SSD1306/
sudo make
cd example/
sudo make
sudo ./oled_demo


For Raspberry Pi 2B, 3B:

  • First login, and download driver:

git clone -b ArduiPi_OLED https://github.com/yoyojacky/libssd1306

  • Compile it and run:

cd libssd1306/
sudo make
cd example/
sudo make
sudo ./oled_demo


FAQ

  • Question:
    • Answer: