I am about to configure a wESP32 (https://wesp32.com/) to connect it to the RG-9 rain sensor Rain Gauge Model RG-9 |. The wESP32 features a ESP32-WROOM-32E board.
I cant select this specific board within ESPHome.
question 1: which device type should I choose within ESPHome, the generic ESP32 or ESP32-C3?
I need the following pins on the wESP32: UART RX GPIO33/ UART TX GPIO39
Which pins would it be on the generic ESP32-device? I guess its GPIO1 and GPIO3.
on the other hand I have to enable the ethernet-component which is on GPIO16 and GPIO17.
# for board rev.7 and up
appreciate any help, I spent hours of research and am not really sure with the pinout and want to avoid any damage to the ESP or the rain-sensor.
all the best
No it is exactly as it says in the diagram, gpio13 and gpio12
And the setup for ethernet is described here
thanks for the quick reply. do you mean GPIO12 and GPIO13 on the wESP32?
that seems logical, I was not sure if I may have to adapt the GPIO Pins because on the ESP32 WROOM pinout GPIO12 and GPIO13 are no UART pins.
you can decide which pins are UART, I2C, SPI, PWM, etc – you just need to assign them in the code. This is possible due to the ESP32 chip’s multiplexing feature.
From ESP32 Pinout Reference: Which GPIO pins should you use? | Random Nerd Tutorials