Ϋ·»Ñ§Ôº±¾¿Æ±ÏÒµÉè¼Æ
Ŀ ¼
ÕªÒª¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...¢ó ABSTRACT¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡..¢ô 1 ǰÑÔ ...................................................................................................................................... 1
1.1Ñ¡Ìâ±³¾° ...................................................................................................................... 1 1.2 ³£¼û³äµçµç³ØÌØÐÔ¼°Æä³äµç·½Ê½ ............................................................................. 2 1.3 Ö÷ҪоƬµÄÑ¡Ôñ ......................................................................................................... 4 1.4Òº¾§ÏÔʾģ¿éµÄÑ¡Ôñ .................................................................................................. 6 2 Ó²¼þµç·Éè¼Æ ...................................................................................................................... 7
2.1 Òº¾§ÏÔʾģ¿éÁ½ÖÖ·ÃÎÊ·½Ê½½Ó¿Úµç·µÄÑ¡Ôñ .......................................................... 7 2.2 Ó²¼þµç·Ö÷ҪоƬ ...................................................................................................... 9
2.2.1 ATmega16LÖ÷ÒªÒý½Å ........................................................................................ 9 2.2.2 Atmega16LµÄ´æ´¢Æ÷ ......................................................................................... 9 2.2.3 Atmega16LµÄʱÖÓµç· ................................................................................... 10 2.2.4 Atmega16LµÄϵͳ¸´Î» ................................................................................... 10 2.3 LCDÒº¾§ÏÔʾ ......................................................................................................... 11
2.3.1 LCDµÄÏÔʾÔÀí .............................................................................................. 11 2.3.2 Òº¾§ÏÔʾ¿ØÖÆÇý¶¯Æ÷ ...................................................................................... 13 2.3.3 Òº¾§ÏÔʾģ¿éµÄÌØµã ...................................................................................... 13 2.4 µçÔ´µç·µÄÉè¼Æ ........................................................................................................ 15 2.5 Ó²¼þµç·Éè¼Æ ............................................................................................................ 15 2.6 PROTEL99µÄÓ¦Óüò½é ............................................................................................. 16 3 Èí¼þÉè¼Æ .............................................................................................................................. 18
3.1 ϵͳ³ÌÐòÁ÷³Ìͼ ........................................................................................................ 18
3.1.1 Ö÷³ÌÐòÁ÷³Ìͼ .................................................................................................. 18 3.1.2¿ØÖƳÌÐòÁ÷³Ìͼ ............................................................................................... 19 3.1.3ÏÔʾ³ÌÐòÁ÷³Ìͼ ............................................................................................... 20 3.2 ÏÔʾ³ÌÐòµÄÉè¼Æ ........................................................................................................ 21 4 ϵͳµ÷ÊÔ .............................................................................................................................. 29
4.1 µ÷ÊÔ¹ý³Ì .................................................................................................................... 29
I
Ϋ·»Ñ§Ôº±¾¿Æ±ÏÒµÉè¼Æ
4.2Ò»¸öµÆµÄÉÁ˸ ............................................................................................................. 30 4.3µÆµÄÑ»·ÏÔʾ ............................................................................................................. 31 ½áÊøÓï ...................................................................................................................................... 32 ²Î¿¼ÎÄÏ× .................................................................................................................................. 34 Ö л ........................................................................................................................................ 35
II
Ϋ·»Ñ§Ôº±¾¿Æ±ÏÒµÉè¼Æ
ÕªÒª£ºLCDÒº¾§ÏÔʾÒѾÊÇÈË»ú½çÃæµÄ¹Ø¼ü¼¼Êõ¡£±¾ÎĶԻùÓÚµ¥Æ¬»úµÄLCDÒº¾§ÏÔʾÆ÷¿ØÖÆÏµÍ³½øÐÐÁËÖÇÄÜÐͳäµçÆ÷µÄÑо¿¡£µÚÒ»²¿·ÖÖнéÉÜÁ˱¾¿ÎÌâµÄ¿ÎÌâ±³¾°¡¢Ñо¿ÒâÒå¼°Ô¤ÆÚÑо¿Ä¿±ê¡£µÚ¶þ²¿·Ö¼òµ¥ÃèÊöÁËϵͳӲ¼þ¹¤×÷ÔÀí£¬ÇÒ¸½ÒÔϵͳӲ¼þÉè¼Æ¿òͼ£¬²¢½éÉÜÁ˵¥Æ¬»ú΢´¦ÀíÆ÷µÄ·¢Õ¹Ê·£¬ÂÛÊöÁ˱¾±ÏÒµÉè¼ÆËùÓõ½µÄ¸÷Ó²¼þ½Ó¿Ú¼¼ÊõºÍ¸÷¸ö½Ó¿ÚÄ£¿éµÄ¹¦Äܼ°¹¤×÷¹ý³Ì¡£µÚÈý²¿·Ö²ûÊöÁ˳ÌÐòµÄÁ÷³ÌºÍʵÏÖ¹ý³Ì¡£×îºó¶ÔÓõ¥Æ¬»úʵÏÖLCDÒº¾§ÏÔʾÆ÷¿ØÖÆÔÀíµÄÉè¼ÆË¼ÏëºÍÈí¡¢Ó²¼þµ÷ÊÔ×÷ÁËÏêϸµÄÂÛÊö¡£±¾ÎÄ׫дµÄÖ÷µ¼Ë¼ÏëÊÇÈí¡¢Ó²¼þÏà½áºÏ£¬ÒÔÓ²¼þΪ»ù´¡£¬À´½øÐи÷¹¦ÄÜÄ£¿éµÄ±àд¡£ ¹Ø¼ü´Ê:µ¥Æ¬»ú£»Î¢´¦ÀíÆ÷£»LCD
III
Ϋ·»Ñ§Ôº±¾¿Æ±ÏÒµÉè¼Æ
ABSTRACT: The liquid crystal display (LCD) has been a key technique for the man-machine interface. In this paper, a study was made on the smart charger for the LCD control system based on micro controller unit (MCU) control system. In the first part, the subject background, research meaning and expected research objectives were introduced. In the second part, the working principle of the system hardware was simply described and the system block diagram of hardware design was attached. The history of the development of single chip microprocessor was introduced and the hardware interface technology and the function and work process of each interface module used in the graduation paper were also discussed. In the third part, the process and realization of the program were elaborated. Finally, the design ideas of the MCU control principle realized by single chip LCD and software or hardware debugging are discussed in detail. The main idea of this paper is the software and hardware combination, regarding hardware as the foundation, for the writing preparation of the functional modules.
KEY WORDS£ºMicro Controller Unit; Microprocessor; LCD
IV
Ïà¹ØÍÆ¼ö£º