|
META TOPICPARENT |
name="WebHome" |
The Hardware
The CPU card |
|
> > | The ESP8266 CPU card has the following pinouts:
 |
| There are two different ESP32 CPU cards available for the WeMos D1 mini bus. The first card is based on an ESP-wroom-32 CPU while the second one uses the ESP-wrover-b chip.
Both cards have |
|
PIR sensor |
D4 (default) |
GPIO 2 |
GPIO 16 |
Passive Infrared Switch |
BH1750 sensor |
D1 D2 |
GPIO 5 I2C SCL GPIO 4 I2C SDA |
GPIO 22 I2C SCL GPIO 21 I2C SDA |
Ambient light sensor |
Relay |
to be configured |
|
|
Relay shield |
|
|
< < |
IR receiver IR transmitter |
D4 D3 |
|
GPIO 17 GPIO 16 |
on WROVER: connect GPIO 17 to GPIO 25 and use GPIO 25 connect GPIO 16 to GPIO 4 and use GPIO 4 |
|
> > |
IR receiver IR transmitter |
D2 D1 |
|
GPIO 21 GPIO 22 |
|
Here is a correspondence table between the Dx pin nomination and the ESP8266 and ESP32 GPIO pin numbers:
Dx |
GPIO ESP8266 |
GPIO ESP32 WROOM |
GPIO ESP32 WROVER |
A0 |
ADC 0 |
36 |
36 |
D0 |
16 |
26 |
26 |
D1 I2C SCL |
5 |
22 |
22 |
D2 I2C SDA |
4 |
21 |
21 |
D3 |
0 |
16 |
patched to 25 |
D4 |
18 |
17 |
patched to 4 |
D5 SPI clock |
14 |
18 |
18 |
D6 SPI MISO |
12 |
19 |
19 |
D7 SPI MOSI |
13 |
23 |
23 |
D8 SPI CS |
15 |
5 |
5 |
|
| -- TWiki Admin User - 2020-04-25
Comments |
|
META FILEATTACHMENT |
attachment="pushbuttonMod.png" attr="" comment="" date="1594579032" name="pushbuttonMod.png" path="pushbuttonMod.png" size="229955" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="dht11Mod.png" attr="" comment="" date="1594579032" name="dht11Mod.png" path="dht11Mod.png" size="235975" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="wroverbPinout.jpg" attr="" comment="" date="1595949586" name="wroverbPinout.jpg" path="wroverbPinout.jpg" size="53537" user="UliRaich" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="esp8266.png" attr="" comment="" date="1620288701" name="esp8266.png" path="esp8266.png" size="400213" user="UliRaich" version="1" |
|