ESP32 GPIO - DitroniX/IPEM-IoT-Power-Energy-Monitor GitHub Wiki
The IPEM ESP32 ATM90E32 ATM90E36 IoT Power Energy Monitor has an **ESP32 **on the board.
The two main ESP32 variants used on the IPEM boards are:
-
ESP32-WROOM-32E-N4
- Integral Antenna
- Wireless and Bluetooth
-
ESP32-WROOM-32UE-N4
- Ext Antenna - U.FL Socket
- Wireless and Bluetooth
The below table displays which ESP32 GPIO is used and the associated net.
Pin | GP | Function | Boot State | IPEM Net |
---|---|---|---|---|
33 | 21 | SDA | SDA | |
36 | 22 | SDA | SCL | |
14 | 12 | Low | GP12 GPIO | |
16 | 13 | ATM_IRQ0 | ||
13 | 14 | ATM_IRQ1 | ||
23 | 15 | High | LED BLUE | |
31 | 19 | MISO | MISO | |
37 | 23 | MOSI | MOSI | |
30 | 18 | SCK | SCK | |
29 | 5 | CS | High | CS |
35 | 1 | TX0 | USB_TXD | |
34 | 3 | RX0 | High | USB_RXD |
28 | 17 | TX2 | USR_GP17_TX | |
27 | 16 | RX2 | USR_GP16_RX | |
3 | Enable | High | Enable | |
25 | 0 | GP0 | High | GP0 |
24 | 2 | LED | LED RED | |
26 | 4 | ADC 2 CH0 | LED GREEN | |
12 | 27 | ADC 2 CH7 | ATM_CF1 | |
8 | 32 | ADC 1 CH4 | ATM_CF2 | |
9 | 33 | ADC 1 CH5 | ATM_CF3 | |
6 | 34 | ADC 1 CH6 | ATM_CF4 | |
7 | 35 | ADC 1 CH7 | CT4 | |
4 | 36 | VP / ADC 1 CH0 | PCA DC Supply DCV_IN | |
5 | 39 | VN / ADC 1 CH3 | NTC-10K | |
10 | 25 | DAC1 | ATM_WO | |
11 | 26 | DAC2 | User_Button |