首页 | 本学科首页   官方微博 | 高级检索  
     

基于单片机的电子时间引信LCD背光控制
引用本文:崔平,齐杏林.基于单片机的电子时间引信LCD背光控制[J].兵工自动化,2005,24(6):42-42,46.
作者姓名:崔平  齐杏林
作者单位:军械工程学院弹药工程系,河北,石家庄,050003;军械工程学院弹药工程系,河北,石家庄,050003
摘    要:基于PIC16F877A单片机的电子时间引信LCD背光控制,环境光强度通过MG44-2光敏电阻器转换为单片机输入端口RA2上的电平高低,经模数转换模块进行采样,其结果存入工作寄存器,并与预先设定值相比较.若采样结果低于设定值,使单片机输出端口输出低电平,控制背光灯亮;反之,输出高电平,控制背光灯灭.

关 键 词:单片机  液晶显示器  背光控制  电子时间引信
文章编号:1006-1576(2005)06-0042-01
收稿时间:2005-05-27
修稿时间:2005-05-272005-07-11

Backlight Control for LCD in Electronic Time Fuse Based on SCM
CUI Ping,QI Xing-lin.Backlight Control for LCD in Electronic Time Fuse Based on SCM[J].Ordnance Industry Automation,2005,24(6):42-42,46.
Authors:CUI Ping  QI Xing-lin
Affiliation:Dept. of Ammunition Engineering, Ordnance Engineering College, Shijiazhuang 050003, China
Abstract:For the backlight control of LCD for electronic time fuse based on PICI6F877A, the environment light intensity was converted into a high or a low electric level of RA2 that is one of the input ports of single chip microcomputer through a photoresistance MG44-2. The port RA2 was sampled by AD convert module and the result was stored in the work register, and then it was compared with preset value. If the result is lower then preset value Low electric level is output through the output ports of the microcomputer to control backlight brightness, in reverse, electric level is output to control the brightness automatically.
Keywords:Single chip microcomputer  Liquid Crystal Display  Backlight control  Electronic time fuze
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号