EP-0049: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
Line 62: Line 62:
<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>
----
----



Revision as of 17:54, 11 July 2016

0.96 Inch OLED Module

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. 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. 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. Data/Commands are sent from general MCU through the hardware selectable 6800/8000 series compatible Parallel Interface, I2C interface or Serial Peripheral Interface. It is suitable for many compact portable applications, such as mobile phone sub-display, MP3 player and calculator, etc. it supports Raspberry Pi A, A+,B,B+,2B,3B.


Feature:

  • Resolution: 128 x 64 dot matrix panel
  • Power supply
    • VDD = 1.65V to 3.3V for IC logic
    • 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

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:

Purchase Links

Shopping car.png

52Pi Store