Difference between revisions of "Microduino-Module OLED"

From Microduino Wiki
Jump to: navigation, search
 
(27 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Language|Microduino-OLED}}
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-
Line 4: Line 5:
 
[[file:Microduino-OLED-rect.jpg|400px|thumb|right|Microduino-OLED]]
 
[[file:Microduino-OLED-rect.jpg|400px|thumb|right|Microduino-OLED]]
  
Microduino-Oled 12864 是基于 SSD1306 的 0.96 12864 OLED 显示模块。采用I2C接口,3.3V 电源。
+
Microduino-OLED is a 0.96-inch 12864 OLED display module based on SSD1306, adopting the I2C interface and 3.3V power supply.
  
  
Line 12: Line 13:
 
==Features==
 
==Features==
  
*主动发光、不需背光源、视角范围大;
+
*Glow actively, own a wide view and need no backlight.
*驱动电压低、能耗低;
+
*Low driving voltage and power consumption.
*I2C方式通信,节省IO口,用途广泛;
+
*Communicate in a way of I2C.
*小巧、便宜、开放;
+
*Small,stackable and economic.
*开源的硬件电路设计,与 Arduino 兼容的编程开发环境程;
+
*Open hardware circuit design and Arduino compatible programming development environment.
*统一的 Microduino 接口规范,和丰富的外围模块,可方便、灵活的与其他符合 Microduino 接口规范的模块、传感器进行快速的连接和扩展;
+
*With a uniform Microduino interface standard and rich peripheral modules, it can easily connect with other Microduino modules and sensors.
 
 
  
 
|-
 
|-
Line 25: Line 25:
 
==Specifications==
 
==Specifications==
  
*分辨率:128x64;
+
*Resolution: 128x64;
*接口: IIC通讯;
+
*Interface: IIC communication;
*电源:3.3V;
+
*Voltage: 3.3V;
  
 +
[[File:OLED-Pinout-1.jpg|800px|thumb|center|Microduino-OLED-Pinout1]]
  
 
|-
 
|-
Line 34: Line 35:
  
 
==Documents==
 
==Documents==
Eagle PCB File:Microduino-Oled.zip
+
Eagle PCB [[File:Microduino-Oled.zip]]
主要元件
+
main components
  
*12864Oled显示屏:2864HSWEG01 File:2864HSWEG01.pdf
+
*12864Oled Display screen: 2864HSWEG01 [[File:2864HSWEG01.pdf]]
*驱动芯片:SSD1306 File:SSD1306-Revision 1.1.pdf
+
*Driver IC: SSD1306 [[File:SSD1306-Revision 1.1.pdf]]
  
 
|-
 
|-
Line 45: Line 46:
 
==Development==
 
==Development==
  
*【U8glib库google下载 】
+
*Microduino_OLED_U8glib: https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_U8glib
*【Adafruit_SSD1306库github下载 】
+
*Microduino_OLED_MultiLCD: https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_MultiLCD
*【MultiLCD库https://github.com/stanleyhuangyc/MultiLCD github下载 ] 】
+
*【Adafruit_SSD1306 library'''[https://github.com/adafruit/Adafruit_SSD1306 github download ]'''
 +
 
  
 
|-
 
|-
Line 53: Line 55:
  
 
==Applications==
 
==Applications==
u8glib库示例程序基本用法
+
The basic usage of u8glib library's sample program 
  
注意:core的IIC接口为A4(SDA),A5(SCL),core+的IIC接口为D20(SDA),D21(SCL)
+
Note: The IIC interfaces of Microduino-Core and Microduino-Core+ are "A4(SDA), A5(SCL)" and "D20(SDA), D21(SCL)" respectively.
  
*将下载好的库放入Arduino IDE安装文件夹内的libraries中,如果打开了Arduino IDE,先关闭所有的,再打开u8glib库里的示例程序;
+
*Put the downloaded library into the libraries of Arduino IDE installation folder. If you open Arduino IDE, please close all the other example program before you open example programs inside u8glib library;
*打开HelloWorld示例程序,把U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE)这行的注释取消(删除“//”),编译通过后就可直接下载,下载完毕后“Hello World!”就显示在屏幕上;
+
*Open the HelloWorld sample program, remove comments on this line: U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NONE) (remove "/ /"), then download it directly after it gets compiled successfully. You can see the  "Hello World!" displayed on the screen after the download;
*显示字符/变量:
+
*Display characters/variables:
*利用u8g.print(xx)函数即可,用法与Serial.print(xx)基本一致。
+
**Use u8g.print (xx) function, just like the way you did with Serial.print (xx).
*更改字体:
+
*Change the font:
*u8g.setFont(xx)语句可更改字体,括号中的“xx”换成对应字体库名即可(可在U8glib\utility文件中的u8g.h文本里查找字体库);
+
**Use u8g.setFont (xx) function to change the font, parentheses "xx" can be replaced by the corresponding font library name (you can search font library in u8g.h within U8glib \utility folder);
*推荐大字体:u8g_font_7x13、推荐中字体:u8g_font_fixed_v0r、推荐小字体:u8g_font_chikitar;
+
**Large font is recommended for u8g_font_7x13, middle font for u8g_font_fixed_v0r and small font for u8g_font_chikitar;
*更改坐标:
+
*Change coordinates:
*可以通过u8g.setPrintPos(x,y);更改显示坐标位置。
+
**Use u8g.setPrintPos (x, y) function to change the display of coordinates
*屏幕旋转:
+
*Screen Rotation:
*将u8g.setRot180()注释在void setup()中,即可使屏幕翻转180度,可将180改为90、270;
+
**Post u8g.setRot180() in void setup() function, the screen will be flipped to 180-degree, you also can change 180 to 90,270;
  
 
|-
 
|-
 
|
 
|
  
==Buy==
+
==FQA==
 +
*What the voltage for this module?
 +
**3.3V
  
 +
==Purchase==
  
 
|-
 
|-
Line 79: Line 84:
 
==History==
 
==History==
  
*2013年6月23日,批量完成,正式上架。
+
*June 23, 2013, Batch completed, formal shelves.
*2013年6月2日,第二次打样测试完成,暂未发现问题,面板批量完成。
+
*June 2, 2013, Second proofing test is completed, No problems found so far, panel batch is complete.
*2013年5月18日,测试样板出炉,无上电复位电路,飞一个电容解决。
+
*May 18, 2013, Test model came out, no power-on reset circuit, not a capacitor resolved.
*2013年5月16日,样板出炉,有小问题。
+
*May 16, 2013, Model released, there is a small problem.
*2013年5月7日,布板完成。
+
*May 7, 2013, Layout is complete.
  
  
 
|-
 
|-
 
|
 
|
 
 
 
  
 
==Pictures==
 
==Pictures==

Latest revision as of 09:54, 9 September 2016

Language: English  • 中文
Microduino-OLED

Microduino-OLED is a 0.96-inch 12864 OLED display module based on SSD1306, adopting the I2C interface and 3.3V power supply.


Features

  • Glow actively, own a wide view and need no backlight.
  • Low driving voltage and power consumption.
  • Communicate in a way of I2C.
  • Small,stackable and economic.
  • Open hardware circuit design and Arduino compatible programming development environment.
  • With a uniform Microduino interface standard and rich peripheral modules, it can easily connect with other Microduino modules and sensors.

Specifications

  • Resolution: 128x64;
  • Interface: IIC communication;
  • Voltage: 3.3V;
Microduino-OLED-Pinout1

Documents

Eagle PCB File:Microduino-Oled.zip main components

Development


Applications

The basic usage of u8glib library's sample program

Note: The IIC interfaces of Microduino-Core and Microduino-Core+ are "A4(SDA), A5(SCL)" and "D20(SDA), D21(SCL)" respectively.

  • Put the downloaded library into the libraries of Arduino IDE installation folder. If you open Arduino IDE, please close all the other example program before you open example programs inside u8glib library;
  • Open the HelloWorld sample program, remove comments on this line: U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NONE) (remove "/ /"), then download it directly after it gets compiled successfully. You can see the "Hello World!" displayed on the screen after the download;
  • Display characters/variables:
    • Use u8g.print (xx) function, just like the way you did with Serial.print (xx).
  • Change the font:
    • Use u8g.setFont (xx) function to change the font, parentheses "xx" can be replaced by the corresponding font library name (you can search font library in u8g.h within U8glib \utility folder);
    • Large font is recommended for u8g_font_7x13, middle font for u8g_font_fixed_v0r and small font for u8g_font_chikitar;
  • Change coordinates:
    • Use u8g.setPrintPos (x, y) function to change the display of coordinates
  • Screen Rotation:
    • Post u8g.setRot180() in void setup() function, the screen will be flipped to 180-degree, you also can change 180 to 90,270;

FQA

  • What the voltage for this module?
    • 3.3V

Purchase

History

  • June 23, 2013, Batch completed, formal shelves.
  • June 2, 2013, Second proofing test is completed, No problems found so far, panel batch is complete.
  • May 18, 2013, Test model came out, no power-on reset circuit, not a capacitor resolved.
  • May 16, 2013, Model released, there is a small problem.
  • May 7, 2013, Layout is complete.


Pictures

Microduino OLED Front


Microduino OLED Back