基于at89c51单片机的led显示控制系统_毕业设计外文翻译内容摘要:
unit circuit . Serial Communication Interface Circuit D Serial Communication Interface Circuit PC and SCM are linked via a serial munication interface. In order to implement serial munication function between MCU and PC, and serial interface level of SCM will be changed into standard RS232C level [11]. Where the output voltage of PC’s RS 232C port is 177。 12V. MCU and PC, taking into account the short distance munication, and microcontroller is mainly responsible for receiving mands and data, so the PC is directly connected with the microcontroller, this is the simplest connection method. the signals which is from PC’s TXD side were changed into a current signal through the munication circuit, the infrared lightemitting diodes of optocouper have current when a signal occurs, the light signals which is emitted by diode projected onto the and phototransistor,converted to electric signal, then input to the microcontroller RXD side, so photoelectric conversion is implemented, and electrical is pletely isolated to avoid the feedback and interference which is produced by output side. as is shown in Figure 6 IV. SOFTWARE DESIGN The entire software design mainly poses of display program and munication program. The Chinese characters to be displayed on the screen,character and other data for transmission control and display functions were achieved by dynamic scan. Realtime munication parts which municate with PC receive data information by SCM serial disruption, so realtime data information transmission with PC was implemented. The host puter software was implemented by Visual Basic. In the standard serial munication, MSCOMM which is the power munication control is provided by VB, it can set the serial munication of data sent and received, and the serial munication port status, message formats and protocols are set, directly send data by PC’s RS 232/RS485 serial port. In order to realized to PC reliable munication with SCM, and ensure that both sides have the same data format and baud rate [11], this design uses RS232 munications, a 10 bits data format, 9600bit / s baud rate. A Principles of Chinese characters dot matrix display and Subcodes Chinese Times New Roman font which is UCDOS was taken as an example, each word posed of 16 16 dot matrix. That is, every word of the national standard Chinese character library expressed by the 256 can understand each point as a pixel, and the shape of each word understood as an image. In fact, this character display screen not only can display Chinese characters, but also can display any graphics within the scope of 256 pixels. Due to the bus of microcontroller is the 8bit, and a word need to split into two parts, as is shown figure 7. . Principles of Chinese characters display In order to understand Chinese characters dot matrix position law, at first, the characters code was obtained by column scanning method. Chinese characters are divided into upper part and lower part, the upper part posed of 8 16 lattice, the lower part was also formed by the 8 16 lattice. The first column of the upper left corner which was the upper part was shown by Column scanning method first, namely, P00~P07 port of 0 column, direction was P00~P07, Chinese character for large was displayed, P05 was on, the other is off. That is, binary is 00000100, and convert to hexadecimal as 04h. After the first column of the upper part was over, and continue to scan the bottom half of the first column, It can be seen from Figure 7, this column is not on all, that is, binary was 00000000, hex was 00h. According to this method, the second column, third column, until the sixteenth was scanned in turn. Characters big scan code can be drawn. 04H, 00H, 04H, 02H, 04H, 02H, 04H, 04H 04H, 08H, 04H, 30H, 05H, 0C0H, 0FEH, 00H 05H, 80H, 04H, 60H, 04H, 10H, 04H, 08H 04H, 04H, 0CH, 06H, 04H, 04H ,00H, 00H It can be seen from this principle, no matter what font or image display, we can use this method to analyze the scan code and appears on the screen. Although above methods allow us to figure out the code for character dotmatrix process, but rely on manual methods for character code is a very plicated matter. To this end, Font software is used to find the character code, the content to display is entered after the software opens, font and size can be chosen according to requirements, you can select modulo by row or by column. Press the modulus button, the hexadecimal data character code can be automatically generated, we need to copy the data into the program. B. Address Assignment the Port and Data Memory In this design, we used to 8255A, 6264 and other external devices, and their gating is not the same, so strobe is controlled, which involves the address allocation problem. In the system, the address code of 8255A is 3FFCH ~ 3FFFH and 7FFCH ~ 7FFFH, the address code of 6264 is 0A000H ~ 0BFFFH. In addition, memory 6264 is divided into four zones, each space size is 2K, the TABLE I. corresponding address code is 0A000H ~ 0A7FFH,0A800H ~ 0AFFFH, 0B000H ~。基于at89c51单片机的led显示控制系统_毕业设计外文翻译
相关推荐
欧姆左右, 在 电流约 于 200mA 即可 启动 , 所以 在继电器线圈上串联 100 欧姆的限流电阻 ,目的 是 为 防止继电器吸合时,线圈发热。 二极管 1N1007 的作用是保护晶体管。 当继电器吸合时,二极管截止,不影响电路工作。 继电器释放时,由于继电器线圈存在电感, 这时 晶体管已经截止,所以会在线圈的两端产生较高的感应电压。 这个电压 的极性是上负下正,正端接在晶体管的发射机。
, R0 则是换位输出后的两部分, L0 是输出的左 32 位, R0 是右 32位。 例:设置换前 的输入值为 D1D2D3„D64 ,则经过初始置换后的结果为:L0=D58D50„D8 ; R0=D57D49„7。 ( 2) 逆置换 经过 16次迭代运算后,得到 L16, R16,将此作为输入进行逆置换,即得到密文输出。 逆置换正好是初始置换的逆运算。 例如,第 1 位经过初始置换后,处于第
)()14c os ()12c os ( nRN nN nw NBl ( 3- 9) Blw 为 此窗的幅度函数,其展开后由 5 部分组成,这几部分频率响应的 相位和幅度都不同,使得旁瓣进一步抵消。 阻带衰减进一步增加,过渡带是 N/12。 ⑤ 凯塞 — 贝塞尔窗 其表达式非常复杂,一般在 matlab 中生成其系数。 ( 3)几 种窗函数的性能比较
添加、删除和修改用户模板 系统管理功能列表 1 系统模板管理 添加、删除和修改系统模板 2 管理用户 修改用户信息和密码 添加和删除用户 3 系统参数设置 设置系统的一些名称和数据 4 数据库管理 数据库的备份和还原 有了这些功能明细后,我们 就把整个系统的框架确定下来了,也就确定了系统数据的基本结构。 系统功能需求分析 创建用例图 系统管理员,参与了管理博客账号、登陆、修改密码 3个用例。
添加、删除和修改用户模板 系统管理功能列表 1 系统模板管理 添加、删除和修改系统模板 2 管理用户 修改用户信息和密码 添加和删除用户 3 系统参数设置 设置系统的一些名称和数据 4 数据库管理 数据库的备份和还原 有了这些功能明细后,我们 就把整个系统的框架确定下来了,也就确定了系统数据的基本结构。 系统功能需求分析 创建用例图 系统管理员,参与了管理博客账号、登陆、修改密码 3个用例。
添加、删除和修改用户模板 系统管理功能列表 1 系统模板管理 添加、删除和修改系统模板 2 管理用户 修改用户信息和密码 添加和删除用户 3 系统参数设置 设置系统的一些名称和数据 4 数据库管理 数据库的备份和还原 有了这些功能明细后,我们 就把整个系统的框架确定下来了,也就确定了系统数据的基本结构。 系统功能需求分析 创建用例图 系统管理员,参与了管理博客账号、登陆、修改密码 3个用例。