Stufin
Home Quick Cart Profile

Arduino UNO Sensor Shield Expansion board V5

Buy Now on Stufin

Operating voltage

5V

Input voltage range

6V-12V

Dimension

68.5 mm x 53.5 mm

Weight

20g

Conclusion

The Arduino UNO Sensor Shield Expansion Board V5 is a highly versatile and feature-rich accessory board that provides a convenient and easy-to-use platform for connecting and interfacing with various sensors, modules, and peripherals. With its wide range of interfaces, power management capabilities, and prototyping area, this shield expansion board is an ideal choice for IoT prototyping, robotics, and automation projects.

Pin Configuration

  • Arduino UNO Sensor Shield Expansion Board V5 Pinout Guide
  • The Arduino UNO Sensor Shield Expansion Board V5 is a versatile board designed to simplify the connection of various sensors and modules to the Arduino UNO board. The board features a range of pins and connectors that allow users to easily connect and interface with various sensors, modules, and devices. Below is a detailed explanation of each pin on the board:
  • Digital Pins
  • 1. D0-D13: These pins are identical to the digital pins on the Arduino UNO board. They can be used as digital inputs or outputs and are compatible with 5V logic levels.
  • Connection: Directly connect to the corresponding digital pins on the Arduino UNO board.
  • 2. I2C Pins (SDA and SCL): These pins are used for I2C communication with sensors and modules.
  • Connection:
  • + SDA (Serial Data): Connect to the SDA pin on the sensor or module.
  • + SCL (Serial Clock): Connect to the SCL pin on the sensor or module.
  • Analog Pins
  • 1. A0-A5: These pins are identical to the analog input pins on the Arduino UNO board. They can be used to read analog voltage levels from sensors.
  • Connection: Directly connect to the corresponding analog input pins on the Arduino UNO board.
  • Power Pins
  • 1. VIN: This pin is used to connect an external power source (7-12V) to the board.
  • Connection: Connect to a power source (e.g., battery or wall adapter) using a suitable voltage regulator.
  • 2. 5V: This pin provides a regulated 5V output from the onboard voltage regulator.
  • Connection: Connect to devices requiring a 5V power supply.
  • 3. GND: This pin is the common ground connection for the board.
  • Connection: Connect to the GND pin on the Arduino UNO board and other devices.
  • UART Pins
  • 1. RX and TX: These pins are used for serial communication with modules and devices.
  • Connection:
  • + RX (Receive): Connect to the TX pin on the module or device.
  • + TX (Transmit): Connect to the RX pin on the module or device.
  • Other Pins and Connectors
  • 1. ICSP Header: This 6-pin header is used for programming the ATmega328P microcontroller on the Arduino UNO board.
  • Connection: Connect an ICSP programmer (e.g., USBasp) to the header.
  • 2. Analog Output Header: This 3-pin header provides access to the analog output pins (AO0-AO2) on the board.
  • Connection: Connect to devices requiring analog output signals.
  • 3. Digital Output Header: This 3-pin header provides access to the digital output pins (DO0-DO2) on the board.
  • Connection: Connect to devices requiring digital output signals.
  • 4. Buzzer: This pin is connected to a built-in buzzer on the board.
  • Connection: Connect to a buzzer module or device.
  • 5. LED Indicators: The board features several LED indicators that can be used to indicate the status of the board or connected devices.
  • When connecting pins, ensure that you:
  • Use the correct polarity and voltage levels to prevent damage to the board or connected devices.
  • Follow the datasheet and documentation for the specific sensor or module being connected.
  • Use suitable connectors, wires, and breadboards to ensure stable and secure connections.
  • By following this guide, you can successfully connect and interface with various sensors, modules, and devices using the Arduino UNO Sensor Shield Expansion Board V5.

Code Examples

Arduino UNO Sensor Shield Expansion Board V5 Documentation
Overview
The Arduino UNO Sensor Shield Expansion Board V5 is a versatile board designed to simplify the connection and implementation of various sensors and modules with the Arduino UNO board. This shield provides a convenient interface for connecting multiple sensors, eliminating the need for excessive wiring and jumper cables.
Features
Compatible with Arduino UNO R3 and compatible boards
 Supports multiple sensor interfaces, including I2C, SPI, UART, and analog
 Onboard 3.3V and 5V voltage regulators for powering sensors
 Three Grove connectors for easy connection of Grove modules
 Four-pin I2C connector for connecting I2C devices
 Onboard LEDs for power indication and debugging
Connecting the Shield
To connect the shield to your Arduino UNO board, simply stack the shield on top of the Arduino UNO board, ensuring that the pins align properly.
Code Examples
### Example 1: Reading Temperature and Humidity using a DHT11 Sensor
Connect a DHT11 temperature and humidity sensor to the shield's analog pin A0.
```c
#include <DHT.h>
#define DHT_PIN A0
#define DHT_TYPE DHT11
DHT dht(DHT_PIN, DHT_TYPE);
void setup() {
  Serial.begin(9600);
  dht.begin();
}
void loop() {
  int temperature = dht.readTemperature();
  int humidity = dht.readHumidity();
Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println("C");
Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.println("%");
delay(2000);
}
```
### Example 2: Reading Distance using an Ultrasonic Sensor (HC-SR04)
Connect an HC-SR04 ultrasonic sensor to the shield's digital pins 2 (Trig) and 3 (Echo).
```c
#define TRIG_PIN 2
#define ECHO_PIN 3
void setup() {
  Serial.begin(9600);
  pinMode(TRIG_PIN, OUTPUT);
  pinMode(ECHO_PIN, INPUT);
}
void loop() {
  int distance = getDistance();
Serial.print("Distance: ");
  Serial.print(distance);
  Serial.println(" cm");
delay(50);
}
int getDistance() {
  digitalWrite(TRIG_PIN, LOW);
  delayMicroseconds(2);
  digitalWrite(TRIG_PIN, HIGH);
  delayMicroseconds(10);
  digitalWrite(TRIG_PIN, LOW);
int duration = pulseIn(ECHO_PIN, HIGH);
  int distance = duration  0.034 / 2;
return distance;
}
```
### Example 3: Reading Accelerometer Data using an ADXL345 Module
Connect an ADXL345 accelerometer module to the shield's I2C pins (SDA and SCL).
```c
#include <Wire.h>
#include <ADXL345.h>
ADXL345 accelerometer;
void setup() {
  Serial.begin(9600);
  Wire.begin();
  accelerometer.begin();
accelerometer.setRange(ADXL345_RANGE_16G);
}
void loop() {
  int x, y, z;
accelerometer.readAccel(&x, &y, &z);
Serial.print("Accelerometer Data:");
  Serial.print(" X = ");
  Serial.print(x);
  Serial.print(" mg");
  Serial.print(" Y = ");
  Serial.print(y);
  Serial.print(" mg");
  Serial.print(" Z = ");
  Serial.print(z);
  Serial.println(" mg");
delay(50);
}
```
These examples demonstrate the versatility of the Arduino UNO Sensor Shield Expansion Board V5 and its ability to support a wide range of sensors and modules.