中景园电子1.3寸OLED显示屏_装配文件_V2.0.pdf

合集下载

中景园电子0.96寸OLED使用文档新手必看V2.0

中景园电子0.96寸OLED使用文档新手必看V2.0

0.96寸OLED显示屏使用手册一、OLED简介OLED,即有机发光二极管(Organic Light Emitting Diode)。

OLED 由于同时具备自发光,不需背光源、对比度高、厚度薄、视角广、反应速度快、可用于挠曲性面板、使用温度范围广、构造及制程较简单等优异之特性,被认为是下一代的平面显示器新兴应用技术。

LCD 都需要背光,而OLED不需要,因为它是自发光的。

这样同样的显示OLED效果要来得好一些。

以目前的技术,OLED 的尺寸还难以大型化,但是分辨率确可以做到很高。

在此我们使用的是中景园电子的0.96寸OLED显示屏,该屏有以下特点:1)0.96寸OLED有黄蓝,白,蓝三种颜色可选;其中黄蓝是屏上1/4部分为黄光,下3/4为蓝;而且是固定区域显示固定颜色,颜色和显示区域均不能修改;白光则为纯白,也就是黑底白字;蓝色则为纯蓝,也就是黑底蓝字。

2)分辨率为128*643)多种接口方式;OLED裸屏总共种接口包括:6800、8080 两种并行接口方式、3线或4 线的串行SPI 接口方式、IIC 接口方式(只需要 2 根线就可以控制OLED 了!),这五种接口是通过屏上的BS0~BS2来配置的。

4)中景园电子的本屏开发了两种接口的Demo板,接口分别为七针的SPI/IIC兼容模块,四针的IIC模块。

两种模块都很方便使用;希望大家根据实际需求来选择不同的模块。

二、产品特点2.1 0.96寸OLED裸屏外观裸屏为30pin,从屏正面看左下角为1,右下角为30;在设计的时候一定要注意不要搞反了。

具体的接口定义请大家查看0.96寸OLED官方数据手册;里面有详细介绍。

2.2 0.96寸OLED模块2.2.1 SPI/IIC接口模块模块接口定义:1.GND 电源地2.VCC 电源正(3~5.5V)3.D0 OLED的D0脚,在SPI和IIC通信中为时钟管脚4.D1 OLED的D1脚,在SPI和IIC通信中为数据管脚5.RES OLED的RES#脚,用来复位(低电平复位)6.DC OLED的D/C#E脚,数据和命令控制管脚7.CS OLED的CS#脚,也就是片选管脚2.2.2 IIC接口模块1.GND 电源地2.VCC 电源正(3~5.5V)3.SCL OLED的D0脚,在IIC通信中为时钟管脚4.SDA OLED的D1脚,在IIC通信中为数据管脚2.3 0.96寸OLED驱动IC本屏所用的驱动IC为SSD1306;其具有内部升压功能;所以在设计的时候不需要再专一设计升压电路;当然了本屏也可以选用外部升压,具体的请详查数据手册。

中景园电子1.3OLED显示屏_数据手册

中景园电子1.3OLED显示屏_数据手册
"A" 0.23 0.21
P0.23x64-0.02=14.7 0.23 0.21
Segment 129
( Column 1 )
Common 1
( Row 63 )
Common 63
( Row 1 )
Segment 2
( Column 128 )
Common 0
( Row 64 )
Common 62
31.42± 0.2 (V/A)
29.42± 0.2 (A/A)
10
5
1.4± 0.1
Item
Date
A
20130605
Remark Original Drawing
P0.23x128-0.02=29.42 "A"
(2.1) (1.1) 0.5± 0.5
0.21 0.23 P0.23x64-0.02=14.7
P This is a ground pin. It acts as a reference for the logic pins. It must be
connected to external ground.
Power Supply for OEL Panel
P
This is the most positive voltage supply pin of the chip. A stabilization capacitor should be connected between this pin and VSS when the converter is used. It
must be connected to external source when the converter is not used.

嵌入式振镜软件说明书

嵌入式振镜软件说明书

嵌入式振镜软件说明书版权申明深圳市鹏鼎智控科技有限公司保留所有权利深圳市鹏鼎智控科技有限公司保留在不事先通知的情况下,修改本手册中的产品和产品规格等文件的权力。

我司不承担由于使用本手册或本产品不当,所造成直接的、间接的、特殊的、附带的或相应产生的损失或责任。

我司具有本产品及其软件的专利权、版权和其它知识产权。

未经授权,不得直接或者间接地复制、制造、加工、使用本产品及其相关部分。

联系我们深圳市鹏鼎智控科技有限公司地址:深圳市光明区公明街道东周社区康佳科技中心A12层H12网址:/1.简介1.1版本说明版本号更新说明软件版本号更新人更新时间V1.0初版 1.0.0蔡恩宏2022/04/091.2振镜控制卡支持卡型号支持或特性图例PDU5000-YLR-通用IO输入×20A1通用IO输出×18HDMI接口×1网口接口×1USB接口×4IO24V供电振镜分光3路扩展轴直插扩展轴限位×6板卡15V供电激光器直插振镜直插PDU5000-YA通用IO输入×20G-V6K2通用IO输入×18HDMI接口×1网口接口×1USB接口×4IO24V供电振镜分光3路扩展轴直插扩展轴限位×6板卡15V供电激光器波形IO振镜直插1.3安装说明板卡配件:10pin端子*4(YAG卡多一个),3pin端子*2,6pin端子*1,振镜线*1(按需供应),振镜*1(按需供应),场镜*1(按需供应)自备:DB25公头*,DB25母头*1(YAG卡不需要),DB15端公头*1,DB9母头*1,DB9公头*1(YAG卡不需要)鼠标*1,键盘*1,HDMI显示屏*1(注意:若显示屏接口为VAG,则需要加一个VAG转HDMI转换器,显示屏不能太差!)安装:在其他硬件确保安装正确的情况下,先把振镜线接到板卡上J3,即DB25振镜接口上,接着接激光器线(YLR 插J7的DB25母头,YAG接波形IO线),然后接上显示屏的HDMI,显示屏上电,然后上15V电源供电,有IO接IO,IO单独供24V电源,打开整机电源开关,等启动之后,就直接进入软件界面,检查软件右上角,无特殊情况,卡肯定会打开成功,如图:。

0.96寸OLED液晶屏模块

0.96寸OLED液晶屏模块

0.96寸OLED显示屏一、OLED简介OLED,即有机发光二级管(Organic Light Emitting Diode)。

OLED由于同时具备自发光,不需背光源、对比度高、厚度薄、视角广、反应速度快、可用于扭曲性面板、使用温度范围广、构造及制作较简单等优异的特性,被认为是下一代的平面显示器新兴应用技术。

LCD都需要背光,而OLED不需要,因为它是自发光的。

这样同样的显示,OLED效果要来得好一些。

以目前的技术,OLED的尺寸还难以大型化,但是分辨率确可以做到很高。

在此我们使用的是中景园电子的0.96寸OLED显示屏,该屏有以下特点:1、0.96寸OLED有黄蓝、白、蓝三种颜色可以选择,其中黄蓝是屏上1/4部分为黄光,下3/4位蓝光,而且是固定区域显示固定颜色,颜色和显示区域均不能修改。

白光则为纯白,也就是黑底白字。

蓝光则为纯蓝,也就是黑底蓝字。

2、分辨率为128*64,每个像素都是一个LED。

3、多种接口方式,OLED裸屏的接口方式有5种:6800、8080两种并行接口方式、3线或4线的串行SPI接口方式、I2C接口方式(只需要用到2根线就可以控制OLED了!),这5种接口方式是通过屏上的BS0~BS2来配置的。

4、中景园电子的屏开发了两种接口的DEMO板,接口分别为七针的SPI/I2C兼容模块,四针的I2C模块,两种模块都很方便使用,我们可以根据实际需求来选择不同的模块。

二、模块特点:1、0.96寸OLED裸屏外观裸屏为30Pin,从屏正面看左下角为1脚,右下角为30脚。

在设计的时候一定要注意不要弄反了。

具体的接口方式请大家查看0.96寸OLED官方数据手册,里面有详细介绍。

2、0.96寸OLED模块(1)SPI/I2C接口模块(7脚)(2)I2C接口模块(4脚)3、0.96寸OLED的驱动IC芯片(SSD1306)本屏所用的驱动IC芯片为SSD1306,其具有内部升压功能,所以在设计的时候就不需要再专门设计升压电路了。

0.96寸OLED介绍第二讲

0.96寸OLED介绍第二讲

0.96寸OLED显示屏介绍0.96 寸OLED 显示屏使用方法(以中景园电子的0.96 寸OLED 显示屏为例)0.96寸OLED显示屏实物图七针SPI/IIC 0.96寸OLED显示屏使用方法:七针SPI/IIC 0.96寸OLED显示屏共有七个管脚,1~7 分别为GDN、VCC、D0、D1、RES、DC、CS。

此模块支持四线SPI、三线SPI、IIC 接口。

0.96寸OLED显示屏裸屏是支持五种不同接口的,除了前面的三种还有6800、8080 并口方式;由于这两种接口占用数据线比较多;而且不太常用,所以模块在设计的时候没有引出来。

模块的通信接口是通过BS0,BS1,BS2三个管脚来配置的。

在SPI 接口中,R1,R2,R8 三个电阻是不焊接的。

在IIC 接口中,需要将R3换到R1上,R8 可以焊接也可不焊接。

七针SPI/IIC 0.96寸OLED显示屏正面丝印如下,如果想用IIC接口,在IIC接口中需要将RES接高电平,可以与VCC对接,使OLED复位脚一直操持高电平,也就是不复位的状态;同时需要将DC,CS 接电源地;IIC 通信中只需要GND ,VCC,D0(时钟信号),D1(数据信号)四根线。

如果感觉比较麻烦;也可以直接选用四针的IIC接口的0.96寸OLED显示屏。

四针IIC接口相对比较简单一些,只有两个信号线。

1、GND:电源地。

2、VCC:电源正(3~5.5V)。

3、SCL:OLED 的D0 脚,在IIC 通信中为时钟管脚。

4、SDA:OLED 的D1 脚,在IIC 通信中为数据管脚。

0.96 寸OLED显示屏例程:/****************0.96英寸OLED显示信息***************** 处理器:STM32F103C8T6程序功能:开发板上电后在oled液晶屏中显示一些提示信息。

*****************************************************/ #include "sys.h"#include "stdlib.h"#define OLED_RST_Clr() PCout(13)=0 //RST#define OLED_RST_Set() PCout(13)=1 //RST#define OLED_RS_Clr() PBout(4)=0 //DC#define OLED_RS_Set() PBout(4)=1 //DC#define OLED_SCLK_Clr() PCout(15)=0 //SCL#define OLED_SCLK_Set() PCout(15)=1 //SCL#define OLED_SDIN_Clr() PCout(14)=0 //SDA#define OLED_SDIN_Set() PCout(14)=1 //SDA#define OLED_CMD 0 //写命令#define OLED_DATA 1 //写数据void delay_init(u8 SYSCLK);void delay_ms(u16 nms);void delay_us(u32 nus);void OLED_WR_Byte(u8 dat,u8 cmd);void OLED_Display_On(void);void OLED_Display_Off(void);void OLED_Refresh_Gram(void);void Oled_Init(void);void OLED_Clear(void);void OLED_DrawPoint(u8 x,u8 y,u8 t);void OLED_ShowChar(u8 x,u8 y,u8 chr,u8 size,u8 mode); void OLED_ShowNumber(u8 x,u8 y,u32 num,u8 len,u8 size); void OLED_ShowString(u8 x,u8 y,const u8 *p);void Oled_Show(void);u8 OLED_GRAM[128][8];const unsigned char oled_asc2_1206[95][12]={{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*" ",0*/ {0x00,0x00,0x00,0x00,0x3F,0x40,0x00,0x00,0x00,0x00,0x00,0x00},/*"!",1*/ {0x00,0x00,0x30,0x00,0x40,0x00,0x30,0x00,0x40,0x00,0x00,0x00},/*""",2*/ {0x09,0x00,0x0B,0xC0,0x3D,0x00,0x0B,0xC0,0x3D,0x00,0x09,0x00},/*"#",3*/ {0x18,0xC0,0x24,0x40,0x7F,0xE0,0x22,0x40,0x31,0x80,0x00,0x00},/*"$",4*/ {0x18,0x00,0x24,0xC0,0x1B,0x00,0x0D,0x80,0x32,0x40,0x01,0x80},/*"%",5*/ {0x03,0x80,0x1C,0x40,0x27,0x40,0x1C,0x80,0x07,0x40,0x00,0x40},/*"&",6*/ {0x10,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"'",7*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x80,0x20,0x40,0x40,0x20},/*"(",8*/ {0x00,0x00,0x40,0x20,0x20,0x40,0x1F,0x80,0x00,0x00,0x00,0x00},/*")",9*/ {0x09,0x00,0x06,0x00,0x1F,0x80,0x06,0x00,0x09,0x00,0x00,0x00},/*"*",10*/ {0x04,0x00,0x04,0x00,0x3F,0x80,0x04,0x00,0x04,0x00,0x00,0x00},/*"+",11*/ {0x00,0x10,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*",",12*/ {0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00},/*"-",13*/ {0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*".",14*/ {0x00,0x20,0x01,0xC0,0x06,0x00,0x38,0x00,0x40,0x00,0x00,0x00},/*"/",15*/ {0x1F,0x80,0x20,0x40,0x20,0x40,0x20,0x40,0x1F,0x80,0x00,0x00},/*"0",16*/ {0x00,0x00,0x10,0x40,0x3F,0xC0,0x00,0x40,0x00,0x00,0x00,0x00},/*"1",17*/ {0x18,0xC0,0x21,0x40,0x22,0x40,0x24,0x40,0x18,0x40,0x00,0x00},/*"2",18*/ {0x10,0x80,0x20,0x40,0x24,0x40,0x24,0x40,0x1B,0x80,0x00,0x00},/*"3",19*/ {0x02,0x00,0x0D,0x00,0x11,0x00,0x3F,0xC0,0x01,0x40,0x00,0x00},/*"4",20*/ {0x3C,0x80,0x24,0x40,0x24,0x40,0x24,0x40,0x23,0x80,0x00,0x00},/*"5",21*/ {0x1F,0x80,0x24,0x40,0x24,0x40,0x34,0x40,0x03,0x80,0x00,0x00},/*"6",22*/ {0x30,0x00,0x20,0x00,0x27,0xC0,0x38,0x00,0x20,0x00,0x00,0x00},/*"7",23*/ {0x1B,0x80,0x24,0x40,0x24,0x40,0x24,0x40,0x1B,0x80,0x00,0x00},/*"8",24*/ {0x1C,0x00,0x22,0xC0,0x22,0x40,0x22,0x40,0x1F,0x80,0x00,0x00},/*"9",25*/ {0x00,0x00,0x00,0x00,0x08,0x40,0x00,0x00,0x00,0x00,0x00,0x00},/*":",26*/ {0x00,0x00,0x00,0x00,0x04,0x60,0x00,0x00,0x00,0x00,0x00,0x00},/*";",27*/ {0x00,0x00,0x04,0x00,0x0A,0x00,0x11,0x00,0x20,0x80,0x40,0x40},/*"<",28*/ {0x09,0x00,0x09,0x00,0x09,0x00,0x09,0x00,0x09,0x00,0x00,0x00},/*"=",29*/ {0x00,0x00,0x40,0x40,0x20,0x80,0x11,0x00,0x0A,0x00,0x04,0x00},/*">",30*/ {0x18,0x00,0x20,0x00,0x23,0x40,0x24,0x00,0x18,0x00,0x00,0x00},/*"?",31*/ {0x1F,0x80,0x20,0x40,0x27,0x40,0x29,0x40,0x1F,0x40,0x00,0x00},/*"@",32*/ {0x00,0x40,0x07,0xC0,0x39,0x00,0x0F,0x00,0x01,0xC0,0x00,0x40},/*"A",33*/ {0x20,0x40,0x3F,0xC0,0x24,0x40,0x24,0x40,0x1B,0x80,0x00,0x00},/*"B",34*/ {0x1F,0x80,0x20,0x40,0x20,0x40,0x20,0x40,0x30,0x80,0x00,0x00},/*"C",35*/ {0x20,0x40,0x3F,0xC0,0x20,0x40,0x20,0x40,0x1F,0x80,0x00,0x00},/*"D",36*/ {0x20,0x40,0x3F,0xC0,0x24,0x40,0x2E,0x40,0x30,0xC0,0x00,0x00},/*"E",37*/ {0x20,0x40,0x3F,0xC0,0x24,0x40,0x2E,0x00,0x30,0x00,0x00,0x00},/*"F",38*/ {0x0F,0x00,0x10,0x80,0x20,0x40,0x22,0x40,0x33,0x80,0x02,0x00},/*"G",39*/ {0x20,0x40,0x3F,0xC0,0x04,0x00,0x04,0x00,0x3F,0xC0,0x20,0x40},/*"H",40*/ {0x20,0x40,0x20,0x40,0x3F,0xC0,0x20,0x40,0x20,0x40,0x00,0x00},/*"I",41*/ {0x00,0x60,0x20,0x20,0x20,0x20,0x3F,0xC0,0x20,0x00,0x20,0x00},/*"J",42*/ {0x20,0x40,0x3F,0xC0,0x24,0x40,0x0B,0x00,0x30,0xC0,0x20,0x40},/*"K",43*/{0x20,0x40,0x3F,0xC0,0x20,0x40,0x00,0x40,0x00,0x40,0x00,0xC0},/*"L",44*/ {0x3F,0xC0,0x3C,0x00,0x03,0xC0,0x3C,0x00,0x3F,0xC0,0x00,0x00},/*"M",45*/ {0x20,0x40,0x3F,0xC0,0x0C,0x40,0x23,0x00,0x3F,0xC0,0x20,0x00},/*"N",46*/ {0x1F,0x80,0x20,0x40,0x20,0x40,0x20,0x40,0x1F,0x80,0x00,0x00},/*"O",47*/ {0x20,0x40,0x3F,0xC0,0x24,0x40,0x24,0x00,0x18,0x00,0x00,0x00},/*"P",48*/ {0x1F,0x80,0x21,0x40,0x21,0x40,0x20,0xE0,0x1F,0xA0,0x00,0x00},/*"Q",49*/ {0x20,0x40,0x3F,0xC0,0x24,0x40,0x26,0x00,0x19,0xC0,0x00,0x40},/*"R",50*/ {0x18,0xC0,0x24,0x40,0x24,0x40,0x22,0x40,0x31,0x80,0x00,0x00},/*"S",51*/ {0x30,0x00,0x20,0x40,0x3F,0xC0,0x20,0x40,0x30,0x00,0x00,0x00},/*"T",52*/ {0x20,0x00,0x3F,0x80,0x00,0x40,0x00,0x40,0x3F,0x80,0x20,0x00},/*"U",53*/ {0x20,0x00,0x3E,0x00,0x01,0xC0,0x07,0x00,0x38,0x00,0x20,0x00},/*"V",54*/ {0x38,0x00,0x07,0xC0,0x3C,0x00,0x07,0xC0,0x38,0x00,0x00,0x00},/*"W",55*/ {0x20,0x40,0x39,0xC0,0x06,0x00,0x39,0xC0,0x20,0x40,0x00,0x00},/*"X",56*/ {0x20,0x00,0x38,0x40,0x07,0xC0,0x38,0x40,0x20,0x00,0x00,0x00},/*"Y",57*/ {0x30,0x40,0x21,0xC0,0x26,0x40,0x38,0x40,0x20,0xC0,0x00,0x00},/*"Z",58*/ {0x00,0x00,0x00,0x00,0x7F,0xE0,0x40,0x20,0x40,0x20,0x00,0x00},/*"[",59*/ {0x00,0x00,0x70,0x00,0x0C,0x00,0x03,0x80,0x00,0x40,0x00,0x00},/*"\",60*/ {0x00,0x00,0x40,0x20,0x40,0x20,0x7F,0xE0,0x00,0x00,0x00,0x00},/*"]",61*/ {0x00,0x00,0x20,0x00,0x40,0x00,0x20,0x00,0x00,0x00,0x00,0x00},/*"^",62*/ {0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10},/*"_",63*/ {0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"`",64*/ {0x00,0x00,0x02,0x80,0x05,0x40,0x05,0x40,0x03,0xC0,0x00,0x40},/*"a",65*/ {0x20,0x00,0x3F,0xC0,0x04,0x40,0x04,0x40,0x03,0x80,0x00,0x00},/*"b",66*/ {0x00,0x00,0x03,0x80,0x04,0x40,0x04,0x40,0x06,0x40,0x00,0x00},/*"c",67*/ {0x00,0x00,0x03,0x80,0x04,0x40,0x24,0x40,0x3F,0xC0,0x00,0x40},/*"d",68*/ {0x00,0x00,0x03,0x80,0x05,0x40,0x05,0x40,0x03,0x40,0x00,0x00},/*"e",69*/ {0x00,0x00,0x04,0x40,0x1F,0xC0,0x24,0x40,0x24,0x40,0x20,0x00},/*"f",70*/ {0x00,0x00,0x02,0xE0,0x05,0x50,0x05,0x50,0x06,0x50,0x04,0x20},/*"g",71*/ {0x20,0x40,0x3F,0xC0,0x04,0x40,0x04,0x00,0x03,0xC0,0x00,0x40},/*"h",72*/ {0x00,0x00,0x04,0x40,0x27,0xC0,0x00,0x40,0x00,0x00,0x00,0x00},/*"i",73*/ {0x00,0x10,0x00,0x10,0x04,0x10,0x27,0xE0,0x00,0x00,0x00,0x00},/*"j",74*/ {0x20,0x40,0x3F,0xC0,0x01,0x40,0x07,0x00,0x04,0xC0,0x04,0x40},/*"k",75*/ {0x20,0x40,0x20,0x40,0x3F,0xC0,0x00,0x40,0x00,0x40,0x00,0x00},/*"l",76*/ {0x07,0xC0,0x04,0x00,0x07,0xC0,0x04,0x00,0x03,0xC0,0x00,0x00},/*"m",77*/ {0x04,0x40,0x07,0xC0,0x04,0x40,0x04,0x00,0x03,0xC0,0x00,0x40},/*"n",78*/ {0x00,0x00,0x03,0x80,0x04,0x40,0x04,0x40,0x03,0x80,0x00,0x00},/*"o",79*/ {0x04,0x10,0x07,0xF0,0x04,0x50,0x04,0x40,0x03,0x80,0x00,0x00},/*"p",80*/ {0x00,0x00,0x03,0x80,0x04,0x40,0x04,0x50,0x07,0xF0,0x00,0x10},/*"q",81*/ {0x04,0x40,0x07,0xC0,0x02,0x40,0x04,0x00,0x04,0x00,0x00,0x00},/*"r",82*/ {0x00,0x00,0x06,0x40,0x05,0x40,0x05,0x40,0x04,0xC0,0x00,0x00},/*"s",83*/ {0x00,0x00,0x04,0x00,0x1F,0x80,0x04,0x40,0x00,0x40,0x00,0x00},/*"t",84*/ {0x04,0x00,0x07,0x80,0x00,0x40,0x04,0x40,0x07,0xC0,0x00,0x40},/*"u",85*/ {0x04,0x00,0x07,0x00,0x04,0xC0,0x01,0x80,0x06,0x00,0x04,0x00},/*"v",86*/ {0x06,0x00,0x01,0xC0,0x07,0x00,0x01,0xC0,0x06,0x00,0x00,0x00},/*"w",87*/{0x04,0x40,0x06,0xC0,0x01,0x00,0x06,0xC0,0x04,0x40,0x00,0x00},/*"x",88*/{0x04,0x10,0x07,0x10,0x04,0xE0,0x01,0x80,0x06,0x00,0x04,0x00},/*"y",89*/{0x00,0x00,0x04,0x40,0x05,0xC0,0x06,0x40,0x04,0x40,0x00,0x00},/*"z",90*/{0x00,0x00,0x00,0x00,0x04,0x00,0x7B,0xE0,0x40,0x20,0x00,0x00},/*"{",91*/{0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF0,0x00,0x00,0x00,0x00},/*"|",92*/{0x00,0x00,0x40,0x20,0x7B,0xE0,0x04,0x00,0x00,0x00,0x00,0x00},/*"}",93*/{0x40,0x00,0x80,0x00,0x40,0x00,0x20,0x00,0x20,0x00,0x40,0x00},/*"~",94*/};const unsigned char oled_asc2_1608[95][16]={{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*" ",0*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xCC,0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00},/*"!",1*/ {0x00,0x00,0x08,0x00,0x30,0x00,0x60,0x00,0x08,0x00,0x30,0x00,0x60,0x00,0x00,0x00},/*""",2*/ {0x02,0x20,0x03,0xFC,0x1E,0x20,0x02,0x20,0x03,0xFC,0x1E,0x20,0x02,0x20,0x00,0x00},/*"#",3*/ {0x00,0x00,0x0E,0x18,0x11,0x04,0x3F,0xFF,0x10,0x84,0x0C,0x78,0x00,0x00,0x00,0x00},/*"$",4*/ {0x0F,0x00,0x10,0x84,0x0F,0x38,0x00,0xC0,0x07,0x78,0x18,0x84,0x00,0x78,0x00,0x00},/*"%",5*/ {0x00,0x78,0x0F,0x84,0x10,0xC4,0x11,0x24,0x0E,0x98,0x00,0xE4,0x00,0x84,0x00,0x08},/*"&",6*/ {0x08,0x00,0x68,0x00,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"'",7*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,0x18,0x18,0x20,0x04,0x40,0x02,0x00,0x00},/*"(",8*/ {0x00,0x00,0x40,0x02,0x20,0x04,0x18,0x18,0x07,0xE0,0x00,0x00,0x00,0x00,0x00,0x00},/*")",9*/ {0x02,0x40,0x02,0x40,0x01,0x80,0x0F,0xF0,0x01,0x80,0x02,0x40,0x02,0x40,0x00,0x00},/*"*",10*/ {0x00,0x80,0x00,0x80,0x00,0x80,0x0F,0xF8,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x00},/*"+",11*/ {0x00,0x01,0x00,0x0D,0x00,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*",",12*/ {0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80},/*"-",13*/ {0x00,0x00,0x00,0x0C,0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*".",14*/ {0x00,0x00,0x00,0x06,0x00,0x18,0x00,0x60,0x01,0x80,0x06,0x00,0x18,0x00,0x20,0x00},/*"/",15*/ {0x00,0x00,0x07,0xF0,0x08,0x08,0x10,0x04,0x10,0x04,0x08,0x08,0x07,0xF0,0x00,0x00},/*"0",16*/ {0x00,0x00,0x08,0x04,0x08,0x04,0x1F,0xFC,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00},/*"1",17*/ {0x00,0x00,0x0E,0x0C,0x10,0x14,0x10,0x24,0x10,0x44,0x11,0x84,0x0E,0x0C,0x00,0x00},/*"2",18*/ {0x00,0x00,0x0C,0x18,0x10,0x04,0x11,0x04,0x11,0x04,0x12,0x88,0x0C,0x70,0x00,0x00},/*"3",19*/ {0x00,0x00,0x00,0xE0,0x03,0x20,0x04,0x24,0x08,0x24,0x1F,0xFC,0x00,0x24,0x00,0x00},/*"4",20*/ {0x00,0x00,0x1F,0x98,0x10,0x84,0x11,0x04,0x11,0x04,0x10,0x88,0x10,0x70,0x00,0x00},/*"5",21*/ {0x00,0x00,0x07,0xF0,0x08,0x88,0x11,0x04,0x11,0x04,0x18,0x88,0x00,0x70,0x00,0x00},/*"6",22*/ {0x00,0x00,0x1C,0x00,0x10,0x00,0x10,0xFC,0x13,0x00,0x1C,0x00,0x10,0x00,0x00,0x00},/*"7",23*/ {0x00,0x00,0x0E,0x38,0x11,0x44,0x10,0x84,0x10,0x84,0x11,0x44,0x0E,0x38,0x00,0x00},/*"8",24*/ {0x00,0x00,0x07,0x00,0x08,0x8C,0x10,0x44,0x10,0x44,0x08,0x88,0x07,0xF0,0x00,0x00},/*"9",25*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x0C,0x03,0x0C,0x00,0x00,0x00,0x00,0x00,0x00},/*":",26*/ {0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*";",27*/ {0x00,0x00,0x00,0x80,0x01,0x40,0x02,0x20,0x04,0x10,0x08,0x08,0x10,0x04,0x00,0x00},/*"<",28*/ {0x02,0x20,0x02,0x20,0x02,0x20,0x02,0x20,0x02,0x20,0x02,0x20,0x02,0x20,0x00,0x00},/*"=",29*/ {0x00,0x00,0x10,0x04,0x08,0x08,0x04,0x10,0x02,0x20,0x01,0x40,0x00,0x80,0x00,0x00},/*">",30*/ {0x00,0x00,0x0E,0x00,0x12,0x00,0x10,0x0C,0x10,0x6C,0x10,0x80,0x0F,0x00,0x00,0x00},/*"?",31*/ {0x03,0xE0,0x0C,0x18,0x13,0xE4,0x14,0x24,0x17,0xC4,0x08,0x28,0x07,0xD0,0x00,0x00},/*"@",32*/ {0x00,0x04,0x00,0x3C,0x03,0xC4,0x1C,0x40,0x07,0x40,0x00,0xE4,0x00,0x1C,0x00,0x04},/*"A",33*/ {0x10,0x04,0x1F,0xFC,0x11,0x04,0x11,0x04,0x11,0x04,0x0E,0x88,0x00,0x70,0x00,0x00},/*"B",34*/{0x10,0x04,0x1F,0xFC,0x10,0x04,0x10,0x04,0x10,0x04,0x08,0x08,0x07,0xF0,0x00,0x00},/*"D",36*/ {0x10,0x04,0x1F,0xFC,0x11,0x04,0x11,0x04,0x17,0xC4,0x10,0x04,0x08,0x18,0x00,0x00},/*"E",37*/ {0x10,0x04,0x1F,0xFC,0x11,0x04,0x11,0x00,0x17,0xC0,0x10,0x00,0x08,0x00,0x00,0x00},/*"F",38*/ {0x03,0xE0,0x0C,0x18,0x10,0x04,0x10,0x04,0x10,0x44,0x1C,0x78,0x00,0x40,0x00,0x00},/*"G",39*/ {0x10,0x04,0x1F,0xFC,0x10,0x84,0x00,0x80,0x00,0x80,0x10,0x84,0x1F,0xFC,0x10,0x04},/*"H",40*/ {0x00,0x00,0x10,0x04,0x10,0x04,0x1F,0xFC,0x10,0x04,0x10,0x04,0x00,0x00,0x00,0x00},/*"I",41*/ {0x00,0x03,0x00,0x01,0x10,0x01,0x10,0x01,0x1F,0xFE,0x10,0x00,0x10,0x00,0x00,0x00},/*"J",42*/ {0x10,0x04,0x1F,0xFC,0x11,0x04,0x03,0x80,0x14,0x64,0x18,0x1C,0x10,0x04,0x00,0x00},/*"K",43*/ {0x10,0x04,0x1F,0xFC,0x10,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x0C,0x00,0x00},/*"L",44*/ {0x10,0x04,0x1F,0xFC,0x1F,0x00,0x00,0xFC,0x1F,0x00,0x1F,0xFC,0x10,0x04,0x00,0x00},/*"M",45*/ {0x10,0x04,0x1F,0xFC,0x0C,0x04,0x03,0x00,0x00,0xE0,0x10,0x18,0x1F,0xFC,0x10,0x00},/*"N",46*/ {0x07,0xF0,0x08,0x08,0x10,0x04,0x10,0x04,0x10,0x04,0x08,0x08,0x07,0xF0,0x00,0x00},/*"O",47*/ {0x10,0x04,0x1F,0xFC,0x10,0x84,0x10,0x80,0x10,0x80,0x10,0x80,0x0F,0x00,0x00,0x00},/*"P",48*/ {0x07,0xF0,0x08,0x18,0x10,0x24,0x10,0x24,0x10,0x1C,0x08,0x0A,0x07,0xF2,0x00,0x00},/*"Q",49*/ {0x10,0x04,0x1F,0xFC,0x11,0x04,0x11,0x00,0x11,0xC0,0x11,0x30,0x0E,0x0C,0x00,0x04},/*"R",50*/ {0x00,0x00,0x0E,0x1C,0x11,0x04,0x10,0x84,0x10,0x84,0x10,0x44,0x1C,0x38,0x00,0x00},/*"S",51*/ {0x18,0x00,0x10,0x00,0x10,0x04,0x1F,0xFC,0x10,0x04,0x10,0x00,0x18,0x00,0x00,0x00},/*"T",52*/ {0x10,0x00,0x1F,0xF8,0x10,0x04,0x00,0x04,0x00,0x04,0x10,0x04,0x1F,0xF8,0x10,0x00},/*"U",53*/ {0x10,0x00,0x1E,0x00,0x11,0xE0,0x00,0x1C,0x00,0x70,0x13,0x80,0x1C,0x00,0x10,0x00},/*"V",54*/ {0x1F,0xC0,0x10,0x3C,0x00,0xE0,0x1F,0x00,0x00,0xE0,0x10,0x3C,0x1F,0xC0,0x00,0x00},/*"W",55*/ {0x10,0x04,0x18,0x0C,0x16,0x34,0x01,0xC0,0x01,0xC0,0x16,0x34,0x18,0x0C,0x10,0x04},/*"X",56*/ {0x10,0x00,0x1C,0x00,0x13,0x04,0x00,0xFC,0x13,0x04,0x1C,0x00,0x10,0x00,0x00,0x00},/*"Y",57*/ {0x08,0x04,0x10,0x1C,0x10,0x64,0x10,0x84,0x13,0x04,0x1C,0x04,0x10,0x18,0x00,0x00},/*"Z",58*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFE,0x40,0x02,0x40,0x02,0x40,0x02,0x00,0x00},/*"[",59*/ {0x00,0x00,0x30,0x00,0x0C,0x00,0x03,0x80,0x00,0x60,0x00,0x1C,0x00,0x03,0x00,0x00},/*"\",60*/ {0x00,0x00,0x40,0x02,0x40,0x02,0x40,0x02,0x7F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00},/*"]",61*/ {0x00,0x00,0x00,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x00,0x00},/*"^",62*/ {0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01},/*"_",63*/ {0x00,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"`",64*/ {0x00,0x00,0x00,0x98,0x01,0x24,0x01,0x44,0x01,0x44,0x01,0x44,0x00,0xFC,0x00,0x04},/*"a",65*/ {0x10,0x00,0x1F,0xFC,0x00,0x88,0x01,0x04,0x01,0x04,0x00,0x88,0x00,0x70,0x00,0x00},/*"b",66*/ {0x00,0x00,0x00,0x70,0x00,0x88,0x01,0x04,0x01,0x04,0x01,0x04,0x00,0x88,0x00,0x00},/*"c",67*/ {0x00,0x00,0x00,0x70,0x00,0x88,0x01,0x04,0x01,0x04,0x11,0x08,0x1F,0xFC,0x00,0x04},/*"d",68*/ {0x00,0x00,0x00,0xF8,0x01,0x44,0x01,0x44,0x01,0x44,0x01,0x44,0x00,0xC8,0x00,0x00},/*"e",69*/ {0x00,0x00,0x01,0x04,0x01,0x04,0x0F,0xFC,0x11,0x04,0x11,0x04,0x11,0x00,0x18,0x00},/*"f",70*/ {0x00,0x00,0x00,0xD6,0x01,0x29,0x01,0x29,0x01,0x29,0x01,0xC9,0x01,0x06,0x00,0x00},/*"g",71*/ {0x10,0x04,0x1F,0xFC,0x00,0x84,0x01,0x00,0x01,0x00,0x01,0x04,0x00,0xFC,0x00,0x04},/*"h",72*/ {0x00,0x00,0x01,0x04,0x19,0x04,0x19,0xFC,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00},/*"i",73*/ {0x00,0x00,0x00,0x03,0x00,0x01,0x01,0x01,0x19,0x01,0x19,0xFE,0x00,0x00,0x00,0x00},/*"j",74*/ {0x10,0x04,0x1F,0xFC,0x00,0x24,0x00,0x40,0x01,0xB4,0x01,0x0C,0x01,0x04,0x00,0x00},/*"k",75*/ {0x00,0x00,0x10,0x04,0x10,0x04,0x1F,0xFC,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00},/*"l",76*/ {0x01,0x04,0x01,0xFC,0x01,0x04,0x01,0x00,0x01,0xFC,0x01,0x04,0x01,0x00,0x00,0xFC},/*"m",77*/ {0x01,0x04,0x01,0xFC,0x00,0x84,0x01,0x00,0x01,0x00,0x01,0x04,0x00,0xFC,0x00,0x04},/*"n",78*/{0x01,0x01,0x01,0xFF,0x00,0x85,0x01,0x04,0x01,0x04,0x00,0x88,0x00,0x70,0x00,0x00},/*"p",80*/ {0x00,0x00,0x00,0x70,0x00,0x88,0x01,0x04,0x01,0x04,0x01,0x05,0x01,0xFF,0x00,0x01},/*"q",81*/ {0x01,0x04,0x01,0x04,0x01,0xFC,0x00,0x84,0x01,0x04,0x01,0x00,0x01,0x80,0x00,0x00},/*"r",82*/ {0x00,0x00,0x00,0xCC,0x01,0x24,0x01,0x24,0x01,0x24,0x01,0x24,0x01,0x98,0x00,0x00},/*"s",83*/ {0x00,0x00,0x01,0x00,0x01,0x00,0x07,0xF8,0x01,0x04,0x01,0x04,0x00,0x00,0x00,0x00},/*"t",84*/ {0x01,0x00,0x01,0xF8,0x00,0x04,0x00,0x04,0x00,0x04,0x01,0x08,0x01,0xFC,0x00,0x04},/*"u",85*/ {0x01,0x00,0x01,0x80,0x01,0x70,0x00,0x0C,0x00,0x10,0x01,0x60,0x01,0x80,0x01,0x00},/*"v",86*/ {0x01,0xF0,0x01,0x0C,0x00,0x30,0x01,0xC0,0x00,0x30,0x01,0x0C,0x01,0xF0,0x01,0x00},/*"w",87*/ {0x00,0x00,0x01,0x04,0x01,0x8C,0x00,0x74,0x01,0x70,0x01,0x8C,0x01,0x04,0x00,0x00},/*"x",88*/ {0x01,0x01,0x01,0x81,0x01,0x71,0x00,0x0E,0x00,0x18,0x01,0x60,0x01,0x80,0x01,0x00},/*"y",89*/ {0x00,0x00,0x01,0x84,0x01,0x0C,0x01,0x34,0x01,0x44,0x01,0x84,0x01,0x0C,0x00,0x00},/*"z",90*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x3E,0xFC,0x40,0x02,0x40,0x02},/*"{",91*/ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00},/*"|",92*/ {0x00,0x00,0x40,0x02,0x40,0x02,0x3E,0xFC,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"}",93*/ {0x00,0x00,0x60,0x00,0x80,0x00,0x80,0x00,0x40,0x00,0x40,0x00,0x20,0x00,0x20,0x00},/*"~",94*/ };static u8 fac_us=0; //us延时倍乘数static u16 fac_ms=0; //ms延时倍乘数void delay_init(u8 SYSCLK){SysTick->CTRL&=0xfffffffb; //bit2清空,选择外部时钟 HCLK/8fac_us=SYSCLK/8;fac_ms=(u16)fac_us*1000;}void delay_ms(u16 nms){u32 temp;SysTick->LOAD=(u32)nms*fac_ms; //时间加载(SysTick->LOAD为24bit)SysTick->VAL =0x00; //清空计数器SysTick->CTRL=0x01 ; //开始倒数do{temp=SysTick->CTRL;}while(temp&0x01&&!(temp&(1<<16))); //等待时间到达SysTick->CTRL=0x00; //关闭计数器SysTick->VAL =0X00; //清空计数器}void delay_us(u32 nus){u32 temp;SysTick->LOAD=nus*fac_us; //时间加载SysTick->VAL=0x00; //清空计数器SysTick->CTRL=0x01 ; //开始倒数do{temp=SysTick->CTRL;}while(temp&0x01&&!(temp&(1<<16))); //等待时间到达SysTick->CTRL=0x00; //关闭计数器SysTick->VAL =0X00; //清空计数器}void OLED_Refresh_Gram(void){u8 i,n;for(i=0;i<8;i++){OLED_WR_Byte (0xb0+i,OLED_CMD); //设置页地址(0~7)OLED_WR_Byte (0x00,OLED_CMD); //设置显示位置—列低地址 OLED_WR_Byte (0x10,OLED_CMD); //设置显示位置—列高地址 for(n=0;n<128;n++){OLED_WR_Byte(OLED_GRAM[n][i],OLED_DATA);}}}void OLED_WR_Byte(u8 dat,u8 cmd){u8 i;if(cmd){OLED_RS_Set();}else{OLED_RS_Clr();}for(i=0;i<8;i++){OLED_SCLK_Clr();if(dat&0x80){OLED_SDIN_Set();}else{OLED_SDIN_Clr();}OLED_SCLK_Set();dat<<=1;}OLED_RS_Set();}void OLED_Display_On(void){OLED_WR_Byte(0X8D,OLED_CMD); //SET DCDC命令OLED_WR_Byte(0X14,OLED_CMD); //DCDC ONOLED_WR_Byte(0XAF,OLED_CMD); //DISPLAY ON}void OLED_Display_Off(void){OLED_WR_Byte(0X8D,OLED_CMD); //SET DCDC命令OLED_WR_Byte(0X10,OLED_CMD); //DCDC OFFOLED_WR_Byte(0XAE,OLED_CMD); //DISPLAY OFF}void OLED_Clear(void){u8 i,n;for(i=0;i<8;i++)for(n=0;n<128;n++)OLED_GRAM[n][i]=0X00; OLED_Refresh_Gram(); //更新显示}void OLED_DrawPoint(u8 x,u8 y,u8 t){u8 pos,bx,temp=0;if(x>127||y>63)return; //超出范围了.pos=7-y/8;bx=y%8;temp=1<<(7-bx);if(t)OLED_GRAM[x][pos]|=temp;else OLED_GRAM[x][pos]&=~temp;}void OLED_ShowChar(u8 x,u8 y,u8 chr,u8 size,u8 mode){u8 temp,t,t1;u8 y0=y;chr=chr-' '; //得到偏移后的值 for(t=0;t<size;t++){if(size==12) //调用1206字体{temp=oled_asc2_1206[chr][t];}else //调用1608字体{temp=oled_asc2_1608[chr][t];}for(t1=0;t1<8;t1++){if(temp&0x80){OLED_DrawPoint(x,y,mode);}else{OLED_DrawPoint(x,y,!mode);}temp<<=1;y++;if((y-y0)==size){y=y0;x++;break;}}}}u32 oled_pow(u8 m,u8 n){u32 result=1;while(n--)result*=m;return result;}void OLED_ShowNumber(u8 x,u8 y,u32 num,u8 len,u8 size) {u8 t,temp;u8 enshow=0;for(t=0;t<len;t++){temp=(num/oled_pow(10,len-t-1))%10;if(enshow==0&&t<(len-1)){if(temp==0){OLED_ShowChar(x+(size/2)*t,y,' ',size,1);continue;} else{enshow=1;}}OLED_ShowChar(x+(size/2)*t,y,temp+'0',size,1);}}void OLED_ShowString(u8 x,u8 y,const u8 *p){#define MAX_CHAR_POSX 122#define MAX_CHAR_POSY 58while(*p!='\0'){if(x>MAX_CHAR_POSX){x=0;y+=16;}if(y>MAX_CHAR_POSY){y=x=0;OLED_Clear();}OLED_ShowChar(x,y,*p,12,1);x+=8;p++;}}void Oled_Init(void){RCC->APB2ENR|=1<<3; //使能PORTB时钟GPIOB->CRL&=0XFFF0FFFF;GPIOB->CRL|=0X00020000; //PB4 推挽输出RCC->APB2ENR|=1<<4; //使能PORTC时钟RCC->APB2ENR|=1<<0; //使能AFIO时钟GPIOC->CRH&=0X000FFFFF; //PC13,14,15设置成输出 2MHz 推挽输出GPIOC->CRH|=0X22200000;PWR->CR|=1<<8; //取消备份区写保护RCC->BDCR&=0xFFFFFFFE; //外部低俗振荡器关闭 PC14,PC15成为普通IOBKP->CR&=0xFFFFFFFE; //侵入检测TAMPER引脚作为通用IO口使用PWR->CR&=0xFFFFFEFF; //备份区写保护OLED_RST_Clr();delay_ms(100);OLED_RST_Set();OLED_WR_Byte(0xAE,OLED_CMD); //关闭显示OLED_WR_Byte(0xD5,OLED_CMD); //设置时钟分频因子,震荡频率OLED_WR_Byte(80,OLED_CMD); //[3:0],分频因子;[7:4],震荡频率OLED_WR_Byte(0xA8,OLED_CMD); //设置驱动路数OLED_WR_Byte(0X3F,OLED_CMD); //默认0X3F(1/64)OLED_WR_Byte(0xD3,OLED_CMD); //设置显示偏移OLED_WR_Byte(0X00,OLED_CMD); //默认为0OLED_WR_Byte(0x40,OLED_CMD); //设置显示开始行 [5:0],行数.OLED_WR_Byte(0x8D,OLED_CMD); //电荷泵设置OLED_WR_Byte(0x14,OLED_CMD); //bit2,开启/关闭OLED_WR_Byte(0x20,OLED_CMD); //设置内存地址模式OLED_WR_Byte(0x02,OLED_CMD); //[1:0],00,列地址模式;01,行地址模式;10,页地址模式;默认10;OLED_WR_Byte(0xA1,OLED_CMD); //段重定义设置,bit0:0,0->0;1,0->127;OLED_WR_Byte(0xC0,OLED_CMD); //设置COM扫描方向;bit3:0,普通模式;1,重定义模式 COM[N-1]->COM0;N:驱动路数OLED_WR_Byte(0xDA,OLED_CMD); //设置COM硬件引脚配置OLED_WR_Byte(0x12,OLED_CMD); //[5:4]配置OLED_WR_Byte(0x81,OLED_CMD); //对比度设置OLED_WR_Byte(0xEF,OLED_CMD); //1~255;默认0X7F (亮度设置,越大越亮)OLED_WR_Byte(0xD9,OLED_CMD); //设置预充电周期OLED_WR_Byte(0xf1,OLED_CMD); //[3:0],PHASE 1;[7:4],PHASE 2;OLED_WR_Byte(0xDB,OLED_CMD); //设置VCOMH 电压倍率OLED_WR_Byte(0x30,OLED_CMD); //[6:4]000,0.65*vcc;001,0.77*vcc;011,0.83*vcc;OLED_WR_Byte(0xA4,OLED_CMD); //全局显示开启;bit0:1,开启;0,关闭;(白屏/黑屏)OLED_WR_Byte(0xA6,OLED_CMD); //设置显示方式;bit0:1,反相显示;0,正常显示OLED_WR_Byte(0xAF,OLED_CMD); //开启显示OLED_Clear();}void Oled_Show(void){OLED_ShowString(0,0,"****************");OLED_ShowString(30,20,"OLED-TEST");OLED_ShowString(5,30,"YOU ARE WELCOME");OLED_ShowString(0,50,"****************");OLED_Refresh_Gram();}int main(void){Stm32_Clock_Init(9); //系统时钟设置delay_init(72); //延时初始化JTAG_Set(JTAG_SWD_DISABLE); //关闭JTAG接口JTAG_Set(SWD_ENABLE); //打开SWD接口Oled_Init();while(1){Oled_Show();}}。

朗睿 LR-080VRAM型 彩色液晶显示器 说明书

朗睿 LR-080VRAM型 彩色液晶显示器 说明书

余的地位数据线连接到高位。
HSYNC
水平同步时钟信号
VSYNC
垂直同步时钟信号
DOTCLK
象素时钟信号
VDD
数字电源,一般是 3.3V
AVDD
模拟电源,一般是 5V
VGL
GATE OFF 控制电压
VGH
GATE ON 控制电压
VCOM
LCD 公共驱动电极
ENABLE
data enable 信号
1.2 特 点 TFT LCD 的结构,主要由偏振片、滤色器基板、液晶、TFT 基板、片振片、背光源组成。
二、基本原理
L﹠ L 朗 睿 科 技
LR-080VRAM真彩色液晶显示器,采用VRAM显示方式。VRAM(Video Random-Access
Memory)视频存储技术是近年来比较流行的专门用于图形处理的双端口存储技术,常用于中、
高档显示卡。采用缓存、逻辑仲裁、存储阵列,实现两个设备同时对同一存储阵列访问而不
LR-080VRAM 工 业 液 晶 显 示 器 使 用 说 明 书 V2.0
一、简介
L﹠ L 朗 睿 科 技
本说明书提供了您所使用朗睿科技 LR-080VRAM 工业液晶显示器的硬件和软件信息。您
应该阅读全文,特别是,如果您是首次接触朗睿科技 LR-080VRAM 工业液晶显示器的用户。
如果在您阅读本说明书后有不明白的地方,请不必担心,拨打我们的热线电话 800-883-6901,
根治的。在这一点上,TFT 液晶显示器具有先天的优势,它基本称得上是“零辐射”产品,只
有来自驱动电路的少量电磁波,由于液晶显示器不需开散热孔,只要将外壳严格密封即可排
除电磁波外泄。TFT LCD 无辐射、无闪烁,加上色彩柔和,可有效减轻使用者眼睛的疲劳感,

T6963C中文数据手册

T6963C中文数据手册
在装好的模块成品表面贴有一层保护膜,以防在装配时沾污显示表面。在整机装配结束前不得揭 去,以免弄脏或损坏显示面。 二、加装衬垫
在模块与前面板之间最好加装一块约0.1 毫米左右的衬垫。面板应保持平整,以免在装配后产生 扭曲,并可提高其抗振性能。 三、严防静电
模块中的控制、驱动电压是低压、微功耗的CMOS 电路,极易被静电击穿。静电击穿是一种不 可修复的损坏,而人体有时会产生高达几十伏或上百伏的高压静电,所以在操作、装配以及使用中都 应极其小心,严防静电。为此:
1
点阵图形液晶显示模块 T6963C 控制器使用手册
前言
T6963C液晶显示控制器多用于中小规模的液晶显示器件,常被装配在图形液晶显示模块上,以内 藏控制器型图形液晶显示模块的形式出现。
注意事项
十分感谢您购买我公司的产品。在使用前请您首先仔细阅读以下注意事项,以免给您造成不必要 的损失。您在使用过程中遇到困难时,请打拨打我公司电话,我们将尽力为您提供服务和帮助。 一、处理保护膜
1
1
0
0
FS0
1
0
1
0
字体
5×8
6×8
7×8
8×8
10、X1、X0:振荡时钟引脚。
11、AD0-15:输出信号,显示缓冲区 16 位地址总路线。
12、D0-7:三态,显示缓冲区 8 位数据总路线。
13、R/W:输出,显示缓冲区读/写控制信号。
14、CE:输出,显示缓冲区片选信号,低电平有效。
15、CE0,CE1:输出,DUAL=1 时的存储器片选信号。
第二章、6963C 的引脚说明及其功能
一、T6963C 外形图
二、T6963C 引脚说明 T6963C 的 QFD 封装共有 67 个引脚,各引脚说明如下: 1、D0-D7:T6963C 与 MPU 接口的数据总线,三态。

IN或ON-CELL 、OGS、TFT屏幕全面解析

IN或ON-CELL 、OGS、TFT屏幕全面解析

In/On-Cell/OGS屏幕全面解析深圳鸿佳科技专注于中小尺寸TFT液晶显示屏、LCD液晶显示模块、触摸屏的研发、设计、生产和销售。

产品涵盖了TN、HTN、STN、FSTN、TFT、OLED、触摸屏等系列;其中TFT液晶屏主要有:1.77寸、2.0寸、2.0寸横屏、2.2寸、2.4寸、2.8寸、3.2寸、3.5寸、3.97寸、4.3寸、5寸、5.6寸、7寸、9.7寸、10.1寸等;黑白液晶屏主要有:字符、图形、中文字库等标准或非标准模块。

产品广泛应用于仪器仪表、医疗设备、电力设备、通讯设备、家用电器、工业控制、消费电子、POS 机、手持设备等多个领域。

关于屏幕概念的炒作,从之前的IPS、AMOLED、SLCD的面板之争,到现在清一色标榜自己是OGS全贴合屏幕,如何如何轻薄、透光、图像“浮现”在屏幕上,苹果则貌似更为“高端”,传出了In-cell/On-cell的概念。

煮机做这期关于OGS/In-Cell/On-Cell屏幕的科普,力求通俗易懂,望以最简单的方式让大家了解真相。

要彻底了解In-Cell/On-Cell/OGS等等屏幕,就得先知道屏幕的基本结构组成。

从上到下,屏幕的基本结构分为三层,保护玻璃(最上面橙黄色标注了Cover glass的部分),触控层(图中一点点淡蓝色虚线,标注了X、Y的部分),显示面板。

保护玻璃没什么好说的,康宁大猩猩玻璃就是。

触控层的话,就是由ITO触控薄膜和ITO玻璃基板组成。

显示面板可细分的程度高,这里只大致排列下:从上到下,分别是上玻璃基板(粉红色标注了Color filiter的区域,即彩色滤光基板),液晶层(蓝条),下玻璃基板(粉红色标注了Array的区域,即薄膜电晶体基板)。

最后,还需要指出的是,保护玻璃/触控层与显示面板之间,一般贴合技术会形成一层空气(即图中标注了Bonding的金黄色区域),如果采用全贴合技术去除这层空气,屏幕反光会大大减少,点亮屏幕时就显得更为通透,熄屏时更加黑沉,没有灰白的观感。

OCM 320240 320240 320240 图形点阵液晶显示模块使用说明书

OCM 320240 320240 320240 图形点阵液晶显示模块使用说明书

OCM OCM320240320240320240--3图形点形点阵阵液晶液晶显显示模示模块块使用使用说说明书感谢您关注和使用我们的液晶显示器产品, 欢迎您提出您的要求、意见和建议,我们将竭诚为您服务、让您满意。

您可以浏览了解最新的产品与应用信息,或拨打热线电话以及向邮箱发E-mail 获取具体的技术咨询与服务 021-53083613上海思先电子有限公司Shanghai Sixian Electronics Co; Ltd.目录1、 产品简介......................................................................................................................................................................222、 引用文件......................................................................................................................................................................223、机械特性............................................................................................................................................................................224、产品框品框图图............................................................................................................................................................................225、光电特性............................................................................................................................................................................336、极限参数............................................................................................................................................................................337、接口接口时时序............................................................................................................................................................................338、直流特性直流特性((VDD=2.84V )..............................................................................................999、引脚描述......................................................................................................................................................................101010 10、命令描述................................................................................................................................................................111111 1、附录........................................................................................................................................................................................171717 初始化程序初始化程序参参考 模块外形外形图图1、产品简介主要工艺:COB显示内容:320X240点阵显示模式:STN,POSITIVE驱动条件:1/64Duty,1/9Bias视向:6:00背光:LED,白色工作温度:-20℃-+70℃储存温度:-30℃-+80℃驱动IC:SED13352、引用文件SED1335 规格书3、机械特性类别标准值单位模块160.0(w)X109.0(h)X12.0(t)Max mm 有效显示区121.0(w)X92.0(h) mm 点大小0.33(w)X0.33(h) mm 点间隙0.03(w)X0.03(h) mm图品框图4、产品框5、光电特性类别符号条件最小值TYP 最大值单位驱动电压Vop. 25℃8.8 9.0 9.2 V 响应时间Ton 25℃—127 400 Ms Toff 25℃—263 400 Ms 对比度CR 25℃—9 ——视角范围25℃—88 —DEG 交叉效应25℃— 1.2 ——6、极限参数参数符号最小值最大值单位逻辑电压Vdd -0.3 +7.0 V驱动电压Vout,VO -0.3 +30 V工作温度Top 0 +50 ℃存储温度Tst -20 +70 ℃时序接口时7、接口(VDD=2.84V)直流特性(8、直流特性9、引脚描述接口定接口定义义:引脚编号 引脚名称方向 引脚功能描述1 VSS I 逻辑电源地(0V)2 VDD I 逻辑电源正(+3.3V/5V)3 V0 I LCD 驱动电压输入端,接电位器可调端4 /WR I 当定义为6800接口时为读/写控制脚(R/W ): R/W=H :读操作;R/W=L :写操作当定义为8080接口时为写入控制脚(/WR),L 有效 5 /RD I 当定义为6800接口时为使能控制脚(E )当定义为8080接口时为读控制脚(/RD),L 有效 6 /CS I 片选择信号,低电平时有7 AO I 数据/指令选择:低电平:DB0-DB7为显示数据 高电平:DB0-DB7为操作指令 8 /RST I 复位信号,低电平有效 9 DB0 I/O 数据输入输出引脚 10 DB1 I/O 数据输入输出引脚 11 DB2 I/O 数据输入输出引脚 12 DB3 I/O 数据输入输出引脚 13 DB4 I/O 数据输入输出引脚 14 DB5 I/O 数据输入输出引脚 15 DB6 I/O 数据输入输出引脚 16 DB7 I/O 数据输入输出引脚 17 NC - 悬空18 VEE O 负电压输出端,接电位器一端 19 LED+ I 背光电源正(+3.3V/5V ) 20 LED-I背光电源地(0V )10、命令描述指令表指令表::指令介指令介绍绍:1、SYSTEM SET 指令代指令代码码:40H 40H该指令是SED1330/SED1335软件初始化指令,在MPU操作SED1330/SED1335及其控制的液晶显示模块时,必须首先要定入这条指令,如果该指令设置出现错误,则显示必定不正常。

汕头正始中学教学平台

汕头正始中学教学平台

4
2200
8800
7
辅助材料等
VGA线、视频线、音频线、电源线、线槽、空气开关

4
400
1600
8
设备安装调试

4
500
2000
9
一体机
平板式:打印,扫描,复印、网络、传真/打印速度:18ppm/纸张容量:150张进纸盒/内存:64MB/接口类型:高速USB 2.0端口、10/100Base-T有线以太网端口/无需光盘智能安装00
6
实物展台
1、1/3"彩色图像传感器、130万像素,≥800TV线,16/12倍光学变焦,8倍数码变焦;
2、功能:冻结、黑白、负片、亮度调节、图像/文本模式转换;
3、双侧灯设计,软管式灯臂设计,可随意弯曲全方位控制灯光,能有效防止灯光反光现象;(已申请专利)铝合金镜头拉杆支臂。“投标时必须提供专利证书”
6.讲台柜门设计美观实用,右抽屉关闭,放置主机和教学用具的柜门被锁住,增加防盗功能;
7.布线设计简洁,具有完备的外置设备接口,不仅使讲台内部空间规划有序.而且预留了未来教学应用管理的扩容升级空间。.

4
2700
10800
4
液晶电视保护屏
有机玻璃制作安装

4
600
2400
5
台式电脑
CPU:双核/主频3.06GHz/二级缓存2M;主板:G41;扩展槽:1个PCI-E*16,2个PCI,1个PCI-E*1;内存:2GDDRIII;显卡:集成显卡;USB接口:6个(其中至少2个接口前置,要求前置USB2.0接口分离放置,互不干涉);标准声卡:集成HD Audio,支持5.1声道;光驱:DVD;硬盘:500G,SATA接口,7200rpm;网卡:10/100/1000M以太网卡;平均无故障运行时间:大于25万小时(需提供证书复印件);显示器:19”LCD,符合国家一级能效,获得EPEAT Gold认证;键盘:PS2防水抗菌键盘,需提供抗菌检测报告;鼠标:USB光电鼠标;PS2接口:2个;电源:不低于180W;机箱:标准MATX立式机箱;安全装置:后I/O盖板,防止外接设备(键盘、鼠标)丢失;内置报警开关,可报警音提示机箱是否开启;随机应用:软件方式实现网络同传和硬盘保护功能;支持智能排序功能,方便操作;支持断电续传功能,同传未结束前断点后均可继续同传;终端端口锁定功能,可以锁定键盘、鼠标、USB口、网口等;资产监控功能,被控端硬件资产发生变化时,控制端会有报警提示;整机认证:3C、节能认证、环境标志产品认证、中国名牌产品认证证书、整机防雷检测认证、OHSAS18001(职业健康安全管理体系)认证服务:三年有限保修免费上门,2小时电话响应,第二日上门,365天全年无休,售后服务体系通过ISO/IEC20000-1:2005认证,有完善服务网络,(不得从事PC产品销售代理业务)提供证明文件。(以上资料需厂家盖章确认);投标人投标时需提供货物的制造商出具的售后服务承诺书原件及中文参数证明书原件

中显电子有限公司 ZX320240 显示屏电源 PCB 电路板设计说明书

中显电子有限公司 ZX320240 显示屏电源 PCB 电路板设计说明书

北京中显电子有限公司SPECIFICATIONCUSTOMER :MODULE NO.:ZX ZX320240320240320240XX APPROVED BY:(FOR CUSTOMER USE ONLY )PCB VERSION:DATA:SALES BY APPROVED BY CHECKED BY PREPARED BYISSUED DATE:MODLE NO:RECORDS OF REVISIONDOC.FIRST ISSUEVERSION DATE REVISEDPAGE NO.SUMMARY0 A 2006.07.262007.06.236First issueModify Supply Voltage ForLCD(+700=12.2V)Contents1.Module classification information2.Precautions in Use of LCM3.General Specification4.Absolute Maximum Ratings5.Electrical Characteristics6.Optical Characteristics7.Power Supply for LCD Module8.Contour Drawing&Block Diagram9.Interface Pin Function10.Timing Characteristics11.Reliability12.Backlight Information13.Inspection specification14.Material List of Components for RoHs1.Module Classification InformationZ X320240X-T F H V#P���������Brand:WINSTAR DISPLAY CORPORATION�Display Type:H→Character Type,G→Graphic Type,.X→Tab Type �Display Font:320*240Dots�Model serials number�Backlight Type:N→Without backlightB→EL,Blue greenD→EL,GreenW→EL,WhiteF→CCFL,WhiteY→LED,Yellow Green T→LED,White A→LED,Amber R→LED,RedO→LED,Orange G→LED,Green P→LED,Blue�LCD Mode:B→TN Positive,GrayN→TN Negative,G→STN Positive,GrayY→STN Positive,Yellow GreenM→STN Negative,BlueF→FSTN PositiveT→FSTN Negative�LCD Polarizer Type/ Temperature range/View direction A→Reflective,N.T,6:00D→Reflective,N.T,12:00G→Reflective,W.T,6:00J→Reflective,W.T,12:00B→Transflective,N.T,6:00E→Transflective,N.T.12:00H→Transflective,W.T,6:00K→Transflective,W.T,12:00C→Transmissive,N.T,6:00F→Transmissive,N.T,12:00I→Transmissive,W.T,6:00L→Transmissive,W.T,12:00�Special Code V:Built in Negative Voltage;P:Sunplus IC#:Fit in with the ROHS Directions and regulations2.Precautions in Use of LCD Module(1)Avoid applying excessive shocks to the module or making any alterations or modifications to it.(2)Don’t make extra holes on the printed circuit board,modify its shape or change the components ofLCD Module.(3)Don’t disassemble the LCM.(4)Don’t operate it above the absolute maximum rating.(5)Don’t drop,bend or twist LCM.(6)Soldering:only to the I/O terminals.(7)Storage:please storage in anti-static electricity container and clean environment.3.General SpecificationITEM STANDARD VALUE UNIT Number of dots320x240dotsOutline dimension94.7(W)x83.3(H)x8.1max(T)mmView area81.4(W)x61.0(H)mmActive area76.78(W)x57.58(H)mmDot size0.225(W)x0.225(H)mmDot pitch0.24(W)x0.24(H)mmLCD type FSTN,positive,transflectiveView direction6o’clockBacklight LED,White4.Absolute Maximum RatingsITEM SYMBOL MIN.TYP.MAX.UNIT Operating Temperature T OP-20-+70℃Storage Temperature T ST-30-+80℃Input Voltage V I0-V DD V Supply Voltage For Logic V DD0- 3.5V Supply Voltage For LCD Vo-V SS0-30V DC-DC converter output VEE235.Electrical CharacteristicsITEM SYMBOL CONDITION MIN.TYP.MAX.UNIT Logic Voltage V DD-V SS- 3.0 3.3 3.5VSupply Voltage For LCD Vo-V SSTa=-20℃Ta=25℃Ta=+70℃--12.2-18.7-22.5--VVVInput High Volt.V IH-0.5V DD-V DD V Input Low Volt.V IL-V SS-0.2V DD V Output High Volt.V OH- 2.4--V Output Low Volt.V OL---0.4V Supply Current I DD-20.030.050.0mA6.Optical CharacteristicsITEM SYMBAL CONDITION MIN TYP MAX UNIT View Angle (V)θCR ≧230-60deg.(H)φCR ≧2-45-45deg.Contrast Ratio CR --5--Response TimeT rise --200300ms T fall--150200ms6.1Definitions■View Angles■Contrast Ratio■Response time7.Power Supply for LCD ModuleThe non-specified tolerance of dimension is 0.2mm .DOTS SIZEDETAILT h e n o n-s p e c i f i e d t o l e r a n c e o f d im e n s io n is0.2m m .D O T S S I Z ED E T A I LResetPower ONCL1M*:6800 family or 8080family interface selectable.*CSRA8835Controller32KSRAMCL2DB0~DB3FLMFGNDFrame PADN.V.GeneratorMPUDriverSeg241~320Seg161~240DriverSeg81~160DriverCom161~240Com81~160DriverDriverDB0~DB7A0WRRDPowerCircuitBiasandCom1~80DriverRESInternal contrast adjustment.Seg1~80Driver320X240 DOTVoVRVdd20KVss9.Interface Pin FunctionPin No.Symbol Level Description1V SS Ground2V DD Power supply for Logic3V O(Variable)Operation voltage LCD driving4A0H/L H:Data L:Instruction5WR H8080family:Write signal,6800family:Enable clock6RD L8080family:Read signal,6800family:R/W signal7D0H/L DB0Data bus line8D1H DB1Data bus line9D2H/L DB2Data bus line10D3H/L DB3Data bus line11D4H/L DB4Data bus line12D5H DB5Data bus line13D6H/L DB6Data bus line14D7H/L DB7Data bus line15CS H/L Chip Enable16RES H/L Reset17VEE Positive voltage output18SEL1H/L8080OR6800Family Interface Select;H:68xx,L:80xx19A Power supply for B/L20K Power supply for B/L21DIOFF DISPOFF22BUSY BUSYPage10of21WS-EP-00810.Contour Drawing&Block diagram PLEASE TO CONSUL RA8835SPEC11.RELIABILITY℃Note1:No dew condensation to be observed.Note2:The function test shall be conducted after4hours storage at the normal Temperature and humidity after remove from the test chamber.Note3:Vibration test will be conducted to the product itself without putting it in a container.12.Backlight InformationSpecificationPARAMETER SYMBOL MIN TYP MAX UNIT TEST CONDITIONSupply Current ILED 100120180mA V=3.5VSupply V oltage V 3.4 3.5 3.6V Reverse Voltage VR --5V Luminous Intensity IV160200-CD/M 2ILED=120mA Life Time -50K-Hr.ILED ≦120mA ColorwhiteNote:The LED of B/L is drive by current only,drive voltage is for reference only.drive voltage can make driving current under safety area (current between minimum and maximum maximum))B/LKA RR LCMpin19pin20Drive from pin19,pin2013.Inspection specificationNOItemCriterionAQL01Electrical Testing1.1Missing vertical,horizontal segment,segment contrast defect.1.2Missing character ,dot or icon.1.3Display malfunction.1.4No function or no display.1.5Current consumption exceeds product specifications.1.6LCD viewing angle defect.1.7Mixed product types.1.8Contrast defect.0.6502Black or whitespots onLCD (display only)2.1White and black spots on display ≦0.25mm,no more than three white or black spots present.2.2Densely spaced:No more than two spots or lines within 3mm 2.503LCD black spots,white spots,contamination (non-display)3.1Round type :As following drawingΦ=(x +y )/2SIZE Acceptable Q TYΦ≦0.10Accept no dense 0.10<Φ≦0.2020.20<Φ≦0.2510.25<Φ0 2.53.2Line type :(As following drawing)Length Width Acceptable Q TY---W ≦0.02Accept no denseL ≦3.00.02<W ≦0.032L ≦2.50.03<W ≦0.05---0.05<W As round type2.504PolarizerbubblesIf bubbles are visible,judge using black spot specifications,not easy to find,must check in specify direction.Size ΦAcceptable Q TY Φ≦0.20Accept no dense0.20<Φ≦0.5030.50<Φ≦1.0021.00<Φ0Total Q TY 32.5NO Item CriterionAQL05Scratches Follow NO.3LCD black spots,white spots,contamination06Chipped glassSymbols Define:x:Chip length y:Chip width z:Chip thickness k:Seal width t:Glass thickness a:LCD side length L:Electrode pad length:6.1General glass chip :6.1.1Chip on panel surface and crack between panels:z:Chip thickness y:Chip width x:Chip lengthZ≦1/2t Not over viewing area x≦1/8a 1/2t<z≦2t Not exceed 1/3k x≦1/8a ⊙If there are 2or more chips,x is total length of each chip.6.1.2Corner crack:z:Chip thickness y:Chip width x:Chip lengthZ≦1/2t Not over viewing area x≦1/8a 1/2t<z≦2t Not exceed 1/3k x≦1/8a ⊙If there are 2or more chips,x is the total length of each chip.2.5NO Item CriterionAQL06Glass crack Symbols:x:Chip length y:Chip width z:Chip thicknessk:Seal width t:Glass thickness a:LCD side lengthL:Electrode pad length6.2Protrusion over terminal:6.2.1Chip on electrode pad:y:Chip width x:Chip length z:Chip thicknessy≦0.5mm x≦1/8a0<z≦t6.2.2Non-conductive portion:y:Chip width x:Chip length z:Chip thicknessy≦L x≦1/8a0<z≦t ⊙If the chipped area touches the ITO terminal,over2/3of the ITO must remain and be inspected according to electrode terminalspecifications.⊙If the product will be heat sealed by the customer,the alignment mark not be damaged.6.2.3Substrate protuberance and internal crack.y:width x:lengthy≦1/3L x≦a2.5NO Item Criterion AQLNO Item Criterion AQL12Generalappearance12.1No oxidation,contamination,curves or,bends on interface Pin(OLB)of TCP.12.2No cracks on interface pin(OLB)of TCP.12.3No contamination,solder residue or solder balls on product.12.4The IC on the TCP may not be damaged,circuits.12.5The uppermost edge of the protective strip on the interface pinmust be present or look as if it cause the interface pin to sever.12.6The residual rosin or tin oil of soldering(component or chipcomponent)is not burned into brown or black color.12.7Sealant on top of the ITO circuit has not hardened.12.8Pin type must match type in specification sheet.12.9LCD pin loose or missing pins.12.10Product packaging must the same as specified on packagingspecification sheet.12.11Product dimension and structure must conform to productspecification sheet.2.50.652.52.52.52.52.50.650.650.650.6514.Material List of Components for RoHs1.WINSTAR Display Co.,Ltd hereby declares that all of or part of products(with the mark “#”in code),including,but not limited to,the LCM,accessories or packages,manufactured and/or delivered to your company(including your subsidiaries and affiliated company) directly or indirectly by our company(including our subsidiaries or affiliated companies)do not intentionally contain any of the substances listed in all applicable EU directives and regulations,including the following substances.Exhibit A:The Harmful Material ListMaterial(Cd)(Pb)(Hg)(Cr6+)PBBs PBDEsLimited Value 100ppm1000ppm1000ppm1000ppm1000ppm1000ppmAbove limited value is set up according to RoHS.2.Process for RoHS requirement:(1)Use the Sn/Ag/Cu soldering surface;the surface of Pb-free solder is rougher than we used before.(2)Heat-resistance temp.:Reflow:250℃,30seconds Max.;Connector soldering wave or hand soldering:320℃,10seconds max.(3)Temp.curve of reflow,max.Temp.:235±5℃;Recommended customer’s soldering temp.of connector:280℃,3seconds.winstar LCM Sample Estimate Feedback SheetModule Number:Page:11、Panel Specification:1.Panel Type:□Pass□NG,2.View Direction:□Pass□NG,3.Numbers of Dots:□Pass□NG,4.View Area:□Pass□NG,5.Active Area:□Pass□NG,6.Operating Temperature:□Pass□NG,7.Storage Temperature:□Pass□NG,8.Others:2、Mechanical Specification:1.PCB Size:□Pass□NG,2.Frame Size:□Pass□NG,3.Materal of Frame:□Pass□NG,4.Connector Position:□Pass□NG,5.Fix Hole Position:□Pass□NG,6.Backlight Position:□Pass□NG,7.Thickness of PCB:□Pass□NG,8.Height of Frame to PCB:□Pass□NG,9.Height of Module:□Pass□NG,10.Others:□Pass□NG,3、Relative Hole Size:1.Pitch of Connector:□Pass□NG,2.Hole size of Connector:□Pass□NG,3.Mounting Hole size:□Pass□NG,4.Mounting Hole Type:□Pass□NG,5.Others:□Pass□NG,4、Backlight Specification:1.B/L Type:□Pass□NG,2.B/L Color:□Pass□NG,3.B/L Driving Voltage(Reference for LED Type):□Pass□NG,4.B/L Driving Current:□Pass□NG,5.Brightness of B/L:□Pass□NG,6.B/L Solder Method:□Pass□NG,7.Others:□Pass□NG,>>Go to page2<<Module Number:Page:25、Electronic Characteristics of Module:1.Input Voltage:□Pass□NG,2.Supply Current:□Pass□NG,3.Driving Voltage for LCD:□Pass□NG,4.Contrast for LCD:□Pass□NG,5.B/L Driving Method:□Pass□NG,6.Negative Voltage Output:□Pass□NG,7.Interface Function:□Pass□NG,8.LCD Uniformity:□Pass□NG,9.ESD test:□Pass□NG,10.Others:□Pass□NG,6、Summary:Sales signature:Customer Signature:Date://Page21of21WS-EP-00810(A)。

MzL05T-12864 LCD模组编程手册v2.0

MzL05T-12864 LCD模组编程手册v2.0

版权声明北京铭正同创科技有限公司保留对此文件修改的权利且不另行通知。

北京铭正同创科技有限公司所提供的信息相信为正确且可靠的信息, 但并不保证本文件中绝无错误。

请于向北京铭正同创科技有限公司提出订单前, 自行确定所使用的相关技术文件及产品规格为最新版本。

若因贵公司使用本公司的文件或产品, 而涉及第三人之专利或著作权等知识产权的应用时, 则应由贵公司负责取得同意及授权,关于所述同意及授权, 非属本公司应为保证的责任。

目 录1 模块简介 (1)1.1 特点 (1)1.2 主要功能与基本参数 (1)1.3 结构及引脚示意 (2)2 液晶显示器介绍 (4)2.1 显示RAM区映射情况 (4)2.2 行、列地址 (5)2.3 操作时序 (5)2.4 控制方法及LCD显示特性 (6)3 设计参考 (12)3.1 基于MCS51的LCD驱动: (12)4 技术支持 (16)4.1 联系方式 (17)北京铭正同创科技有限公司 mzdesign@11 模块简介 1.1 特点MzL05T-12864(原MzL05模块的V2.0版)为一块小型的128X64点阵的LCD 显示模组,模组上的 LCM 采用COG 技术将控制(包括显存)、驱动器集成在LCM 的玻璃上,接口简单、操作方便;为方便用户的使用,铭正同创在LCM 的基础上设计了MzL05T-12864模组,将模组所必需的外围电容电阻集成到模组上,并在LCD 玻璃、背光板与背板的PCB 之间用铁框进行固定。

MzL05T-12864模组与各种MCU 均可进行方便简单的接口操作。

1. 128 x 64 点阵FSTN2. 1/64 占空比1/9 偏压比3. 单电源供电对比度编程可调4. 仅写入的串行SPI 接口方式5. 3.3V 的白色LED 背光,美观大方1.2 主要功能与基本参数MzL05T-12864显示模块的基本参数如下表:显示模式 FSTN 液晶 白底黑点显示格式 128X64点阵地图形液晶显示 输入数据 仅限写入的串行SPI 接口模块尺寸40.6(长)×28.5(宽)视屏尺寸 29(长)×13.5(宽)mm控制IC ST7565S 背光白色LED极限电器特性:参数 符号最小最大 单位 VDD -0.3 5 V 供电电压输入电压 Vin -0.3 Vdd+0.3 V 操作温度范围 Topr 0 50 ℃ 贮存温度Tstr -2060℃电器特性:参数 符号 条件 最小典型最大单位工作电压 Vdd - - 3.0 3.3 V High Level Vih 0.8VddVdd输入电压Low LevelVil —Vss 0.2Vdd VLCD 驱动电压Vlcd— - 3.0 - V1.3 结构及引脚示意图1.1为MzL05T-12864模组的结构尺寸示意图。

力元电子OLED显示屏型号Ly190-128064说明书

力元电子OLED显示屏型号Ly190-128064说明书

力元電子(香港)有限公司OLED显示屏说明书型号:LY190-128064地址:深圳市南山區南光路126號鵬都大廈B座1504電話:*************傳真:*************郵編:518052郵箱:********************網址:CONTENTREVISION RECORD (3)1OVERVIEW (4)2FEATURES (4)3MECHANICAL DATA (4)4MECHANICAL DRAWING (5)5MODULE INTERFACE (6)6FUNCTION BLOCK DIAGRAM (7)6.1F UNCTION B LOCK D IAGRAM (7)6.2P ANEL L AYOUT D IAGRAM (7)7ABSOLUTE MAXIMUM RATINGS (8)8ELECTRICAL CHARACTERISTICS (8)8.1DC E LECTRICAL C HARACTERISTICS (8)8.2E LECTRO-OPTICAL C HARACTERISTICS (9)8.3AC E LECTRICAL C HARACTERISTICS (10)9FUNCTIONAL SPECIFICATION AND APPLICATION CIRCUIT (14)9.1P OWER ON AND P OWER OFF S EQUENCE (14)9.2A PPLICATION C IRCUIT (15)9.3D ISPLAY C ONTROL I NSTRUCTION (16)9.4R ECOMMENDED S OFTWARE I NITIALIZATION (16)10PACKAGE SPECIFICATION (17)11RELIABILITY (18)11.1R ELIABILITY T EST (18)11.2L IFETIME (18)11.3F AILURE C HECK S TANDARD (18)12ILLUSTRATION OF OLED PRODUCT NAME (19)13OUTGOING QUALITY CONTROL SPECIFICATIONS (20)13.1S AMPLING M ETHOD (20)13.2I NSPECTION C ONDITIONS (20)13.3Q UALITY A SSURANCE Z ONES (20)13.4I NSPECTION S TANDARD (21)14PRECAUTIONS FOR OPERATION AND STORAGE (23)14.1P RECAUTIONS FOR O PERATION (23)14.2S OLDERING (24)14.3P RECAUTIONS FOR S TORAGE (24)4Mechanical DrawingMCU bus interface selection pins.9 BS110 BS2Chip Select, active low.Reset, active low.18~25 D0~D7Segment output current reference pin.Connected a resistor to VSS.Connection.27 NCNo6 Function Block Diagram6.1 Function Block DiagramCOGVCOMHIREF BS1BS2D0-D7CS#RES#D/C#R/W#VSS VDD VCCCommon 0-31Common 32-63PANELOLED Some pins are omittedSSD1308ZSegment 0-127128x64E(/RD)6.2 Panel Layout DiagramCOM&SEG LayoutCOM31COM0COM63COM32DOTS:128×64SEG0SEG1278.3AC Electrical Characteristics(1)6800-Series MPU Parallel Interface Timing Characteristics(VDD - VSS = 1.65V to 3.3V, TA = 25°C)6800-series MCU parallel interface characteristics(2)8080-Series MPU Parallel Interface Timing Characteristics (VDD - VSS = 1.65V to 3.3V, TA = 25°C)8080-series parallel interface characteristics(3)4-wire Serial Interface Timing Characteristics(VDD - VSS = 1.65V to 3.3V, TA = 25°C)4-wire Serial interface characteristics(4) I2C interface Timing Characteristics(VDD - VSS = 1.65V to 3.3V, TA = 25°C)I2C interface Timing characteristics9Functional Specification and Application Circuit9.1Power ON and Power OFF SequencePower ON Sequence:1. Power ON V DD2. After V DD become stable, set RES# pin LOW (logic low) for at least 3us (t1)(4) and then HIGH(logic high).3. After set RES# pin LOW (logic low), wait for at least 3us (t2). Then Power ON V CC(1).4. After V CC become stable, send command AFh for display ON. SEG/COM will be ON after 100ms(t AF).Power OFF Sequence:1. Send command AEh for display OFF.2. Power OFF V CC(1),(2),(3).3. Power OFF V DD after t OFF. (5) (Typical t OFF=100ms)Note:(1)Since an ESD protection circuit is connected between V DD and V CC, V CC becomes lower than V DDV DD is ON and V CC is OFF as shown in the dotted line of V CC in above figures.whenever(2) V CC should be kept float (disable) when it is OFF.(3) Power Pins(V DD, V CC) can never be pulled to ground under any circumstance.(4) The register values are reset after t1.9.3Display Control InstructionRefer to SSD1308 IC Specification.9.4Recommended Software Initializationvoid init_program(){write_c(0xae); // display offwrite_c(0xa1); //segment remapwrite_c(0xda); //common pads hardware: alternativewrite_c(0x12);write_c(0xc8); //common output scan direction:com63~com0 write_c(0xa8); //multiplex ration mode:63write_c(0x3f);write_c(0xd5); //display divide ratio/osc. freq. modewrite_c(0x80);write_c(0x81); //contrast controlwrite_c(0x50);write_c(0xd9); //set pre-charge periodwrite_c(0x21);write_c(0x20); //Set Memory Addressing Modewrite_c(0x02);write_c(0xdb); //VCOM deselect level modewrite_c(0x30);write_c(0xad); //master configurationwrite_c(0x00);write_c(0xa4); //out follows RAM contentwrite_c(0xa6); //set normal displaywrite_c(0xaf); // display on}Propagation crack is not acceptable. Stain removable by soft cloth or air blow is acceptable.(1)Crack, deep scratch, deep hole and deep pressure mark onthe TCP/FPC are not acceptable.(2)Terminal lead twisted or broken is not allowable.(3)Copper exposed is not allowed by naked eye inspection.14.2Soldering(1)Soldering should be performed only on the I/O terminals.(2)Use soldering irons with proper grounding and no leakage.(3)Iron: no higher than 300℃ and 3~4 sec during soldering.14.3Precautions for Storage(1)Please store OLED module in a dark place. Avoid exposure to sunlight, the light of fluorescent lampor any ultraviolet ray.(2)Keep the environment temperature between 10℃ and 35℃and the relative humidity less than60%. Avoid high temperature and high humidity.(3)Keep the OLED modules stored in the container when shipped from supplier before using them isrecommended.(4)Do not leave any article on the OLED module surface for an extended period of time.。

中显COG模组使用说明书

中显COG模组使用说明书

2009年3月15日北京市海淀区中关村大街32号和盛大厦811室电话:(86)-010-82626833传真:(86)-010-51601226企业网站:技术资料中显液晶中显COG模组使用说明书ZX12832A-3G-P目 录序号 内 容 标 题 页码1 概述 22 特点 23 外形及接口引脚功能 3~44 基本原理 4~6 5技术参数76 时序特性 7~117 指令功能及硬件接口与编程案例 11~181.概述中显电子专注于液晶屏及液晶模块的研发、制造。

所生产12832A-3G-PCB型液晶模块由于使用方便、显示清晰,广泛应用于各种人机交流面板。

12832A-3G-PCB可以显示128列*32行点阵单色图片,或显示8个/行*2行16*16点阵的汉字,或显示16个/行*4行8*8点阵的英文、数字、符号。

2.12832A-3G图像型点阵液晶模块的特性2.1结构牢:自带PCB.背光带有挡墙。

2.2IC采用矽创公司ST7565R,功能强大,稳定性好2.3功耗低:10 - 100mW(不带背光10mW,带背光不大于100mW);2.4显示内容:●128*32点阵单色图片;●可选用16*16点阵或其他点阵的图片来自编汉字,按照16*16点阵汉字来计算可显示8字/行*2行。

按照12*12点阵汉字来计算可显示10字/行*2行。

2.5指令功能强:可组合成各种输入、显示、移位方式以满足不同的要求;2.6接口简单方便:可采用4线SPI串行接口,或选择并行接口。

2.7工作温度宽:-20℃ - 70℃;2.8可靠性高:寿命为50,000小时(25℃)。

3.外形尺寸及接口引脚功能图1.外形尺寸模块的接口引脚功能引 线 号 符 号 名 称 功 能1 VSS 接地 0V2 VDD 电路电源 3.3V或5V(当PCB上“Q1”位置焊了稳压IC,则接5V,否则接3.3V)3 NC 空脚4 PS 选串并控制接口 H:并行接口,0:串行接口。

RP3使用说明书(校正2)

RP3使用说明书(校正2)

· Auto Zero 时间设定功能 · 时间单位选择功能 · 参数锁定功能 · 停电补偿功能(只适用于 F9) · 远程/本地转换功能(只适用于通信输出型) 其 它 功 能 · 比较输出功能(HH,H,GO,L,LL) · 电流输出范围选择功能(只适用于电流输出型) · 启动补偿计时功能 · 显示周期设定功能 · 最大/最小峰值 10 层储存器功能 (Max:4 层保存,平均值保存,Min:4 层保存,平均值保存)
多种脉冲面板仪表
RP3 使用说明书
非常感谢您购买(株)韩荣电子有限公司的产品。 请确认产品是否相符,并按照以下事项使用。
------------------------------------------------------(株)韩国韩荣电子有限公司的认证现状
国家校正机关
本社/工厂 仁川广域市南区朱安洞 1381-3 TEL:(0082)32-867-0941 FAX:(0082)32-868-5899
旋转数
rps rpm
1 60(初始值)
频率
Hz KHz
1 0.001
mm/s
1000 ℓ
cm/s
100 ℓ
速度 m/s
1ℓ
m/min
60 ℓ
Km/hour
3.6 ℓ
※出货时已被调整为 rpm。
■ 低速串行输出 ·输出内容:显示值 ·输出信号:CLK,Data,Latch ·CLK 周期:50Hz ·输出 CLK Bit 数:25Bit
5
5 位(0~99999)
A 100-240V a.c(50-60Hz)
D 24-60V d.c/a.c(50-60Hz)
主输出
辅助输出
N
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档