AM1001 - Humidity sensor and temperature sensor
- Item no: F23108235
- Weight: 0,02 kg
- Packing dimensions: 6.2 cm x 3.8 cm x 1.8 cm (L x W x H)
AM1001 - Humidity sensor and temperature sensor, compatible with Arduino
Overview:
- Humidity range: approx. 20-80% (+/- 5%)
- Voltage: 5V (4.75V - 5.25V) VDC
- Output voltage: 0.60 - 2.70V
- Operating voltage: 4.75V - 5.25V DC
- Measuring range: 20-90% relative humidity
- Accuracy humidity: +/- 5% RH at 25°C
- Temperature accuracy: +/- 0.5°C at 25°C
- NTC: 10KOhm (25°C)
- Assignment: red=VCC, yellow=humidity, white=temperature, black=GND (C42)
Example of use
A) Components
Arduino (e.g. Arduino Uno)
AM1001 Sensor
Resistor (10k Ohm)
Connection cable (jumper wire)
Step-by-step instructions:
B) Wiring
Connect the AM1001 sensor to the Arduino as follows
AM1001 VCC --> Arduino 5V
AM1001 GND --> Arduino GND
AM1001 DATA --> Arduino digital pin (e.g. Pin 2)
AM1001 SCK --> Arduino digital pin (e.g. Pin 3)
AM1001 SDA --> Arduino digital pin (e.g. Pin 4)
A resistor (10k Ohm) is recommended between VCC and DATA to stabilize the data pin.
C) Add library
Download the required Arduino library for the AM1001 sensor and add it to your Arduino IDE project. You can use the "AM1001" or "AM1001_Lib" library.
D) Write code
This is a sample code to read the temperature and humidity from the AM1001 sensor
#include
AM1001 am1001;
void setup() {
Serial.begin(9600);
am1001.begin(); // Initialisiere den AM1001Sensor
}
void loop() {
float temperature = am1001.readTemperature();
float humidity = am1001.readHumidity();
Serial.print("Temperatur: ");
Serial.print(temperature);
Serial.println(" °C");
Serial.print("Luftfeuchtigkeit: ");
Serial.print(humidity);
Serial.println(" %");
delay(2000); // Warte 2 Sekunden
}
Upload the code to your Arduino and open the serial monitor. The temperature and humidity values from the sensor are now displayed.