Difference between revisions of "RASPBERRY PI OLED ADD-ON/zh-cn"

From ITEAD Wiki
Jump to: navigation, search
(Created page with "==特色==")
(Created page with "*为树莓派量身定做,不用接线,即插即用 *可堆叠 *0.96英寸 128*64 像素点单色OLED屏幕 *提供1组Grove电子积木口")
Line 9: Line 9:
 
==特色==
 
==特色==
  
*Customized for Raspberry Pi, plug and play without wiring
+
*为树莓派量身定做,不用接线,即插即用
*0.96" OLED with 128*64 pixels
+
*可堆叠
*Stackable
+
*0.96英寸 128*64 像素点单色OLED屏幕
*Coming with one Grove interface for Electronic bricks
+
*提供1组Grove电子积木口
 
   
 
   
  

Revision as of 09:19, 17 July 2014

概述

IM140714003 3.JPG

市面上很少能找到为树莓派量身定制的OLED屏幕,/在很多应用项目中,我们仅需要显示非常简单的一些信息,比如系统状态、IP等信息,/或者对便携性有较高需求,这时候用HDMI去接一个大屏幕明显不合适,一个小巧的OLED屏幕刚好能满足这种需求。

OLED Add-on是为树莓派量身定制的,板载一块0.96" 128*64 OLED屏幕,控制芯片为SSD1306,每一个像素点都可以通过SSD1306独立控制点亮或者关闭。

我们不仅仅只是提供一块可以方便的插在树莓派上面的板子,还为其配套提供了SDK,移植了Arduino上的驱动程序。安装完SDK后,就可以像在Arduino平台底下一样,非常轻松的驱动这块板子。

特色

  • 为树莓派量身定做,不用接线,即插即用
  • 可堆叠
  • 0.96英寸 128*64 像素点单色OLED屏幕
  • 提供1组Grove电子积木口


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

IM140714003pic1.jpg IM140714003pic2.jpg IM140714003pic3.jpg

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.

IM140714003in1.gif

Download

File:SCH IM140714003.pdf

Useful Link

https://github.com/iteadsw/SDK https://github.com/iteadsw/SDK/tree/master/libraries/itead_SSD1306