The Grove Base Shield V2 by Seeed Studio (Manufacturer Part ID: Grove Base Shield V2) is a versatile expansion board designed for Arduino development boards. It simplifies prototyping and development by providing a seamless way to connect Grove modules, which include a wide range of sensors, actuators, and displays. The shield features multiple Grove ports, making it easy to integrate various components without the need for soldering or complex wiring.
The Grove Base Shield V2 is designed to be compatible with most Arduino boards, including the Arduino UNO, Mega, and Leonardo. Below are the key technical details:
Parameter | Specification |
---|---|
Operating Voltage | 3.3V / 5V (selectable via jumper) |
Compatible Boards | Arduino UNO, Mega, Leonardo, etc. |
Grove Ports | 16 (Digital, Analog, UART, I2C) |
Dimensions | 68.7mm x 53.3mm |
Weight | 20g |
Operating Temperature | -40°C to 85°C |
The Grove Base Shield V2 features multiple Grove ports, each with a specific function. Below is a breakdown of the ports and their pin configurations:
Port Label | Pin Mapping (Arduino) | Description |
---|---|---|
D2 | D2 | Digital I/O port |
D3 | D3 (PWM capable) | Digital I/O with PWM support |
D4 | D4 | Digital I/O port |
D5 | D5 (PWM capable) | Digital I/O with PWM support |
D6 | D6 (PWM capable) | Digital I/O with PWM support |
D7 | D7 | Digital I/O port |
D8 | D8 | Digital I/O port |
Port Label | Pin Mapping (Arduino) | Description |
---|---|---|
A0 | A0 | Analog input port |
A1 | A1 | Analog input port |
A2 | A2 | Analog input port |
A3 | A3 | Analog input port |
A4 | A4 (I2C SDA) | Analog input / I2C data line |
A5 | A5 (I2C SCL) | Analog input / I2C clock line |
Port Label | Pin Mapping (Arduino) | Description |
---|---|---|
UART | D0 (RX), D1 (TX) | Serial communication port |
I2C | A4 (SDA), A5 (SCL) | I2C communication port |
The Grove Base Shield V2 is designed to simplify the process of connecting Grove modules to an Arduino board. Follow the steps below to use the shield effectively:
Below is an example of how to use the Grove Base Shield V2 with a Grove Temperature Sensor connected to port A0:
// Include the Grove library for the temperature sensor
#include <Grove_Temperature_And_Humidity_Sensor.h>
// Define the analog pin where the sensor is connected
const int tempSensorPin = A0;
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
Serial.println("Grove Temperature Sensor Example");
}
void loop() {
// Read the analog value from the temperature sensor
int sensorValue = analogRead(tempSensorPin);
// Convert the analog value to a temperature in Celsius
float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage
float temperatureC = (voltage - 0.5) * 100.0; // Convert to Celsius
// Print the temperature to the Serial Monitor
Serial.print("Temperature: ");
Serial.print(temperatureC);
Serial.println(" °C");
// Wait for 1 second before the next reading
delay(1000);
}
No Data from Grove Module
Arduino Not Recognized by Computer
Incorrect Sensor Readings
Can I use the Grove Base Shield V2 with a Raspberry Pi?
How many Grove modules can I connect simultaneously?
Is the shield compatible with 3.3V-only Arduino boards?
By following this documentation, you can effectively use the Grove Base Shield V2 to simplify your prototyping and development process.