EP-0119: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
m (Yoyojacky moved page 0.91 Inch OLED Display SKU: EP-0119 to EP-0119)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
==0.91 Inch OLED Display==
==0.91 Inch OLED Display==
[[|right|320px]]
[[File:0.91 OLED 1.jpg|right|320px]]


==Description==
==Description==
This display is made of 128x32 individual OLED pixels.<br>
This display is made of 128x32 individual OLED pixels.<br>
It communicates with Raspberry pi or Arduino series products via I2C protocol.<br>
It communicates with Raspberry pi or Arduino series products via I2C protocol.<br>
Compatible with most of MCU which support I2C protocol support.<br>
Compatible with most of MCU which support I2C protocol communication.<br>
There are mounting hole and female pin header on the PCB, so that you can fixed it to Raspberry Pi with screws and nuts.<br>
There are mounting hole and female pin header on the PCB, so that you can fix it to Raspberry Pi with screws and nuts.<br>
It is compatible with Adafruit OLED liberary.<br>
It is compatible with Adafruit OLED liberary.<br>
==Features==
==Features==
* Easy to use
* Easy to use
Line 13: Line 14:
* Easy to assemble and fixed
* Easy to assemble and fixed
* Less GPIO pin occupation
* Less GPIO pin occupation
* Support I2C Protocol


==Specifications==
==Specifications==
Line 23: Line 25:
* Silk Mark Pin definitions
* Silk Mark Pin definitions
===Dimension===
===Dimension===
[[|left|500px]]
[[File:0.91 OLED 2.jpg|left|500px]]
<br style="clear:both;">
<br style="clear:both;">


==Gallery==
==Gallery==
{|
{|
|[[|left|320px]]
|[[File:0.91 OLED 5.jpg|left|320px]]
|[[|none|320px]]
|[[File:0.91 OLED 4.jpg|none|320px]]
|[[|none|320px]]
|[[File:0.91 OLED 3.jpg|none|320px]]
|}
|}


==Package Includes==
==Package Includes==
* 2* 0.91  Inch OLED Module  
* 2* 0.91  Inch OLED Module  
* 2* 10Pin male to female breadboard wire
[[File:0.91 OLED 6.jpg|left|500px]]
<br style="clear:both;">
 
==How to use==
==How to use==
===How to wire it up===
===How to wire it up===
Connect OLED module to Raspberry Pi's GPIO(3.3v,SDA,SCL,GND)
Connect OLED module to Raspberry Pi's GPIO(3.3v,SDA,SCL,GND)
===Pin Definitions===
===Pin Definitions===
[[|left|500px]]
[[File:0.91 OLED 3.jpg |left|500px]]
<br style="clear:both;">
<br style="clear:both;">
----
----
Line 46: Line 50:
===How to program it===
===How to program it===
===For Raspberry Pi 4B===
===For Raspberry Pi 4B===
* Make sure I2C function has been enabled by using "sudo raspi-config" command in terminal.
* Open a terminal and Download demo code from: [ https://github.com/adafruit/Adafruit_Python_SSD1306 ]
* Open a terminal and Download demo code from: [ https://github.com/adafruit/Adafruit_Python_SSD1306 ]
<pre>  
<pre>  
Line 52: Line 57:
cd Adafruit_Python_SSD1306
cd Adafruit_Python_SSD1306
sudo python setup.py install
sudo python setup.py install
pip install Adafruit-BBIO
</pre>
</pre>
* Run example Demo:
* Run example Demo:
Line 60: Line 66:
** More documents:
** More documents:
* Download SSD1306 OLED display Arduino library from Github: [ https://github.com/adafruit/Adafruit_SSD1306 ]
* Download SSD1306 OLED display Arduino library from Github: [ https://github.com/adafruit/Adafruit_SSD1306 ]
===Application Scenario===
[[File:0.91 OLED 14.jpg|left|500px]]
<br style="clear:both;">


==FAQ==
==FAQ==
Line 66: Line 76:
**<code> i2cdetect -y 1 </code>
**<code> i2cdetect -y 1 </code>
----
----
==Application Senario==
==Maker Refference==
* There is a maker made a funny thing called "mobile pi" with this 0.91 Inch OLED Module, you can check it by accessing following link:
* There is a maker made a funny thing called "mobile pi" with this 0.91 Inch OLED Module, you can check it by accessing following link:
[Mobile Pi | https://www.instructables.com/id/My-Fantastic-MobilePi/ ]
[Mobile Pi | https://www.instructables.com/id/My-Fantastic-MobilePi/ ]
----
----
==Keywords==
* OLED, Raspberry Pi 4B, 0.91 inch oled, I2C oled, 52Pi OLED

Latest revision as of 19:54, 27 August 2021

0.91 Inch OLED Display

0.91 OLED 1.jpg

Description

This display is made of 128x32 individual OLED pixels.
It communicates with Raspberry pi or Arduino series products via I2C protocol.
Compatible with most of MCU which support I2C protocol communication.
There are mounting hole and female pin header on the PCB, so that you can fix it to Raspberry Pi with screws and nuts.
It is compatible with Adafruit OLED liberary.

Features

  • Easy to use
  • Low power consumption
  • Easy to assemble and fixed
  • Less GPIO pin occupation
  • Support I2C Protocol

Specifications

  • Device Register Address: 0x3c
  • Resolution: 128 x 32
  • Work Voltage: 3.3V
  • Communication Protocol: I2C
  • FP frequency: less than 1 fps
  • Wide range of operating temperature: -40°C to 85°C
  • Silk Mark Pin definitions

Dimension

0.91 OLED 2.jpg


Gallery

0.91 OLED 5.jpg
0.91 OLED 4.jpg
0.91 OLED 3.jpg

Package Includes

  • 2* 0.91 Inch OLED Module
0.91 OLED 6.jpg


How to use

How to wire it up

Connect OLED module to Raspberry Pi's GPIO(3.3v,SDA,SCL,GND)

Pin Definitions

0.91 OLED 3.jpg



How to program it

For Raspberry Pi 4B

 
sudo python -m pip install --upgrade pip setuptools wheel
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python setup.py install
pip install Adafruit-BBIO
  • Run example Demo:
cd examples/
python stats.py

Application Scenario

0.91 OLED 14.jpg


FAQ

  • Question: why does it not show anything that I've tried as your instruction?
    • Answer: Please make sure you have already open your i2c function and you can use this command to detect whether it has been turned on already.
    • i2cdetect -y 1

Maker Refference

  • There is a maker made a funny thing called "mobile pi" with this 0.91 Inch OLED Module, you can check it by accessing following link:

[Mobile Pi | https://www.instructables.com/id/My-Fantastic-MobilePi/ ]


Keywords

  • OLED, Raspberry Pi 4B, 0.91 inch oled, I2C oled, 52Pi OLED