WT32-ETH01 Ethernet
The following setup is related to the WT32-ETH01. I switched to the WT32-ETH01 due to poor Wi-Fi. The limitation with the WT32-ETH01 is the lack of usable GPIOs.
To flash the WT32-WTH01, you will need a USB-TTL adapter. Connect RX and TX to your TTL. It is also important that when you want to enter bootloader mode with the WT32, you must short GPIO0 to GND or the unit will not flash. This must be removed again in order for the device to boot.
The WT32 has both
WT32-ETH01 | Usage |
GPIO4 | SCL (I2C) |
GPIO2 | SDA (I2C) |
GPIO12 | Wind Speed |
GPIO15 | Rain Sensor |
GPIO14 | Status LED |
The following diagram outlines the full PIN reference for the WT32-ETH)1
EN | GPIO1 – System Reserved – TXD |
GND | GPIO3 – System Reserved – RXD |
3V3 | GPIO0 – Must be left floating to boot. Must be pulled low to flash. |
EN | GND |
ADC1 (Channel 4) – GPIO32 | GPIO39 – ADC1 (Channel 3) (Input Only) |
ADC1 (channel 5) – GPIO33 | GPIO36 – ADC1 (Channel 0) (Input Only) |
GPIO5 | GPIO15 – ADC2 (Channel 3) – Used for Rain Sensor |
GPIO17 | GPIO14 – ADC2 (Channel 6) – Used for Status LED |
GND | GPIO12 – Must be left floating to boot. – Used for Wind Speed |
3V3 | GPIO35 – ADC1 (Channel 7) (Input Only) – Used for UV Sensor |
GND | GPIO4 – ADC2 (Channel 0) – Used for SCL |
5V | GPIO2 – Must be left floating to flash. – Used for SDA |
LINK | GND |
Wiring Diagrams
Entities
These are the entities that should now show up in Home Assistant.
Dashboard Cards
type: custom:windrose-card
data_period:
hours_to_show: 24
max_width: 400
refresh_interval: 300
windspeed_bar_location: bottom
windspeed_bar_full: true
wind_direction_entity:
entity: sensor.weather_station_wind_direction
direction_unit: degrees
use_statistics: false
direction_compensation: 0
windspeed_entities:
- entity: sensor.weather_station_friendly_name_wind_speed_km_h
name: ''
speed_unit: auto
use_statistics: false
output_speed_unit: mps
speed_range_beaufort: true
windrose_draw_north_offset: 0
cardinal_direction_letters: NESW
matching_strategy: direction-first
center_calm_percentage: true
colors:
rose_direction_letters: white
rose_percentages: black
bar_unit_name: white
bar_name: white
bar_unit_values: white
bar_percentages: black
type: custom:compass-card
indicator_sensors:
- sensor: sensor.weather_station_wind_direction
value_sensors:
- sensor: sensor.weather_station_friendly_name_wind_speed_km_h
sun-card
type: custom:horizon-card