EP-0060: Difference between revisions
(Created page with "To be continue....") |
m (Yoyojacky moved page 0.91 Inch OLED Module SKU: EP-0060 to EP-0060) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
='''0.91 Inch OLED Module'''= | |||
==Description== | |||
These displays are very tiny, you can use it as your battery status display and you can make it a mp3 lyrics display. <br> | |||
This display is made of 128x32 individual yellow and blue OLED pixels, each one is turned on or off by the controller chip.<br> | |||
Because the display makes its own light, no backlight is required. <br> | |||
There are little power require to run the OLED.<br> | |||
This breakout can be used with an I2C interface<br> | |||
it supports Raspberry Pi A, A+,B,B+,2B,3B.<br> | |||
---- | |||
==Pictures== | |||
{|- | |||
|[[File:091oled01.jpg|thumb|left|300px]] | |||
|[[File:091oled02.jpg|thumb|none|300px]] | |||
|} | |||
{|- | |||
|[[File:091oled03.jpg|thumb|left|300px]] | |||
|[[File:091oled05.jpg|thumb|none|300px]] | |||
|} | |||
{|- | |||
|[[File:091oled06.jpg|thumb|left|300px]] | |||
|[[File:091oled07.jpg|thumb|none|300px]] | |||
|} | |||
---- | |||
==Feature:== | |||
* Resolution: 128 x 32 | |||
* 3.3V work voltage | |||
* I2C driver support | |||
* FP frequency: less than 1 fps | |||
* Wide range of operating temperature: -40°C to 85°C | |||
* Only use 5 pins to control OLED as showing below. | |||
[[File:Gpioread.jpg|thumb|left|300px]] | |||
<br style="clear:both;"> | |||
---- | |||
==Parameters:== | |||
*Dimensions: 36.56mm x 14.87mm x 11.70(include header)mm | |||
*Weight without package: 2.92±2g | |||
---- | |||
==Package included:== | |||
1 x 0.91 Inch OLED Module | |||
---- | |||
==how to wire it up:== | |||
Just plug into GPIO in 3.3v,SDA,SCL,GND. | |||
---- | |||
==How to use== | |||
First of all, you should turn on I2C function on your Pi by editing /boot/config.txt file.<br> | |||
<code>sudo vim.tiny /boot/config.txt </code><br> | |||
make sure you can find this parameter:<br> | |||
<code>dtparam=i2c_arm=on</code><br> | |||
And don't forget to reboot your Pi.<br> | |||
* Login your Pi and download driver:<br> | |||
<code>git clone -b ArduiPi_OLED https://github.com/yoyojacky/libssd1306</code> | |||
*Compile it and run:<br> | |||
<code>cd libssd1306/ </code><br> | |||
<code>sudo make </code><br> | |||
<code>cd example/</code><br> | |||
<code>sudo make</code><br> | |||
<code>sudo ./oled_demo -o 2 </code><br> | |||
if you need help, you can just use this command:<br> | |||
<code>sudo ./oled_demo -h </code><br> | |||
---- | |||
===FAQ=== | |||
*Question: why does it not show anything that I've tried as your instruction? <br> | |||
**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.<br> | |||
**<code> i2cdetect -y 1 </code> | |||
---- | |||
==Application Senario== | |||
* 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/ ] | |||
---- |
Latest revision as of 19:54, 27 August 2021
0.91 Inch OLED Module
Description
These displays are very tiny, you can use it as your battery status display and you can make it a mp3 lyrics display.
This display is made of 128x32 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.
There are little power require to run the OLED.
This breakout can be used with an I2C interface
it supports Raspberry Pi A, A+,B,B+,2B,3B.
Pictures
Feature:
- Resolution: 128 x 32
- 3.3V work voltage
- I2C driver support
- FP frequency: less than 1 fps
- Wide range of operating temperature: -40°C to 85°C
- Only use 5 pins to control OLED as showing below.
Parameters:
- Dimensions: 36.56mm x 14.87mm x 11.70(include header)mm
- Weight without package: 2.92±2g
Package included:
1 x 0.91 Inch OLED Module
how to wire it up:
Just plug into GPIO in 3.3v,SDA,SCL,GND.
How to use
First of all, you should turn on I2C function on your Pi by editing /boot/config.txt file.
sudo vim.tiny /boot/config.txt
make sure you can find this parameter:
dtparam=i2c_arm=on
And don't forget to reboot your Pi.
- Login your Pi 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 -o 2
if you need help, you can just use this command:
sudo ./oled_demo -h
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
- 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.
Application Senario
- 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/ ]