RASPBERRY PI OLED ADD-ON — различия между версиями
ITead (обсуждение | вклад) м |
ITead (обсуждение | вклад) (Marked this version for translation) |
||
| Строка 1: | Строка 1: | ||
<translate> | <translate> | ||
| − | ==Overview== | + | ==Overview== <!--T:1--> |
[[File:IM140714003_3.JPG|thumb|400px|right]] | [[File:IM140714003_3.JPG|thumb|400px|right]] | ||
There are seldom OLED add-ons customized for Raspberry Pi in the open source hardware market. In a lot of projects, we only need to display little information such as the state of system or IP. What’s more, when we have a high requirement for its portability, it’s unsuitable to connect a big screen to Raspberry Pi via HDMI interface. Thus, a tiny OLED add-on can satisfy this demand. | There are seldom OLED add-ons customized for Raspberry Pi in the open source hardware market. In a lot of projects, we only need to display little information such as the state of system or IP. What’s more, when we have a high requirement for its portability, it’s unsuitable to connect a big screen to Raspberry Pi via HDMI interface. Thus, a tiny OLED add-on can satisfy this demand. | ||
| + | <!--T:2--> | ||
OLED add-on with built-in 0.96" 128*64 OLED and SSD1306 control chip is customized for Raspberry Pi. Every single pixel in OLED can be lighted up or off by this SSD1306 control chip. | OLED add-on with built-in 0.96" 128*64 OLED and SSD1306 control chip is customized for Raspberry Pi. Every single pixel in OLED can be lighted up or off by this SSD1306 control chip. | ||
| + | <!--T:3--> | ||
We not only offer an easily-plugged add-on for Raspberry Pi, but also provide an SDK that help you transplant Arduino’s driver into Raspberry Pi. After installing the SDK, you can drive this add-on as easily as you do on Arduino. | We not only offer an easily-plugged add-on for Raspberry Pi, but also provide an SDK that help you transplant Arduino’s driver into Raspberry Pi. After installing the SDK, you can drive this add-on as easily as you do on Arduino. | ||
| − | ==Features== | + | ==Features== <!--T:4--> |
| + | <!--T:5--> | ||
*Customized for Raspberry Pi, plug and play without wiring | *Customized for Raspberry Pi, plug and play without wiring | ||
*0.96" OLED with 128*64 pixels | *0.96" OLED with 128*64 pixels | ||
| Строка 17: | Строка 20: | ||
| − | ==Specification== | + | ==Specification== <!--T:6--> |
| + | <!--T:7--> | ||
{| border="1" | {| border="1" | ||
| PCB size||48.35mm X 48.47mm X1.6mm | | PCB size||48.35mm X 48.47mm X1.6mm | ||
| Строка 26: | Строка 30: | ||
|} | |} | ||
| − | ==Electrical Characteristics== | + | ==Electrical Characteristics== <!--T:8--> |
| + | <!--T:9--> | ||
{| class="wikitable" | {| class="wikitable" | ||
| align="center" style="background:#f0f0f0;"|'''Characteristics''' | | align="center" style="background:#f0f0f0;"|'''Characteristics''' | ||
| Строка 46: | Строка 51: | ||
|} | |} | ||
| − | ==Hardware== | + | ==Hardware== <!--T:10--> |
[[File:IM140714003pic1.jpg|500px]] | [[File:IM140714003pic1.jpg|500px]] | ||
[[File:IM140714003pic2.jpg|500px]] | [[File:IM140714003pic2.jpg|500px]] | ||
[[File:IM140714003pic3.jpg|500px]] | [[File:IM140714003pic3.jpg|500px]] | ||
| − | ==Pin Map== | + | ==Pin Map== <!--T:11--> |
| + | <!--T:12--> | ||
{| class="wikitable" | {| class="wikitable" | ||
| align="center" style="background:#f0f0f0;"|'''Pin Index''' | | align="center" style="background:#f0f0f0;"|'''Pin Index''' | ||
| Строка 113: | Строка 119: | ||
|} | |} | ||
| − | ==Instruction== | + | ==Instruction== <!--T:13--> |
*Plug OLED add-on into Raspberry Pi and power it | *Plug OLED add-on into Raspberry Pi and power it | ||
*modify the file /etc/modprobe.d/raspi-balcklist.conf | *modify the file /etc/modprobe.d/raspi-balcklist.conf | ||
| Строка 123: | Строка 129: | ||
::i2c-dev | ::i2c-dev | ||
*reboot | *reboot | ||
| − | *Download the SDK from this link: https://github.com/iteadsw/SDK and then install it | + | *[[Download]] the SDK from this link: https://github.com/iteadsw/SDK and then install it |
*Enter into the directory '''libraries/itead_SSD1306/examples/oled_Animation_Sample/''', then compile and run this file '''oled_Animation_Sample.ino''' | *Enter into the directory '''libraries/itead_SSD1306/examples/oled_Animation_Sample/''', then compile and run this file '''oled_Animation_Sample.ino''' | ||
:Command as below to compile oled_Animation_Sample.ino | :Command as below to compile oled_Animation_Sample.ino | ||
| Строка 132: | Строка 138: | ||
[[File:IM140714003in1.gif|400px]] | [[File:IM140714003in1.gif|400px]] | ||
| − | ==Download== | + | ==Download== <!--T:14--> |
[[File:SCH_IM140714003.pdf]] | [[File:SCH_IM140714003.pdf]] | ||
| − | ==Useful Link== | + | ==Useful Link== <!--T:15--> |
https://github.com/iteadsw/SDK | https://github.com/iteadsw/SDK | ||
https://github.com/iteadsw/SDK/tree/master/libraries/itead_SSD1306 | https://github.com/iteadsw/SDK/tree/master/libraries/itead_SSD1306 | ||
</translate> | </translate> | ||
Версия 09:15, 17 июля 2014
Содержание
Overview
There are seldom OLED add-ons customized for Raspberry Pi in the open source hardware market. In a lot of projects, we only need to display little information such as the state of system or IP. What’s more, when we have a high requirement for its portability, it’s unsuitable to connect a big screen to Raspberry Pi via HDMI interface. Thus, a tiny OLED add-on can satisfy this demand.
OLED add-on with built-in 0.96" 128*64 OLED and SSD1306 control chip is customized for Raspberry Pi. Every single pixel in OLED can be lighted up or off by this SSD1306 control chip.
We not only offer an easily-plugged add-on for Raspberry Pi, but also provide an SDK that help you transplant Arduino’s driver into Raspberry Pi. After installing the SDK, you can drive this add-on as easily as you do on Arduino.
Features
- Customized for Raspberry Pi, plug and play without wiring
- 0.96" OLED with 128*64 pixels
- Stackable
- Coming with one Grove interface for Electronic bricks
Specification
| PCB size | 48.35mm X 48.47mm X1.6mm |
| Interface | RPI 26pins Interface X2,UART |
Electrical Characteristics
| Characteristics | Symbol | Min | Typ | Max | Unit |
| Power supply voltage | VDD | 3 | 3.3 | 3.5 | V |
| High input voltage | VIH | 0.8XVDD | - | VDD | V |
| Low input voltage | VIL | 0 | - | 0.2XVDD | V |
| Operation current for VDD | IDD | - | 180 | 300 | uA |
Hardware
Pin Map
| Pin Index | Pin Name | OLED 2864 pin | Description |
| 1 | 3V3 | - | |
| 2 | 5V | - | |
| 3 | SDA | SDA | |
| 4 | 5V | - | |
| 5 | SCL | SCL | |
| 6 | GND | - | |
| 7 | GPIO7 | UART TXD | |
| 8 | TXD | ||
| 9 | GND | ||
| 10 | RXD | UART RXD | |
| 11 | GPIO0 | ||
| 12 | GPIO1 | ||
| 13 | GPIO2 | ||
| 14 | GND | ||
| 15 | GPIO3 | ||
| 16 | GPIO4 | RST# | |
| 17 | 3V3 | ||
| 18 | GPIO5 | ||
| 19 | MOSI | ||
| 20 | GND | ||
| 21 | MISO | ||
| 22 | GPIO6 | ||
| 23 | SCK | ||
| 24 | CE0 | ||
| 25 | GND | ||
| 26 | CE1 |
Instruction
- Plug OLED add-on into Raspberry Pi and power it
- modify the file /etc/modprobe.d/raspi-balcklist.conf
- modified codes as below
- blacklist spi-bcm2708
- blacklist i2c-bcm2708
- modify /etc/modules
- add a line in the end as below:
- i2c-dev
- reboot
- Download the SDK from this link: https://github.com/iteadsw/SDK and then install it
- Enter into the directory libraries/itead_SSD1306/examples/oled_Animation_Sample/, then compile and run this file oled_Animation_Sample.ino
- Command as below to compile oled_Animation_Sample.ino
- $ iteadcompile OLED oled_Animation_Sample.ino
- Command to run this program
- $ sudo ./OLED
- When the compilation is done, you can see a little man dancing on OLED.
Download
Useful Link
https://github.com/iteadsw/SDK https://github.com/iteadsw/SDK/tree/master/libraries/itead_SSD1306
Notice