S-0005: Difference between revisions
Jump to navigation
Jump to search
m (Yoyojacky moved page 0.96 Inch OLED Module SKU: S-0005 to S-0005) |
|||
Line 65: | Line 65: | ||
<pre> | <pre> | ||
sudo usermod -a -G i2c,spi,gpio pi | sudo usermod -a -G i2c,spi,gpio pi | ||
sudo apt install | sudo apt install python3-dev python3-pip libfreetype6-dev libjpeg-dev build-essential | ||
sudo apt install libsdl-dev libportmidi-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev | sudo apt install libsdl-dev libportmidi-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev | ||
</pre> | </pre> | ||
Line 74: | Line 74: | ||
</pre> | </pre> | ||
Finally, install the luma libraries using: | Finally, install the luma libraries using: | ||
<pre>sudo -H | <pre>sudo -H pip3 install -e . </pre> | ||
===Running the examples=== | ===Running the examples=== | ||
After cloning the repository, enter the examples directory and try running one of the following examples listed below. For example: | After cloning the repository, enter the examples directory and try running one of the following examples listed below. For example: |
Revision as of 11:50, 22 November 2021
0.96 Inch OLED Module
Description
0.96 Inch OLED Module is a mini display screen with 128X64 resoluction and SSD1306 chipset.
Standard IIC communication interface pinout compatible with most MCU development board such as arduino, Raspberry Pi,C51 series etc.
The Python library to use SSD1306-based 128x64 or 128x32 pixel OLED displays with a Raspberry Pi or Beaglebone Black too.
Features
- Easy to setup
- Super Low Power Consumption
- Power Input: 3.3V
- Good compatibility: Raspberry Pi 4B/3B+/3B/2B/Zero, Beagle Bone Black and so on.
- Support IIC communication Protocol
- Super Mini size
- Color: White
- Resolution: 128x64 pixels
Specifications
Display Specifications
- Display Mode: Passive Matrix
- Display Color: Monochrome (White)
- Drive Duty: 1/64 Duty
Mechanical Specifications
- Outline Drawing: According to the annexed outline drawing
- Number of Pixels: 128 × 64
- Panel Size: 24.74 × 16.9 × 1.42 (mm)
- Active Area: 21.74 × 10.86 (mm)
- Pixel Pitch: 0.17 × 0.17 (mm)
- Pixel Size: 0.15 × 0.15 (mm)
- Weight: TBD
Maximum Ratings
Gallery
Documentations
- SSD1306 Datasheet:File:SSD1306-Revision 1.0.pdf
- Mechanical Drawing:File:0.96inch Mechanical Drawing.pdf
How to use
For Raspberry Pi 4B
- Open a terminal and Download demo code from: [ https://github.com/rm-hull/luma.examples ]
Installation instructions
Assuming you are using a Raspberry Pi (running Debian Jessie or newer), follow the instructions to wire up your display, then from a command-line:
sudo usermod -a -G i2c,spi,gpio pi sudo apt install python3-dev python3-pip libfreetype6-dev libjpeg-dev build-essential sudo apt install libsdl-dev libportmidi-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
Log out and in again and clone this repository:
git clone https://github.com/rm-hull/luma.examples.git cd luma.examples
Finally, install the luma libraries using:
sudo -H pip3 install -e .
Running the examples
After cloning the repository, enter the examples directory and try running one of the following examples listed below. For example:
python examples/3d_box.py
- Other example Demo:
python animated_gif.py
KeyWords
- 0.96 inch OLED display, oled screen, oled, Raspberry Pi 4B, 128x64pixels