
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¡¢´ò¿ªUSR-DR152ÉèÖÃÈí¼þUSR-CAT1 V1.1.4.exe
2¡¢´ò¿ªUSB-RS232´®¿ÚÏßCOM¿Ú£¬ÉèÖÃÈí¼þ²¨ÌØÂʺÍUSR-DR152²¨ÌØÂÊÒ»Ö£¬µã»÷½øÈëÅäÖÃ״̬¡£
3¡¢µã»÷»ñÈ¡µ±Ç°²ÎÊý
4¡¢ÉèÖÃMQTTģʽ²ÎÊý
£¨1£©Ñ¡ÔñMQTTģʽ
£¨2£©Ñ¡ÔñͨÓÃMQTT
£¨3£©·þÎñÆ÷µØÖ·ºÍ¶Ë¿Ú£ºÌîÒªÁ¬½ÓµÄMQTT·þÎñÆ÷µØÖ·£¬¶Ë¿ÚÓÃÁË1883
£¨4£©Óû§Ãû£ºÌîMQTT·þÎñÆ÷µÄÓû§Ãû
£¨5£©ÃÜÂ룺ÌîMQTT·þÎñÆ÷µÄÃÜÂë
¿Í»§¶ËID£ºÌîUSR-DR152×ö¿Í»§¶ËµÄID£¬×Ô¶¨Òå1234567890¡£×¢Òâ²»ÒªÓÃĬÈÏÖµ¡£²»ÒªºÍMQTTfxÈí¼þÒ»ÑùµÄ¿Í»§¶ËID¡£
£¨6£©¶©ÔÄÖ÷Ì⣺¹´Ñ¡Ö÷Ìâ1£¬Ìîд/USR-DR152/get
£¨7£©ÍÆËÍÖ÷Ì⣺¹´Ñ¡Ö÷Ìâ1£¬Ìîд/USR-DR152/update
5¡¢ÉèÖÃÈí¼þµã»÷ÉèÖò¢±£´æËùÓвÎÊý
6¡¢ÉèÖÃÈí¼þµã»÷¹Ø±Õ´®¿Ú
ËÄ¡¢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 ¶©ÕýÄÚÈÝ£º³õ¸å