5V
5V
-20C to 80C
+ 37 Sensors and Modules
+ Jumper Wires
+ Breadboard
+ User Manual
Compatibility
The 37 in 1 Sensors Kit for Arduino is compatible with most Arduino boards, including the Arduino Uno, Arduino Nano, and Arduino Mega.
Applications
| The 37 in 1 Sensors Kit for Arduino is ideal for a wide range of applications, including |
IoT projects and prototypes
Robotics and automation projects
Home automation and security systems
Environmental monitoring and tracking systems
Wearable devices and accessories
Proof-of-concepts and research projects
37 in 1 Sensors Kit for Arduino DocumentationOverviewThe 37 in 1 Sensors Kit for Arduino is a comprehensive collection of sensors and modules designed to work with Arduino boards. This kit includes a wide range of sensors and modules that can be used to detect and measure various environmental and physical parameters, such as temperature, humidity, light, sound, motion, and more.Components ListThe kit includes the following sensors and modules:Temperature sensors (DS18B20, TMP36, Thermistor)
Humidity sensors (DHT11, DHT22)
Light sensors (LDR, BH1750)
Sound sensors (LM386, Mic)
Motion sensors (PIR, Vibration)
Proximity sensors (IR, Ultrasonic)
Gas sensors (MQ-2, MQ-135)
Soil moisture sensor
Water level sensor
Flame sensor
RFID module
Joystick module
I2C LCD module
Buzzer module
Relay moduleCode Examples### Example 1: Temperature Measurement using DS18B20 SensorIn this example, we'll use the DS18B20 temperature sensor to measure the temperature and display it on the Arduino Serial Monitor.```cpp
#include <OneWire.h>#define DS18B20_PIN 2 // Pin connected to DS18B20 sensorOneWire oneWire(DS18B20_PIN);
DallasTemperature sensors(&oneWire);void setup() {
Serial.begin(9600);
sensors.begin();
}void loop() {
sensors.requestTemperatures();
float tempC = sensors.getTempCByIndex(0);
Serial.print("Temperature: ");
Serial.print(tempC);
Serial.println(" C");
delay(1000);
}
```### Example 2: Motion Detection using PIR SensorIn this example, we'll use the PIR motion sensor to detect motion and trigger an LED connected to pin 13.```cpp
#define PIR_PIN 2 // Pin connected to PIR sensor
#define LED_PIN 13 // Pin connected to LEDvoid setup() {
pinMode(PIR_PIN, INPUT);
pinMode(LED_PIN, OUTPUT);
}void loop() {
int motionState = digitalRead(PIR_PIN);
if (motionState == HIGH) {
digitalWrite(LED_PIN, HIGH);
Serial.println("Motion detected!");
} else {
digitalWrite(LED_PIN, LOW);
Serial.println("No motion detected");
}
delay(1000);
}
```### Example 3: Humidity Measurement using DHT11 SensorIn this example, we'll use the DHT11 humidity sensor to measure the relative humidity and display it on the Arduino Serial Monitor.```cpp
#include <DHT.h>#define DHT11_PIN 2 // Pin connected to DHT11 sensorDHT dht(DHT11_PIN, DHT11);void setup() {
Serial.begin(9600);
dht.begin();
}void loop() {
float humidity = dht.readHumidity();
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.println(" %");
delay(2000);
}
```Additional ResourcesArduino IDE (required for compiling and uploading code to Arduino boards)
Datasheets for individual sensors and modules (available online)
Online tutorials and guides for specific sensors and modulesTips and PrecautionsMake sure to connect the sensors and modules correctly to the Arduino board.
Use the correct pin connections and ensure that the pin modes are set correctly.
Some sensors and modules may require calibration or initialization before use.
Always follow proper safety precautions when working with electronics and sensors.By using the 37 in 1 Sensors Kit for Arduino, you can explore various IoT projects and applications, including home automation, environmental monitoring, robotics, and more.