2014年8月8日星期五

lcd display the system requires additional configuration

 a highly integrated mixed-signal system-on-chip. It has a 100-pin TQFP package, low power supply voltage of 2.7 ~ 3.3 V, all I / O, RST, JTAG pins are resistant to 5 V voltage; has high speed pipelined 8051-compatible CIP51 core structure (up to 25 MIPS). The MCU has a total of 64 P0 ~ P7 purpose I / O ports, each port pin can be configured as push-pull output or open-drain output. For VGS12864E, due to its operating voltage is 5 V, and C8051F020 operating voltage is 3.3 V, so Character LCD Modules the output C8051F020 better able to drive 5 V input OLED, the system requires lcd display additional configuration. In addition to the corresponding output port is set to "open drain", but also in the circuit will be connected to each port through a pull-up resistor on a 5 V power supply, so you can ensure C8051F020 logic "1" output can be raised to 5 V. The interface circuit shown in Figure 2.
4 software programming
Software programming language using Keil C51 driver includes a display module hardware (ie write commands and write data), and clear screen display module initialization routines as Serial display modules well as other common Western character display realization process. Since this command system and LCD module drive controller HD61202 compatible, so these lcd display procedures have a high versatility. For character character display, character features of the module library data is prepared in the form of columns of data that a byte of data represents the data of an 8 × 1, and compared with the usual character library, the character is rotated by 90 ° font data. Use Zimo21.exe take matrix software, and set the mode to portrait modulo extraction, you can easily obtain the necessary Western text mode.

没有评论:

发表评论