User Tools

Site Tools


tg_mqtt_relay_4_may_2019

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tg_mqtt_relay_4_may_2019 [2019/05/14 14:23] 192.168.1.36tg_mqtt_relay_4_may_2019 [2019/05/14 14:27] (current) 192.168.1.36
Line 3: Line 3:
 This project is for the KB light stand watering.  A Chinese 4 relay board is driven by a Boarduino.  The boarduino gets relay on/off commands from the ESP8266 serial line.  The ESP8266 is used as a WiFi and MQTT co-processor.  The ESP8266 attaches to the WiFi and decodes MQTT commands.  A single character is output on the serial line to the Boarduino.  The characters chosen and their function is as follows:  This project is for the KB light stand watering.  A Chinese 4 relay board is driven by a Boarduino.  The boarduino gets relay on/off commands from the ESP8266 serial line.  The ESP8266 is used as a WiFi and MQTT co-processor.  The ESP8266 attaches to the WiFi and decodes MQTT commands.  A single character is output on the serial line to the Boarduino.  The characters chosen and their function is as follows: 
  
-|CommandCharacter|+^CommandCharacter^
 |Rly 1 on|'0'| |Rly 1 on|'0'|
 |Rly 1 off|'1'| |Rly 1 off|'1'|
Line 12: Line 12:
 |Rly 4 on|'6'| |Rly 4 on|'6'|
 |Rly 4 off|'7'| |Rly 4 off|'7'|
 +
 +{{::mqtt_h2o_relay_board.jpg|}}
tg_mqtt_relay_4_may_2019.1557858199.txt.gz · Last modified: 2019/05/14 14:23 by 192.168.1.36