
Available from:
Aliexpress.com
Manufacturer:
Dingtian-tech.com
Install method:
USB to Serial
GPIO # | Component |
---|---|
GPIO00 | User |
GPIO01 | ModBr Tx |
GPIO02 | User |
GPIO03 | ModBr Rx |
GPIO04 | User |
GPIO05 | User |
GPIO09 | User |
GPIO10 | User |
GPIO12 | User |
GPIO13 | Dingtian SDI |
GPIO14 | Dingtian CLK 4 |
GPIO15 | Dingtian RCK |
GPIO16 | Dingtian Q7 |
GPIO17 | User |
GPIO18 | User |
GPIO19 | User |
GPIO20 | None |
GPIO21 | User |
GPIO22 | User |
GPIO23 | User |
GPIO24 | None |
GPIO25 | User |
GPIO26 | User |
GPIO27 | User |
GPIO6 | None |
GPIO7 | None |
GPIO8 | None |
GPIO11 | None |
GPIO32 | Dingtian PL |
GPIO33 | ModBr Tx Ena |
GPIO34 | User |
GPIO35 | User |
GPIO36 | User |
GPIO37 | None |
GPIO38 | None |
GPIO39 | User |
Warning
When ordering this board ask for relay board with test firmware, otherwise the ESP32 will be locked.
Dingtian relay boards are ESP32 based boards with 8, 16, 24 or 32 relays and inputs. Relays are driven through x595 shift registers and inputs are read from x165 shift registers Because the design is using some GPIO for both ‘595 and ‘165, those are not independent and could not be managed through the existing Shift595 driver
This driver is not included in any official Tasmota build. You must compile your own build by adding the following line in your user_config_override.h
:
The driver define 5 News GPIOs (from here):
The CLK GPIO supports index 1 to 4 to specify the number of shift registers:
- 1 : 8 relays/inputs boards
- 2 : 16 relays/inputs boards
- 3 : 24 relays/inputs boards (not really existing)
- 4 : 32 relays/inputs boards
Example for the 8 relay board:
WebGUI:
Inputs state are reported through SENSOR message at teleperiod like for PCF8574/MCP230xx port extenders:
And changes are reported to DINGTIAN_CHG topic:
The driver is limited to ESP32 as the Dingtian boards only use ESP32, however if needed the limit could be removed in order to use the same principle on a ESP8266 custom board.
See https://github.com/arendst/Tasmota/pull/17032 for more info.