Base Shield
The seeedstudio base shield can be plugged on top of the microcontroller board to easy the connection of sensors and actuators.
Be carreful about the pinout. The grove board uses the Arduino pin numbers while the ESP32-S2 uses different numbers. In your code, you must use the ESP-32 numbers. See the table below mapping pin numbers of the two boards.
The following picture shows the mapping on a drawing of the Grove board. Grove pin numbers are in the bigger text. Metro ones are in the small font size. Red denotes pins that are used by the Arduino motor shield.
Grove Board | Metro ESP32-S2 Board | |
---|---|---|
A0 to A5 | Identical | |
D2 | 7 | |
D3 | 8 | |
D4 | 9 | |
D5 | 10 | |
D6 | 11 | |
D7 | 12 | |
D8 | 13 | |
D9 | 14 | |
D10 | 15 | |
D11 | 16 | |
D12 | 21 | |
I2C SDA | 33 | Multiple Grove Connectors |
I2C SCL | 34 | Multiple Grove Connectors |
D13 | 42 | Internal LED |
- | 45 | Neopixel |