Õª Òª
Ä¿Ç°£¬Êг¡ÉϵÄÎÞÏßÒ£¿Øϵͳÿһʱ¿ÌÖ»ÄÜ¿ØÖÆһ̨É豸£¬ÇÒ¿ØÖƶą̀²»ÄÜͬʱ¹¤×÷£¬µ±Á½¸ö¿ØÖÆ°´¼üͬʱ°´ÏÂʱ»á³öÏÖÉ豸´íÎó¶¯×÷µÈÎÊÌ⣬ÐÂÉè¼ÆÒ»ÎÞÏßÒ£¿Øϵͳ£¬Ê¹ÆäÄÜÊä³ö8¸ö¿ØÖÆÐźţ»ÔÚ¿ØÖÆÐźŷ¢ËͶˣ¬¿ÉʵÏÖÐźŰ´¼üµÄÓÅÏÈÅжϣ»¿ØÖÆÐźŽÓÊն˿ÉʵÏÖÐźŵÄ×ÔËø¡£
±¾Éè¼ÆÊÇ»ùÓÚµ¥Æ¬»úʵÏÖµÄÎÞÏßÒ£¿Øϵͳ¡£·ÖΪÎÞÏß·¢ÉäÄ£¿é¡¢ÎÞÏß½ÓÊÕÄ£¿é¡¢µ¥Æ¬»ú¿ØÖƲ¿·Ö¡£ÏµÍ³Í¨¹ýÎÞÏßµçʵÏÖ¿ØÖÆÐźŵĴ«µÝ£¬µ¥Æ¬»ú×÷Ϊ¿ØÖƲ¿¼þе÷´¦ÀíÕû¸öϵͳµÄ¹¤×÷£¬²¢²úÉúÏàÓ¦µÄÐźţ¬¶Ô¸÷ÖÖÉ豸½øÐпØÖÆ¡£Ñ¡ÓÃSTC89C52RCµ¥Æ¬»ú£¬ÄÚ²¿°üº¬Flash´æ´¢Æ÷£¬ÔÚϵͳµÄ¿ª·¢¹ý³ÌÖÐÖ§³ÖÔÚÏßÏÂÔØ¡£¶øÇҸõ¥Æ¬»ú¿ØÖÆ·½±ã£¬ÄÚ²¿×ÊÔ´·á¸»¡£
²ÉÓÃ315MÎÞÏßÊÕ·¢ÏµÍ³ÊµÏÖ¿ØÖÆÐźŵÄÎÞÏß´«Êä[1]£¬¸ÃÎÞÏß´«Êäϵͳ¿¹¸ÉÈÅÄÜÁ¦Ç¿£¬´«Êä¾àÀëÔ¶£¬»¹¿ÉÒÔʵÏÖ±£ÃÜͨÐÅ£»Çý¶¯µç·¼òµ¥£¬Ò×ÓÚ¿ØÖÆ£¬³É±¾µÍ£¬ÄÜÌṩ½Ï´óµÄ¹¦ÂÊ£¬ÊÊÓ¦¸÷ÖÖ×Ô¶¯»¯¿ØÖÆÉ豸µÄ´ó¹¦ÂÊÓ¦Óá£
±¾ÏµÍ³¾ßÓкÜÇ¿µÄͨÓÃÐÔºÍʵÓÃÐÔ£¬¿ÉÒÔ½«ÆäÓÃÓÚ¸÷ÖÖµç×ÓµçÆ÷É豸ÖÐʵÏÖÎÞÏß¿ØÖÆ£¬Ò²¿ÉÒԹ㷺ӦÓÃÓÚ¸÷ÖÖµçÆ÷¡¢»úÆ÷È˺͸÷ÖÖ×Ô¶¯»¯¿ØÖÆÁìÓòÖеÄÒ£¿Ø×°Öá£
¹Ø¼ü´Ê ÎÞÏßÊÕ·¢ÏµÍ³ STC89C52RC
I
Abstract
This paper is relate to wireless telecontrol system that accomplished base on miccontroller. It is composed of radio transmit module, wireless receive module, miccontrollor control section and motor driven part .This system transfered the control signal depend on wireless radio ,The Singlechip is a control unit take charge of processing work of total system ,and brought relevant Direction signal and PWM signal, Which can control the electromotor performed positive running ,reversal running, speedup , slowdown .
The system has a strong versatility and practicality, can be used for a variety of electrical and electronic equipment in the wireless control can also be widely used in various electrical appliances, robots and various automatic control in the field of remote control devices.
The system uses a 315M wireless transceiver system for wireless transmission of control signals,the wireless transmission system and strong anti-interference, transmission distance, you can achieve secure communication; drive circuit is simple, easy to control, low cost,can provide greater power, to adapt to a diverse array of automated control equipment for high-power applications.
This system choose the STC89C52RC by way of controller, because it interior contain Flash memory , besides it offered download program on-line.
Key words wireless transmit and receive system STC89C52RC
II
Ŀ ¼
Õª Òª ............................................................................................................... I ABSTRACT ............................................................................................... II µÚ1Õ Ð÷ ÂÛ ................................................................................................ 1
1.1 ÒýÑÔ ................................................................................................ 1 1.2 ¹úÄÚÍâ·¢Õ¹ÏÖ×´ ............................................................................. 1 1.3ϵͳ´æÔÚµÄÎÊÌâ ............................................................................. 2 1.4 Éè¼ÆÈÎÎñ ........................................................................................ 2 µÚ2Õ ·½°¸Éè¼Æ .......................................................................................... 4
2.1 ·½°¸±È½Ï ........................................................................................ 4
2.1.1ÎÞÏß·¢ÉäÓë½ÓÊÕ·½°¸ ......................................................... 4 2.1.2 ϵͳ¿ØÖƲ¿·Ö·½°¸ ............................................................ 6 2.2 ·½°¸Éè¼Æ ........................................................................................ 7
2.2.1 ×ÜÌåÉè¼Æ˼· .................................................................... 7 2.2.2 Éè¼Æ·½°¸ ............................................................................ 7 µÚ3Õ Ӳ¼þϵͳÉè¼Æ .................................................................................. 8
3.1 ÎÞÏß·¢ÉäºÍÎÞÏß½ÓÊÕÄ£¿é ............................................................. 8
3.1.1 ±àÂëºÍ½âÂëÔÀí .............................................................. 8 3.1.2 ÎÞÏß·¢Éä¡¢½ÓÊÕÔÀí ................................................... 11 3.1.3 µç·Éè¼Æ ........................................................................ 13 3.2 ¿ØÖƲ¿·Ö ...................................................................................... 15
3.2.1 ¸´Î»µç·Éè¼Æ ................................................................ 17 3.2.2 ʱÖÓµç·Éè¼Æ ................................................................ 18 3.2.3 Çý¶¯½Ó¿ÚÉè¼Æ ................................................................ 18 3.2.4 ÏÂÔؽӿÚÉè¼Æ ................................................................ 19 µÚ4Õ Èí¼þÉè¼Æ ........................................................................................ 21
4.1¿ª·¢Èí¼þ½éÉÜ ............................................................................... 21
III