ESP8266 | Relay |
GND | GND |
VIN / VUSB (Depending on the power supply) | Vcc |
D2 (GPIO 4) | IO |
ESP8266 | DS18B20 |
GND | GND |
3V3 | Vcc (PIO) |
D1 (GPIO 5) | DATA |
ESP32 | Relay |
GND | GND |
VIN | Vcc |
D22 (GPIO 22) | IO |
ESP32 | DS18B20 |
GND | GND |
3V3 | Vcc (PIO) |
D23 (GPIO 23) | DATA |