Component guide · Beginner · 5 min read
Arduino Sensor Shields and Grove Base Shields

Sensor Shield V5, Mega Sensor Shield, Nano IO Shields, DFRobot Gravity IO V7.1, Seeed Base Shield V2, Grove Mega Shield, Grove Base for XIAO and Photon, XIAO Expansion Board and Crowtail Nano Base
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Sensor shields turn every Arduino pin into a three-pin signal, power and ground header so sensors and servos plug straight in without a breadboard. Sensor Shield V5 and Nano IO shields use plain pin headers; DFRobot Gravity uses colour-coded Gravity connectors; Seeed base shields and the XIAO expansion board use Grove connectors. Choose the system that matches your sensor cables.
Key specs at a glance
- Pin layout
- Each I/O pin as signal, VCC, GND
- Connectors
- Pin headers, Gravity or Grove (4-pin)
- Extra ports
- I2C, UART, servo and sometimes Bluetooth or SD headers
- Power
- Separate servo power terminal on many
- Voltage switch
- 3.3V or 5V on Seeed Base Shield V2
- Boards
- Uno, Mega, Nano, XIAO, Photon, LattePanda
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Arduino Sensor Shield V5 Expansion Board₹85
Option 2Arduino Sensor Extension Plate V5₹299
Option 3Keyestudio Sensor Shield V5 for Arduino UNO R3₹249
Option 4Arduino Mega 2560 R3 Sensor Shield V2.0₹163
Option 5Keyestudio MEGA Sensor Shield V1 for Arduino₹496
Option 6Arduino Nano 328P IO Shield Breakout Adapter Board₹73
What the Arduino sensor shields, IO expansion boards and Grove base shields is
Sensor shields and Grove base shields turn Arduino pins into ready three- or four-pin connectors, so sensors and servos plug in without a breadboard.
The cheap Sensor Shield V5 is the fastest way to wire a robot: servos plug into the three-pin rows, and an external 5 to 6V supply on the servo terminal stops resets when the servos move.
Grove and Gravity shields are best in classrooms: cables only fit one way. The Seeeduino XIAO expansion board adds an OLED, RTC, buzzer, SD card and Grove ports to a XIAO. Remove the power jumper when using a separate servo supply, as marked on the board.
Arduino sensor shields, IO expansion boards and Grove base shields pinout
The pins on the Arduino sensor shields, IO expansion boards and Grove base shields and what each one does.
| Pin | Function |
|---|---|
| Uno R3 headers | D0-D13, A0-A5, power pins and the IOREF pin |
| ICSP header | SPI on 6 pins, used by many shields |
| IOREF | Tells the shield whether the board is 5V or 3.3V |
| Stacking headers | Let another shield sit on top |
| Reset button | Repeated on top of most shields |
- Uno R3 headers
- D0-D13, A0-A5, power pins and the IOREF pin
- ICSP header
- SPI on 6 pins, used by many shields
- IOREF
- Tells the shield whether the board is 5V or 3.3V
- Stacking headers
- Let another shield sit on top
- Reset button
- Repeated on top of most shields
Wiring the Arduino sensor shields, IO expansion boards and Grove base shields
Many servos on USB power cause resets. Use an external supply and connect its ground to the board ground.
| Arduino sensor shields, IO expansion boards and Grove base shields pin | Connection | Note |
|---|---|---|
| Servo | Signal, V, G row of a pin | Brown or black wire to G |
| Servo supply | External 5-6V terminal | Remove the power jumper |
| I2C sensor | I2C header or Grove I2C port | Check 3.3V or 5V |
- Servo
- Connection:
- Signal, V, G row of a pin
- Note:
- Brown or black wire to G
- Servo supply
- Connection:
- External 5-6V terminal
- Note:
- Remove the power jumper
- I2C sensor
- Connection:
- I2C header or Grove I2C port
- Note:
- Check 3.3V or 5V
Example code
The shield only reroutes pins: code is the same as with jumper wires. For Grove modules, use the library named on the module.
#include <Servo.h>
Servo s;
void setup() {
s.attach(9); // signal row of D9
}
void loop() {
for (int a = 0; a <= 180; a += 5) { s.write(a); delay(20); }
for (int a = 180; a >= 0; a -= 5) { s.write(a); delay(20); }
}Setup and tuning
feed servos from the shield's external power terminal; four or more servos overload the Arduino's 5 V regulator.
set the Seeed Base Shield switch to 5 V for an Uno and 3.3 V for 3.3 V boards and sensors.
check signal, VCC and GND order before plugging; Gravity, Grove and plain headers differ.
all I2C connectors share SDA and SCL, so each I2C device needs its own address.
use the A ports for analog sensors and D ports for digital ones.
What you need
Shop this list19 of 20 found in our store · ₹8,117
Arduino Sensor Shield V5 Expansion Board: the part this guide coversArduino Sensor Shield V5 Expansion Board₹85
Arduino Sensor Extension Plate V5: another version this guide coversArduino Sensor Extension Plate V5₹299
Keyestudio Sensor Shield V5 for Arduino UNO R3: another version this guide coversKeyestudio Sensor Shield V5 for Arduino UNO R3₹249
Arduino Mega 2560 R3 Sensor Shield V2.0: another version this guide coversArduino Mega 2560 R3 Sensor Shield V2.0₹163
Keyestudio MEGA Sensor Shield V1 for Arduino: another version this guide coversKeyestudio MEGA Sensor Shield V1 for Arduino₹496
Arduino Nano 328P IO Shield Breakout Adapter Board: another version this guide coversArduino Nano 328P IO Shield Breakout Adapter Board₹73
Arduino Nano IO Expansion Shield (328P Compatible): another version this guide coversArduino Nano IO Expansion Shield (328P Compatible)₹149
Arduino Nano IO Shield Expansion Board w/ Screw Terminals: another version this guide coversArduino Nano IO Shield Expansion Board w/ Screw Terminals₹144
Nano IO Shield V1.0 for Arduino: another version this guide coversNano IO Shield V1.0 for Arduino₹82
DFRobot Gravity: IO Expansion Shield for Arduino V7.1: another version this guide coversDFRobot Gravity: IO Expansion Shield for Arduino V7.1₹715
DFRobot Gravity IO Expansion Shield for LattePanda V1: another version this guide coversDFRobot Gravity IO Expansion Shield for LattePanda V1₹1,103
Seeed Studio Studio Base Shield V2 for Arduino Prototyping: another version this guide coversSeeed Studio Base Shield V2 for Arduino Prototyping₹459Closest match, check the specs
Seeed Studio Studio Grove Mega Shield v1.2 for Arduino Mega: another version this guide coversSeeed Studio Grove Mega Shield v1.2 for Arduino Mega₹839Closest match, check the specs
Seeed Studio Studio Grove Base Shield for Particle Photon: another version this guide coversSeeed Studio Grove Base Shield for Particle Photon₹509Closest match, check the specs
Seeed Studio Grove Base for XIAO: another version this guide coversSeeed Studio Grove Base for XIAO₹348
Seeed Studio Studio Seeeduino XIAO Expansion Board: another version this guide coversSeeed Studio Seeeduino XIAO Expansion Board₹1,599Closest match, check the specs
Elecrow Crowtail Base Board for Arduino Nano 2.0: another version this guide coversElecrow Crowtail Base Board for Arduino Nano 2.0₹257
HACK-NANO Development Board for Arduino Nano: another version this guide coversHACK-NANO Development Board for Arduino Nano₹499- Uno R3 development board: the controller used in the wiring tableFind this part
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- Arduino shields guide: how shields work.
- Proto and screw shields: for your own circuits.
- Seeed XIAO boards: boards for the XIAO expansion.
Common mistakes to avoid
- Running many servos from the Arduino's own 5 V.
- Leaving the voltage switch on 5 V with 3.3 V sensors.
- Plugging a cable in reversed, swapping power and signal.
- Putting an analog sensor in a digital-only port.
Frequently asked questions
Can I power servos from the sensor shield?
Yes, through its external power terminal. Powering several servos from the Arduino's 5 V causes resets.
Do Grove modules work on a Gravity shield?
Not directly. The connectors differ, so use an adapter cable.
Why is my sensor not working on the Grove shield?
Check the voltage switch, that it is in the right type of port, and the pin number in code.
Can I use the Grove shield with an ESP32 board?
Use the shield made for your board, such as the XIAO expansion board, at 3.3 V.
How many I2C devices can I connect?
Many, as long as each has a different address, because all I2C ports share the same bus.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

