Skip to content

Commit

Permalink
Add ethernet explanation (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
miky2k authored Aug 8, 2024
1 parent bdc7ee0 commit 89b1ea0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _templates/dingtian_DT-R008
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ And changes are reported to DINGTIAN_CHG topic:
```shell
21:46:50.665 MQT: stat/dingtian1/DINGTIAN_CHG = {"Time":"2022-10-29T21:46:50+02:00","DINGTIAN_CHG":{"IN1":0,"IN2":0,"IN3":0,"IN4":0,"IN5":0,"IN6":0,"IN7":0,"IN8":0}}
```
### Ethernet
To use ethernet JL1101 You must set
GPIO12 ETH-Power
GPIO18 ETH-MDIO
GPIO23 ETH-MDC

and command: EthType 7 (JL1101)

### Note
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.
Expand Down

0 comments on commit 89b1ea0

Please sign in to comment.