
USR-DR152ɨÂëÅäÖÃMQTT¹¦Äܵ÷ÊÔʾÀý
±¸×¢£ºUSR-DR152Ö§³Ö¿·¢¡¤k8¹ú¼Ê¹«Ë¾µÄÄÚÖÃSIM¿¨ÁªÍø¡£Ò²¿ÉÒÔµ¥¶À²åÍâÖÿ¨£¨¿ÉÒÔÉÏÍøµÄ¿·¢K8¹ú¼ÊÊ×Ò³¿¨¡¢ÊÖ»ú¿¨£©Á¬½ÓÔ¶³Ì·þÎñÆ÷£¬ÐèÒªUSR-DR152ÁªÍø¡£
Ò»¡¢×ÊÁÏÏÂÔØ
USR-G771-G780s-DR5X2-DR15X˵Ã÷Êé £¨ÍêÕû°æ£©£º/Download/982.html
USR-G771-G780s-DR5X2-DR15X¹æ¸ñÊ飺/Download/983.html
USR-G771-G780s-DR5X2-DR15XµÄATÖ¸Á£º/Download/984.html
USR-DR152 ÉèÖÃÈí¼þ£¨Ð£©£º/Download/826.html
G771-G780s-DR5X2-DR15X MQTTÓ¦Óð¸Àý£º/Download/1188.html
¡¾PC¶Ëµ÷ÊÔ¹¤¾ß¡¿ÍøÂçµ÷ÊÔÖúÊÖ ´®¿Úµ÷ÊÔÖúÊÖ¶þºÏÒ»/Download/27.html
¶þ¡¢Ó²¼þÁ¬½Ó
1¡¢ËùÐèÎïÆ·
USR-DR152 ²úÆ· 1̨
12V¶Ë×ÓµçÔ´ÊÊÅäÆ÷ 1¸ö
USB-RS232´®¿ÚÏß 1Ìõ
DB9ת½Ó°å 1¸ö
±Ê¼Ç±¾µçÄÔ 1̨
2¡¢Ó²¼þÁ¬½Ó
¿·¢¡¤k8¹ú¼ÊµçÔ´ÊÊÅäÆ÷2¸ùÏߣ¬´øÒ»¶ÎÒ»¶Î°×ÏßÉ«»·µÄÊÇÕý¼«£¬²»´ø°×ÏßÉ«»·µÄÊǸº¼«¡£
USR-DR152µÄ +£¨Õý¼«£©½ÓµçÔ´ÊÊÅäÆ÷Õý¼«¡£
USR-DR152µÄ -£¨¸º¼«£©½ÓµçÔ´ÊÊÅäÆ÷¸º¼«¡£
USR-DR152µÄRX½Óת½Ó°åµÄ2Òý½ÅTX
USR-DR152µÄTX½Óת½Ó°åµÄ3Òý½ÅRX
USR-DR152µÄGND½Óת½Ó°åµÄ5Òý½ÅGND
¿·¢¡¤k8¹ú¼Êת½Ó°åĸͷ¿ÉÒÔ½ÓUSB-RS232´®¿ÚÏß¹«Í·£¬ÓÃÓÚÄ£Äâ232´®¿ÚÉ豸£¬²âÊÔUSR-DR152µÄ´®¿Ú¡£
3¡¢²é¿´¶Ë¿ÚºÅ
µçÄÔÊó±êµã»÷¼ÆËã»ú¹ÜÀí£¬ÓÒ»÷£¬µã¿ªÉ豸¹ÜÀíÆ÷£¬µã»÷¶Ë¿Ú£¬²é¿´½ÓUSR-DR152µÄUSB-RS232´®¿ÚÏßCOM¿ÚºÅ£¬COM3¡£
Èý¡¢USR-DR152ɨÂëÅäÖÃ
1¡¢Î¢ÐÅС³ÌÐòÅäÖù¦ÄܽéÉÜ£º
×¢£ºDR15X ±ê×¼°æÖ§³Ö΢ÐÅС³ÌÐòÅäÖù¦ÄÜ¡£
Óû§¿ÉÒÔÖ±½Óͨ¹ýÊÖ»ú΢ÐÅɨÃè²úÆ·ÕýÃæµÄ¶þάÂ룬ͨ¹ý΢ÐÅС³ÌÐò¿ìËÙÅäÖòÎÊýºÍµ÷ÊÔÉ豸£¬Èà DTU µÄÅäÖôӴ˸æ±ð·±Ëö¡£
2¡¢Ê¹ÓÃ΢ÐÅɨһɨ¹¦ÄÜɨÃè²úÆ·ÕýÃæµÄ¶þάÂ룬¼´½øÈë΢ÐÅС³ÌÐò¡°Áª²©Ê¿ÅäÖà ¹¤¾ß¡±
3¡¢µã»÷¹Ø±Õ ·µ»ØÀ¶ÑÀÅäÖÃ
4¡¢´ò¿ªÊÖ»úÀ¶ÑÀ¹¦ÄÜ£¬Í¬Ê±¸ø΢ÐŵÄÀ¶ÑÀȨÏÞ´ò¿ª
5¡¢Ëѵ½É豸Ãû³Æ
΢ÐÅС³ÌÐò¡°Áª²©Ê¿ÅäÖù¤¾ß¡±×Ô¶¯É¨ÃèÊÖ»úÅÔ±ßµÄ DTU É豸£¬ÆäÖÐÿһ̨É豸¶¼Óв»Í¬µÄÀ¶ÑÀÃû³Æ£¬¸ÃÀ¶ÑÀÃû³ÆΪ¡°USR-DR15X- É豸 IMEI ºÅºóÁùλ¡±£¬±ãÓÚÓû§¿ÉÒÔÕý³£Ê¶±ð¸ÃÅäÖÃÄÄһ̨ DTU É豸¡£
6¡¢µã»÷É豸Ãû³Æ£¬»áÌáʾÁ¬½ÓÀ¶ÑÀÖÐ
µã»÷΢ÐÅС³ÌÐò¡°Áª²©Ê¿ÅäÖù¤¾ß¡±ÖÐɨÃèµ½µÄ DTU É豸Ãû³Æ¡£
7¡¢ÊäÈëÁ¬½ÓÃÜÂë
ÈôµÚÒ»´ÎÁ¬½Ó£¬Ôò»áµ¯³öµ¯¿ò£¬ÐèÊäÈëÁ¬½ÓÃÜÂë½øÐÐÑéÖ¤£¬Á¬½Ó ÃÜÂë³õʼֵΪ¡°usr_cn¡±£¬ÃÜÂë¿ÉÒÔÔÚ½øÈë΢ÐÅС³ÌÐòºóÖØнøÐÐÉ趨£¨³¤¶ÈΪ 1~10 룩¡£µÚÒ»´ÎÁ¬½Ó³É¹¦ºó£¬É豸¿É×Ô¶¯¼Ç¼Á¬½ÓÑé ֤״̬¡£ÔÙ´ÎÁ¬½Óʱ£¬¡°Áª²©Ê¿ÅäÖù¤¾ß¡±»á×Ô¶¯½øÈëÖ÷½çÃæ¡£
8¡¢µã»÷²ÎÊýÉèÖÃ
΢ÐÅС³ÌÐò¡°Áª²©Ê¿ÅäÖù¤¾ß¡±µÄÖ÷½çÃæÈçÏÂͼËùʾ£º
9¡¢µã»÷¹¤×÷ģʽ£¬Ñ¡ÔñMQTTģʽ£¬µã»÷È·¶¨
10¡¢Ñ¡ÔñMQTTģʽ£¬·þÎñÆ÷µØÖ·ÊäÈëMQTT·þÎñÆ÷µØÖ·£¬·þÎñÆ÷¶Ë¿ÚÌîMQTT·þÎñÆ÷¶Ë¿Ú1883£¬ÊôÓÚMQTT·þÎñÆ÷µÄÓû§ÃûºÍÃÜÂë¡£¿Í»§¶ËID²»ÓÃĬÈÏ£¬¿ÉÒÔ×Ô¶¨Ò壬ÕâÀïÓõÄÊÇ1234567890£¬ÒªºÍMQTTfx¿Í»§¶ËID²»Ò»Ñù²Å¿ÉÒÔ¡£
¶©ÔÄÖ÷ÌâÖ÷Ìâ1¹´Ñ¡ÓÃ/USR-DR152/get
ÍÆËÍÖ÷ÌâÖ÷Ìâ1¹´Ñ¡ÓÃ/USR-DR152/update
11¡¢µã»÷´®¿ÚÉèÖ㬲鿴´®¿Ú²¨ÌØÂÊ115200£¬Êµ¼Ê²âÊÔÐèÒªÐÞ¸ÄUSR-DR152µÄ²¨ÌØÂÊ£¬¸ÄµÄºÍËù½Ó232´®¿ÚÉ豸һÖ£¬ÆäËû²ÎÊý±£³ÖĬÈÏ¡£
12¡¢²ÎÊýÈ·ÈÏÍê³ÉÖ®ºó£¬µã»÷Áª²©Ê¿ÅäÖù¤¾ßµÄÉèÖã¬ÌáʾÉèÖóɹ¦£¬ÊÇ·ñ±£´æ²ÎÊýÉúЧ²¢ÖØÆô£¬µã»÷È·¶¨¡£USR-DR152²ÎÊýÉèÖò¢×Ô¶¯ÖØÆô¡£
ËÄ¡¢MQTT.fxÈí¼þÁ¬½ÓMQTT·þÎñÆ÷
1¡¢´ò¿ªMQTT.fxÈí¼þ
2¡¢½¨Ò»¸öеÄÅäÖÃÎļþ×öÁíÒ»¸öMQTT¿Í»§¶Ë
£¨1£©ÅäÖÃÎļþÃû×Ô¶¨ÒåÓÃMQTT
£¨2£©·þÎñÆ÷µØÖ·ÌîºÍUSR-DR152Á¬½ÓµÄͬһ¸öMQTT·þÎñÆ÷µØÖ·
£¨3£©¶Ë¿ÚÌîMQTT·þÎñÆ÷¶Ë¿Ú1883
£¨4£©Client ID£¨¿Í»§¶ËID£©¿ÉÒÔµã»÷ºóÃæµÄGenerate×Ô¶¯´´½¨£¬×¢ÒâºÍUSR-DR152µÄ¿Í»§¶ËID²»ÒªÒ»Ñù£¬Èç¹ûÏàͬ»á³åÍ»¡£
£¨5£©µã»÷User Credentials£¬User NAMEÊäÈëMQTT·þÎñÆ÷µÄÓû§Ãû£¬PasswordÊäÈëMQTT·þÎñÆ÷µÄÃÜÂë¡£
£¨6£©ËùÓвÎÊýÉèÖÃÍê³ÉÖ®ºó£¬µã»÷ApplyÓ¦Óá£
3¡¢MQTT.fxÈí¼þÑ¡Ôñн¨µÄ¿Í»§¶ËMQTT£¬µã»÷ConnectÁ¬½Ó
4¡¢MQTT.fxÈí¼þÍÆËÍ£¬USR-DR152¶©ÔIJâÊÔ
£¨1£©´ò¿ªUSR-TCP232-TEST´®¿ÚÖúÊÖ£¬´ò¿ªUSR-DR152½ÓµÄUSB´®¿ÚÏßCOM¿Ú£¬COM3¡£
£¨2£©MQTT.fxÈí¼þµã»÷Publish£¬ÊäÈë/USR-DR152/get£¬ÔÚÏÂÃæµÄ·¢ËÍ¿òÊäÈëÊý¾Ýwww.usr.cn£¬µã»÷Publish·¢Ë͸øUSR-DR152´®¿Ú£¬´®¿ÚÖúÊÖ½ÓÊÕÊý¾Ýwww.usr.cn
5¡¢USR-DR152Èí¼þÍÆËÍ£¬MQTT.fx¶©ÔIJâÊÔ
£¨1£©´ò¿ªUSR-TCP232-TEST´®¿ÚÖúÊÖ£¬´ò¿ªUSR-DR152½ÓµÄUSB´®¿ÚÏßCOM¿Ú£¬COM3¡£
£¨2£©MQTT.fxÈí¼þµã»÷Subscribe£¬ÊäÈë/USR-DR152/update£¬µã»÷ºóÃæµÄSubscribe¡£
£¨3£©´®¿ÚÖúÊÖ·¢ËÍ¿òÊäÈëÊý¾Ý1234567890£¬·¢Ë͸øMQTT.fxÈí¼þ£¬µã»÷MQTT.fxÈí¼þµÄÿһÌõ/USR-DR152/update£¬¿ÉÒÔ¿´µ½½ÓÊÕµÄÊý¾Ý1234567890
±àдÈË£º½ðÖ¾·½ ±àдÈÕÆÚ£º2024-04-02
ÉóºËÈË£º½ðÖ¾·½ ÉóºËÈÕÆÚ£º2024-04-07
¶©Õý°æ±¾£ºV1.0 ¶©ÕýÄÚÈÝ£º³õ¸å