GPIO Pinout
In this section, you will find the GPIO pinout of the ESP32 and ESP8266 boards. The GPIO pins are used to connect the Photodiode and Status LED to the ESP board of your choice.
Photodiode
How the Photodiode is connected to the ESP board of your choice.
PHOTODIODE | ESP32 | ESP8266 |
---|---|---|
A0 | NOT USING | NOT USING |
DO | D26 (GPIO26) | D7 (GPIO13) |
VCC | 3V3 | 3V3 |
GND | GND | GND |
Status LED
How the status LED is connected to the ESP board of your choice. For each measured pulse, the LED will briefly flash red and in case of no WiFi connection, the LED will continue to flash blue.
LED | ESP32 | ESP8266 |
---|---|---|
RED | D2 (GPIO2) | D4 (GPIO2) |
GREEN | D4 (GPIO4) | D2 (GPIO4) |
BLUE | D5 (GPIO5) | D1 (GPIO5) |
GND | GND | GND |