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

Next revision
Previous revision
tg_mqtt_relay_4_may_2019 [2019/05/14 14:21] – created 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 2 on|'1'|+|Rly 1 off|'1'
 +|Rly 2 on|'2'| 
 +|Rly 2 off|'3'
 +|Rly 3 on|'4'
 +|Rly 3 off|'5'
 +|Rly 4 on|'6'
 +|Rly 4 off|'7'
 + 
 +{{::mqtt_h2o_relay_board.jpg|}}
tg_mqtt_relay_4_may_2019.1557858115.txt.gz · Last modified: 2019/05/14 14:21 by 192.168.1.36