A project for a Wemos D1 Mini to read 16 switch states wit a muxer, set 16 relais (also with a muxer) and send commands to a HDMI switch via serial. All controlled trough nodered over MQTT.
Pin | Comment |
---|---|
D1-D4 | adress relais mux |
D0 | send relais data pin |
D5-D8 | address switch mux |
A0 | read switch data pin |
Tx, Rx | Serial data to HDMI switch with level shifter |
Do make it discoverable, it publishes its VERSION
to this topic.
This topic is subscribed and switches on the relais 0-15. To switch the relais on, send 1
to switch it off send 0
.
This topic is subscribed and forwards all recieved strings to the serial port for the Aten HDMI switch. The commands can be found here: https://assets.aten.com/product/manual/vs0801h_w-2017-02-06.pdf