This Demo source for Dingtian Relay Development Board
- Ethernet
- WiFi AP
- WiFi Station
- GPIO
- CAN bus
- RS485 bus
- HTTP Server
- MQTT
- RTC(PCF8563) and NTP(only 16ch and 32ch)
- Wiegand(only 16ch and 32ch)
- Dingtian Relay 2 Channel DT-R002
- Dingtian Relay 4 Channel DT-R004
- Dingtian Relay 8 Channel DT-R008
- Dingtian Relay 16 Channel DT-R016
- Dingtian Relay 32 Channel DT-R032
- Dingtian Aliexpress Store
- Dingtian Aliexpress Official Store
- Dingtian Alibaba Store
- Notice: when you order Development Board,please leave a message to the seller "I need development board, thanks"
- PHY JL1101 is compatible with RTL8201F only ID different,driver link
- Espressif DOC ESP-IDF Get Started shows how to install ESP-IDF
- this demo base on ESP-IDF V4.3.1
- folder "esp-idf-dt-patch" is dingtian patch for ESP-IDF
- please copy "esp-idf-dt-patch/components" to ESP-IDF "components"
- if you ESP-IDF is not V4.3.1,you need modify "esp_eth_phy.h" and "CMakeLists.txt" by manual
folder "esp_link_driver" have three driver
- CH34X_linux
- CH34X_MAC
- CH34X_windows
git clone https://github.com/dtlzp/relay_dev_demo.git relay_dev_demo
cd relay_dev_demo
git pull
- "make.bat" default COM port is "COM17",you need change to you COM port
- edit "common/channel.h" for 16ch
//#define DT_2CH 1
//#define DT_4CH 1
//#define DT_8CH 1
#define DT_16CH 1
//#define DT_32CH 1
- compile "gpio" demo
cd relay_dev_demo
cd gpio
make.bat a
make.bat fm