Difference between revisions of "Microduino-Module OLED"

From Microduino Wiki
Jump to: navigation, search
(Applications)
(Applications)
Line 58: Line 58:
  
 
*put your downloaded library in to libraries within Arduino IDE installation folder, If open Arduino IDE, please close all other example program before you open example program within u8glib library;
 
*put your downloaded library in to libraries within Arduino IDE installation folder, If open Arduino IDE, please close all other example program before you open example program within u8glib library;
*打开HelloWorld示例程序,把U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE)这行的注释取消(删除“//”),编译通过后就可直接下载,下载完毕后“Hello World!”就显示在屏幕上;
+
*Open the HelloWorld sample program, cancel comment for this line: U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NONE) (remove "/ /"), the compiler can be downloaded directly through after the download is complete, then "Hello World!" Is displayed on the screen;
*显示字符/变量:
+
*Display character / variables:
*利用u8g.print(xx)函数即可,用法与Serial.print(xx)基本一致。
+
*Use u8g.print (xx) function can be, usage are basically as same as 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;
+
*Recommended large font: u8g_font_7x13, recommended font: u8g_font_fixed_v0r, recommended small fonts: u8g_font_chikitar;
*更改坐标:
+
*Change coordinates:
*可以通过u8g.setPrintPos(x,y);更改显示坐标位置。
+
*Use u8g.setPrintPos (x, y) function, if you want to change the display coordinates
*屏幕旋转:
+
*Screen Rotation:
*将u8g.setRot180()注释在void setup()中,即可使屏幕翻转180度,可将180改为90、270;
+
*Comment u8g.setRot180() in void setup() function, you flip the screen 180 degrees, you can also change 180 to 90,270;
  
 
|-
 
|-

Revision as of 05:08, 21 January 2014

Microduino-OLED

Microduino-Oled 12864 is based SSD1306 0.96 inch 12864 OLED display module. Using the I2C interface, 3.3V power supply.


Features

  • Active light, no backlight, large-angle range;
  • Low driving voltage, low power consumption;
  • I2C mode of communication, saving IO port, widely used;
  • Small, cheap, open source;
  • Open source hardware circuit design, compatible with the Arduino IDE development environment for programming process;
  • Microduino unified interface specification, and rich peripheral modules can be easily and flexibly with other eligible Microduino interface specification modules, sensors for quick connection and expansion;


Specifications

  • Resolution:128x64;
  • Interface: IIC communication;
  • Power supply:3.3V;


Documents

Eagle PCB File:Microduino-Oled.zip main components

Development

Applications

basic usage sample program of u8glib library

Note:core's IIC interface is A4(SDA),A5(SCL),core+'s IIC interface is D20(SDA),D21(SCL)

  • put your downloaded library in to libraries within Arduino IDE installation folder, If open Arduino IDE, please close all other example program before you open example program within u8glib library;
  • Open the HelloWorld sample program, cancel comment for this line: U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NONE) (remove "/ /"), the compiler can be downloaded directly through after the download is complete, then "Hello World!" Is displayed on the screen;
  • Display character / variables:
  • Use u8g.print (xx) function can be, usage are basically as same as 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);
  • Recommended large font: u8g_font_7x13, recommended font: u8g_font_fixed_v0r, recommended small fonts: u8g_font_chikitar;
  • Change coordinates:
  • Use u8g.setPrintPos (x, y) function, if you want to change the display coordinates
  • Screen Rotation:
  • Comment u8g.setRot180() in void setup() function, you flip the screen 180 degrees, you can also change 180 to 90,270;

Buy

History

  • 2013年6月23日,批量完成,正式上架。
  • 2013年6月2日,第二次打样测试完成,暂未发现问题,面板批量完成。
  • 2013年5月18日,测试样板出炉,无上电复位电路,飞一个电容解决。
  • 2013年5月16日,样板出炉,有小问题。
  • 2013年5月7日,布板完成。




Pictures

Microduino OLED Front


Microduino OLED Back