µ±Ç°Î»ÖãºÊ×Ò³ > ×Ô¶¯¼ÓÁÏ»ú¿ØÖÆÏµÍ³Éè¼Æ
ÇൺÀí¹¤´óѧ±ÏÒµÉè¼Æ
ÇൺÀí¹¤´óѧ
±Ï Òµ Éè ¼Æ
ÌâÄ¿£º ×Ô¶¯¼ÓÁÏ»ú¿ØÖÆÏµÍ³Éè¼Æ
ѧÉúÐÕÃû£º ʱºè´¨ ѧÉúѧºÅ£º 201181149 ԺϵÃû³Æ£º »úµç¹¤³Ìϵ רҵ°à¼¶£º »úµçÒ»Ì廯¼¼Êõ115°à Ö¸µ¼½Ìʦ£º ¸¶Á¢ÔÃ
2014Äê 6 ÔÂ 17 ÈÕ
ÇൺÀí¹¤´óѧ±ÏÒµÉè¼Æ
Õª Òª
±¾ÎÄÉè¼ÆµÄ×Ô¶¯¼ÓÁÏ»ú¿ØÖÆÏµÍ³ÊÇÓÉSTC89C52RCµ¥Æ¬»úºÍLCD1602ÏÔʾÆ÷¡¢Ñ¹Á¦´«¸ÐÆ÷µÈ×é³ÉµÄ£¬Æä¹¤×÷ÔÀíÊÇ£ºµ±¼ÓÎïÁÏʱѹÁ¦´«¸ÐÆ÷¸Ð²âÎïÁÏѹÁ¦£¬24λADת»»Ð¾Æ¬HX711¶Ô´«¸ÐÆ÷²É¼¯µ½µÄÄ£ÄâÁ¿½øÐÐADת»»£¬×ª»»ºóµÄÊý¾ÝË͵½µ¥Æ¬»ú½øÐд¦Àí´Ó¶øÒº¾§ÏÔʾÆÁÏÔʾµ±Ç°Ñ¹Á¦Öµ£¬µ¥Æ¬»úÏÔʾµ±Ç°Ñ¹Á¦Ó뵥Ƭ»úÉ趨µÄÎïÁÏѹÁ¦´óС·¶Î§½øÐбȽϣ¬´Ó¶øÊµÏÖ×Ô¶¯¿ØÖÆÎïÁÏÔÚÉ趨·¶Î§£¬ÊµÏÖÖÇÄÜ¿ØÖÆÎïÁÏ´ó´ó½ÚÔ¼³É±¾Ìá¸ßÁËЧÂÊ¡£
±¾Éè¼ÆµÄ×Ô¶¯¼ÓÁÏ»ú¿ØÖÆÏµÍ³£¬ÊDzÉÓÃ×Ô¶¯¿ØÖƼ¼ÊõÀ´ÊµÏÖ¹¦Äܵģ¬ÕâÑù¾Í´ó´óÌá¸ßÁ˹¤×÷µÄЧÂÊ£¬Õû¸ö¹ý³ÌÓÖ¿ìÓÖÎÈ¡£×Ô¶¯¼ÓÁÏ»úµÄÉè¼Æ¿ÉÒÔ´ó´ó½ÚÊ¡ÈËÁ¦×ÊÔ´¿ØÖÆ£¬¼ÓÁϹý³ÌÍê³ÉÁË×Ô¶¯¿ØÖÆ£¬Ìá¸ßÁËÉú²úЧÂÊÒÔ¼°Éú²úµÄÖÊÁ¿¡£Í¬Ê±£¬¼ÒͥʹÓÃ×Ô¶¯¼ÓÁÏ»ú½øÐÐÉú²úÑøÖ³£¬Ò²¿ÉÒÔ½ÚÊ¡ÈËÁ¦×ÊÔ´´´Ôì¸ü´óµÄÀûÒæ£¬¸øÈËÃñµÄÉú²úÉú»î´øÀ´·½±ã£¬¸ø¹¤Òµ»¯´óÉú²ú´øÀ´¾Þ´óµÄÀûÒæÐ§Òæ¼°¹¤×÷ЧÂÊ¡£
¹Ø¼ü´Ê£ºSTC89C52RCµ¥Æ¬»ú£»×Ô¶¯¼ÓÁÏ»ú£»¿ØÖÆÏµÍ³
I
ÇൺÀí¹¤´óѧ±ÏÒµÉè¼Æ
ABSTRACT
Automatic feeding machine control system designed in this paper is made up of STC89C52RC single chip and LCD1602 display, pressure sensors and other components, its working principle is: when the material pressure sensor sensing material pressure, analog 24 bit AD converter chip HX711 to collect the AD conversion, the transformed data processed by the single-chip microcomputer to the LCD display shows the current value of pressure, single-chip display comparative material pressure range of the current pressure and chip set, so as to realize the automatic control of material in the set range, to realize intelligent control material greatly improves the efficiency of cost saving.
The design of the automatic feeding machine control system is adopted to realize the function of automatic control technology, it can greatly improve the working efficiency, the whole process is fast and stable, the design of automatic feeding machine can greatly save manpower resources control feeding process and the production efficiency is increased and the production of automatic quality control, and household use automatic feeding machine for production farming can save human resources to create greater interest, bring convenience to people's production and life, bring great benefit and efficiency for industrial production.
Key words: STC89C52RC single chip microcomputer; Automatic feeding machine; Control system
II
ÇൺÀí¹¤´óѧ±ÏÒµÉè¼Æ
Ŀ ¼
Õª Òª ............................................................................................................................................... I ABSTRACT ....................................................................................................................................... II µÚ1Õ Ð÷ÂÛ ................................................................................................................................. 1
1.1 ¿ÎÌâÑ¡Ôñ±³¾° .............................................................................................................. 1 1.2 Ñо¿µÄÄ¿µÄ ................................................................................................................... 1 1.3 ¿ÎÌâÑо¿µÄÒâÒå .......................................................................................................... 2 1.4 Éè¼ÆÖ÷ÒªÍê³ÉµÄÈÎÎñ ................................................................................................ 2 µÚ2Õ ϵͳ×ÜÌåÉè¼Æ·½°¸ ...................................................................................................... 3
2.1 ϵͳ·½°¸ ....................................................................................................................... 3
2.2.1 È˹¤¼ÓÁϺÍ×Ô¶¯¼ÓÁÏµÄ±È½Ï ...................................................................... 4 2.2.2 ³ÌÐòÉè¼ÆÓïÑÔµÄÑ¡Ôñ .................................................................................... 4
µÚ3Õ ϵͳµÄÓ²¼þµç·Éè¼Æ .................................................................................................. 6
3.1 LCD1602ÏÔʾģ¿é ...................................................................................................... 7 3.2 ϵͳ´«¸ÐÆ÷Ä£¿é .......................................................................................................... 8 3.3 A/Dת»»Ä£¿é ............................................................................................................. 10 3.4 ϵͳµçÔ´Ä£¿é ............................................................................................................ 11 3.5 ϵͳµ¥Æ¬»ú×îСϵͳ .............................................................................................. 13
3.4.1 ϵͳÖ÷¿Øµç· ................................................................................................ 13 3.4.2 STC89C52¹¦ÄÜÌØÐÔ¸ÅÊö ............................................................................ 13 3.4.3 STC89C52RCµ¥Æ¬»úµÄÒý½Å ........................................................................ 14 3.6 ¸´Î»µç· ..................................................................................................................... 17 µÚ4Õ Èí¼þÉè¼Æ ...................................................................................................................... 20
4.1 ϵͳÖ÷³ÌÐò ................................................................................................................. 21 4.2 ϵͳ×Ó³ÌÐò ................................................................................................................. 22 4.3 ϵͳµÄµ÷ÊÔ ................................................................................................................. 23 ½áÊøÓï ........................................................................................................................................... 25 Ö л ............................................................................................................................................. 26 ²Î¿¼ÎÄÏ× ...................................................................................................................................... 27 ¸½Â¼A£º³ÌÐòÇåµ¥ ..................................................................................................................... 28 ¸½Â¼B£ºÔªÆ÷¼þÇåµ¥ ................................................................................................................. 33 ¸½Â¼C£ºÏµÍ³Ó²¼þ¿òͼ ............................................................................................................ 34 ¸½Â¼D£ºÍâÎÄ×ÊÁÏ ..................................................................................................................... 35
I
¹²·ÖÏí92ƪÏà¹ØÎĵµ