
Ò»¡¢×ÊÁÏÏÂÔØ
USR-M100 ˵Ã÷Êé¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1202.html
USR-M100 ¹æ¸ñÊé¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1203.html
USR-M100 ÉèÖÃÈí¼þ¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1213.html
¶þ¡¢Ó²¼þÁ¬½Ó
1¡¢ËùÐèÎïÆ·
USR-M100 ²úÆ· 1̨
ÍâÍø·ÓÉÆ÷ 1̨
12VµçÔ´ÊÊÅäÆ÷ 1¸ö
±Ê¼Ç±¾µçÄÔ 1̨
2¡¢Ó²¼þÁ¬½Ó
¸øUSR-M100ÍøÏß½ÓÈë·ÓÉÆ÷£¬¸øUSR-M100½ÓÈë12VµçÔ´£¬¿ª¹ØÁ¿É豸½ÓÈëµ½DI½Ó¿ÚÉÏ¡£
¸½Í¼ £º
Èý¡¢ÉèÖû·½Ú
1¡¢USR-M100É豸ֱÁ¬µçÄÔ£¬É豸ĬÈÏ192.168.0.7£¬µçÄÔIPµØÖ·Ò²ÒªÐÞ¸ÄΪͬÍø¶ÎIP£¬Íø¹ØÓëDNSÉèÖÃΪ192.168.1.1
2¡¢ÔÚµçÄÔä¯ÀÀÆ÷ÖÐÊäÈëÉ豸ĬÈÏIP£º192.168.0.7£¬¼´¿É´ò¿ªÉ豸ÄÚÖÃÍøÒ³Ð޸IJÎÊý£¬Ä¬ÈÏ¿Í‘ôÃûÃÜÂë¾ùΪadmin
3¡¢½øÈëµ½USR-M100ÄÚÖÃÍøÒ³
4¡¢ÉèÖÃÍøÂçÁ¬½Ó·½Ê½£¬ÍøÂçÓÅÏÈÉèÖÃΪÒÔÌ«ÍøÓÅÏÈ£¬IPÀàÐÍÉèÖÃΪDHCP£¬±£´æÓ¦Ó㬼ÌÐøÅäÖá£
5¡¢MQTTÍø¹Ø²ÎÊýÉèÖ㬿ªÆôMQTTʹÄÜ£¬¹Ë¿ÍID×Ô¶¨Ò壬ÌîÈëMQTT·þÎñÆ÷ÐÅÏ¢£¨´ËΪ²âÊÔ·þÎñÆ÷£¬ÕýʽʹÓÃʱ£¬²»¿ÉÒÔʹÓô˷þÎñÆ÷£©£¬Á¬½ÓÑéÖ¤¿Í‘ôÃûÃÜÂë×Ô¶¨Òå¡£±£´æÓ¦Ó㬼ÌÐøÅäÖá£
6¡¢±ßÔµ¼ÆËãÍø¹Ø²ÎÊýÉèÖÃ
¿ªÆô±ßÔµ¼ÆËãÍø¹ØʹÄÜ¡£
Êý¾Ý²É¼¯ÖÐÌîÈëUSR-M100×ÔÉíµÄÄÚÖÃIO´Ó»úºÍµãλ±£´æ£¬ÏÂÒ»²½¡£
Êý¾ÝÉϱ¨Í¨µÀÑ¡ÔñMQTT£¬Êý¾Ý²éѯÉèÖÃÖпªÆô¶Áд¹¦ÄÜ£¬ÉèÖ÷¢²¼Ö÷ÌâºÍ¶©ÔÄÖ÷Ìâ
Êý¾ÝÉϱ¨ÖпªÆôÊý¾ÝÉϱ¨¹¦ÄÜ£¬ÉèÖÃÉϱ¨Ö÷Ì⣬JOSNÄ£°åÖж¨ÒåÒªÉϱ¨µÄ¿ª¹ØÁ¿ÐÅÏ¢
É豸²ÎÊýÖÁ´ËÉèÖÃÍê±Ï£¬±£´æ²ÎÊý£¬ÖØÆôÉ豸ÉúЧ²ÎÊý¡£
7¡¢MQTTX²ÎÊýÉèÖÃ
´ò¿ªMQTTXÈí¼þ£¬Ð½¨Ò»¸öÁ¬½Ó£¬×Ô¶¨ÒåÁ¬½ÓÃûÃû³Æ£¬¿ÉÒÔʹÓÃÈí¼þÉú³ÉµÄClient ID,×¢Òâ²»ÒªºÍMQTT³åÍ»¼´¿É£¬ÌîÈëMQTT·þÎñÆ÷ÐÅÏ¢£¬ÌîÈë¿Í‘ôÃûÃÜÂë¡££¬µã»÷ÓÒÉϽÇÁ¬½Ó¡£
MQTTXÏ·¢¿ØÖÆDO¶¯×÷ÎüºÏ£¬×¢ÒâÖ÷Ìâ
DO¿ØÖÆÏ·¢json¸ñʽÊý¾Ý£º
{"rw_prot": {"Ver": "1.0.1","dir": "down","id": "01","r_data": [{"name": "DO1"}],"w_data": [{"name": "DO1","value": "1"}]}}
DO1¿ØÖÆÎüºÏ³É¹¦
DIÉϱ¨£º
Ìí¼Ó¶©ÔÄÖ÷Ì⣬¶©ÔÄÉÏM100µÄÉϱ¨Ö÷Ìâ
MQTTX»á°´ÕÕÉÏÃæÔÚ±ßÔµ¼ÆË㹦ÄÜÖÐÉèÖõÄJOSNÄ£°å½ÓÊÕµ½DI״̬µÄÊý¾Ý¡£
±àдÈË£ºÒü´ÔÐÀ ±àдÈÕÆÚ£º2024-06-20
ÉóºËÈË£ºÒü´ÔÐÀ ÉóºËÈÕÆÚ£º2024-06-20
¶©Õý°æ±¾£ºV1.0 ¶©ÕýÄÚÈÝ£º³õ¸å