全新3.2寸TFT液晶显示屏(带触摸屏),控制器SSD1289,不含转接板。
只要显示屏,不带触摸的客户请联系客服,价格另议。
搭配转接板(测试板)每片另加10~15元(不含元器件)。
技术资料(液晶规格书,控制器ic规格书等)请联系客服或在此网站下载:http://www.mcufriend.com
提供各种单片机(51,avr,pic,msp430),arm(包含stm32)的测试程序,并移植好相应的ucgui,ucos代码,可根据用户的要求进行软硬件的设计修改。
主要参数
引脚接口图:
以下图片为本站实际拍摄:
转接板(测试板)图片:分别可测试2.4寸,2.6寸,2.8寸,3.2寸液晶显示屏,加cpu就是一个实验板,大客户免费赠送,可缩短开发周期。
正面:
背面:
转接板接口脚定义
部分驱动程序数:
void ssd1289_init(void)
{
write_com(0x0000,0x0001); DelayNS(1000); //打开晶振
write_com(0x0003,0xA8A4); DelayNS(1000); //0xA8A4
write_com(0x000C,0x0000); DelayNS(1000);
write_com(0x000D,0x080C); DelayNS(1000);
write_com(0x000E,0x2B00); DelayNS(1000);
write_com(0x001E,0x00B0); DelayNS(1000);
write_com(0x0001,0x2B3F); DelayNS(1000); //驱动输出控制320*240 0x6B3F
write_com(0x0002,0x0600); DelayNS(1000);
write_com(0x0010,0x0000); DelayNS(1000);
write_com(0x0011,0x6070); DelayNS(1000); //6070 0x4030 //定义数据格式 16位色
write_com(0x0005,0x0000); DelayNS(1000);
write_com(0x0006,0x0000); DelayNS(1000);
write_com(0x0016,0xEF1C); DelayNS(1000);
write_com(0x0017,0x0003); DelayNS(1000);
write_com(0x0007,0x0233); DelayNS(1000); //0x0233
write_com(0x000B,0x0000); DelayNS(1000);
write_com(0x000F,0x0000); DelayNS(1000); //扫描开始地址
write_com(0x0041,0x0000); DelayNS(1000);
write_com(0x0042,0x0000); DelayNS(1000);
write_com(0x0048,0x0000); DelayNS(1000);
write_com(0x0049,0x013F); DelayNS(1000);
write_com(0x004A,0x0000); DelayNS(1000);
write_com(0x004B,0x0000); DelayNS(1000);
write_com(0x0044,0xEF00); DelayNS(1000);
write_com(0x0045,0x0000); DelayNS(1000);
write_com(0x0046,0x013F); DelayNS(1000);
write_com(0x0030,0x0707); DelayNS(1000);
write_com(0x0031,0x0204); DelayNS(1000);
write_com(0x0032,0x0204); DelayNS(1000);
write_com(0x0033,0x0502); DelayNS(1000);
write_com(0x0034,0x0507); DelayNS(1000);
write_com(0x0035,0x0204); DelayNS(1000);
write_com(0x0036,0x0204); DelayNS(1000);
write_com(0x0037,0x0502); DelayNS(1000);
write_com(0x003A,0x0302); DelayNS(1000);
write_com(0x003B,0x0302); DelayNS(1000);
write_com(0x0023,0x0000); DelayNS(1000);
write_com(0x0024,0x0000); DelayNS(1000);
write_com(0x0025,0x8000); DelayNS(1000);
write_com(0x004f,5); //行首址0
write_com(0x004e,5); //列首址0
}
特别声明:我们的货品发出时都经过测试,请您收到货物后使用无焊接测试架自行安排测试,有问题的产品及时退还我们安排退换,排线焊接后,不予以退换。