
1. ÏÂÔØÉèÖÃÈí¼þºÍ˵Ã÷Êé
ÉèÖÃÈí¼þ£ºhttp://www.usr.cn/Download/705.html
˵Ã÷Êé:http://www.usr.cn/Download/701.html
Èí¼þÉè¼ÆÊֲ᣺http://www.usr.cn/Download/702.html
2. DTUÊÇ·ñÕý³£¹¤×÷²âÊÔ
(1) Ó²¼þÁ¬½Ó:×°ÉÏsim¿¨£¬½ÓÉÏÌìÏߣ¬780 V2µÄ´®¿Úͨ¹ýUABתRS232/485½Óµ½PCÉÏ£¬ÓÃÎÒ˾ÌṩµÄÊÊÅäÆ÷¹©µç¡£
(2) ָʾµÆ״̬(³ö³§Ä¬ÈϲÎÊýÇé¿öÏÂ)£º
PowerÁÁÆð£ºËµÃ÷¹©µçÕý³£
WorkÁÁÆð£ºËµÃ÷¹Ì¼þÆô¶¯Õý³££¬»ù±¾¿ÉÒԶ϶¨4GÄ£¿éûÓÐÎÊÌâ
NETÉÁ˸£º4´Î/s˵Ã÷ÊÇ4GÍøÂ磻3´Î/s˵Ã÷ÊÇ3GÍøÂ磻2´Î/s˵Ã÷ÊÇ2GÍøÂ磻²»ÁÁ˵Ã÷ÁªÍøÓÐÎÊÌâ
linkaÁÁÆð£ºËµÃ÷³É¹¦Á¬½ÓA··þÎñÆ÷
£¨3£©´ò¿ªÉèÖÃÈí¼þ£¬Ñ¡Ôñ´®¿ÚºÅ/²¨ÌØÂÊ/УÑé/Êý¾Ý/ֹͣ룬´ò¿ª´®¿Ú
ÆäÖд®¿ÚºÅ¿ÉÒÔÔÚµçÄԵġ°É豸¹ÜÀíÆ÷¡±Öв鿴£¬¼ûÏÂͼ£»
²¨ÌØÂʵȴ®¿Ú²ÎÊý³ö³§Ä¬ÈÏÊÇ£º115200,n,8,1
£¨4£©´ò¿ª´®¿Úºó£¬Ïȵã»÷½øÈëÅäÖÃ״̬£¬Èç¹ûÄ£¿éÄÜ·µ»Ø+okµÄ×Ö·û£¬ËµÃ÷µçÄÔºÍÄ£¿éÁ¬½ÓÊÇûÓÐÎÊÌâµÄ£»È»ºóµã»÷½øÈëͨѶ״̬£¬×öÊý¾ÝͨѶ²âÊÔ¡£Èç¹û²»·µ»Ø+OKµÄ»°£¬Çë²Î¿¼£¨²½Öè4£©
×¢Ò⣺ֻÓÐworkָʾµÆÁÁÆ𣬲ÅÄܵã»÷½øÈëÅäÖÃ״̬£¬·ñÔòÎÞЧ
3. HTTP²ÎÊýÉèÖãº
ÔÚHTTP¹¤×÷ģʽÏ£¬ÎÒ˾DTUÊÇ×÷ΪHTTP client(¿Í»§¶Ë)È¥Á¬½ÓHTTP·þÎñÆ÷µÄ£¬ËùÒÔÐèÒª¿Í»§Ìṩhttp·þÎñÆ÷µÄ²ÎÊý£º·þÎñÆ÷µØÖ·£¬¶Ë¿ÚºÅ£¬Â·¾¶(url),ÇëÇó·½Ê½,Í·ÐÅÏ¢(header)ÒÔ¼°·þÎñÆ÷ÒªÇóµÄÊý¾Ý¸ñʽ
Õâ¸öÒÔÎÒ˾µÄ²âÊÔ·þÎñÆ÷ΪÀý²âÊÔGETÇëÇó·½Ê½£¬Èç¹ûÁ˽âµãhttpÐÒéµÄ»°£¬¿ÉÒÔÖªµÀgetÇëÇó·½Ê½Ò²¿ÉÒÔÓÃä¯ÀÀÆ÷À´ÑéÖ¤µÄ¡£
ÎÒ˾µÄ²âÊÔ·þÎñÆ÷²ÎÊý£º
·þÎñÆ÷µØÖ·£ºtest.usr,cn
¶Ë¿ÚºÅ£º80
·¾¶£º/1.php?
·¢ËÍÊý¾Ý¸ñʽ£ºdata=Êý¾Ý
ͨ¹ýä¯ÀÀÆ÷²âÊÔ£¬·¢Ë͵ÄÊý¾ÝÊÇ123456789£¬·þÎñÆ÷Ò²·µ»ØÁË123456789£¬Õâ¸ö¹ý³ÌÊǵ¥¶ÀµÄ²âÊÔ·þÎñÆ÷ÊÇ·ñÄÜÕý³£¹¤×÷£¬È·¶¨·þÎñÆ÷ÊÇokµÄ£¬ÏÂÃæ¾ÍÊÇDTUºÍ·þÎñÆ÷µÄÅäºÏ²âÊÔ¡£
×¢Ò⣺ÔÚ²âÊÔDTU֮ǰһ¶¨ÒªÈ·¶¨ÄúµÄ·þÎñÆ÷ÊÇ¿ÉÒÔÕý³£¹¤×÷µÄ£¬Äú¿ÉÒÔÓõÚÈý·½µÄ²âÊÔÈí¼þ(ÀýÈçposrman)À´²âÊÔÄúµÄ·þÎñÆ÷£¬È·¶¨·þÎñÆ÷ÊÇÕý³£Ö®ºó£¬ÔÙÓÃDTUÅäºÏ·þÎñÆ÷²âÊÔ£¬ÕâÑùÓ¦¸Ã¿ÉÒÔ½ÚÊ¡ºÜ¶à²éÕÒÎÊÌâµÄʱ¼ä¡£
DTU¶ËÉèÖãº
Êý¾Ý²âÊÔ
4. µã»÷½øÈëÅäÖÃ״̬£¬Ã»ÓÐÊÕµ½+OK,Ö»ÓÐ3¸ö+++
ÔÒò£º1>ÏÈÇ°ÓÐÐ޸Ĺý´®¿Ú²ÎÊý£¬ËùÒÔÓ¦¸ÃÓÃеĴ®¿Ú²ÎÊý´ò¿ª´®¿Ú
2>Á¬½ÓµçÄÔºÍDTUµÄ´®¿ÚÏßÓÐÎÊÌâ»òÕß½Ó´¥²»Á¼
½â¾ö£º
1>DTU³ö³§Ä¬ÈϵĴ®¿Ú²ÎÊýÊÇ115200,n,8,1;È·¶¨´ò¿ª´®¿ÚµÄ²ÎÊýûÓÐÎÊÌâ
2>Èç¹ûÐ޸Ĺý´®¿Ú²ÎÊý£¬²¢ÇÒÍü¼ÇÁËеIJÎÊý£¬ÄÇÔÚÉϵç״̬Ï£¬°´×¡reload°´¼ü6sËÉ¿ª£¬»Ö¸´³ö³§ÉèÖã¬È»ºóÓÃ1ÖеIJÎÊýÖØнøÈë
3>È·¶¨´®¿ÚÏߺÍDTU/Ä£¿éÁ¬½ÓûÓÐËɶ¯»òÕß½Ó´¥²»Á¼
4>Èç¹û»¹ÊDz»ÐУ¬¾Í»»¸ùUSBתRS232/485´®¿ÚÏßÊÔÊÔ(Äܽâ¾öºÜ¶àÎÊÌâ)
5>Èç¹û»¹ÊDz»ÐУ¬½«Ó²¼þ½ÓÏßÅÄÕÕ¸ø¼¼ÊõÖ§³Ö¿´¿´