TEMPERATURE & HUMIDITY
SENSORS
Sensor Uses Python Library
Measures temperature &
DHT11 / DHT22 Adafruit_DHT
humidity
Measures temperature &
BMP180 / BMP280 Adafruit_BMP
pressure
High-precision
DS18B20 w1thermsensor
temperature sensor
MOTION & PROXIMITY
SENSORS
Sensor Uses Python Library
PIR Sensor (HC-SR501) Detects human motion gpiozero
Ultrasonic Sensor (HC- Measures distance using
RPi.GPIO or gpiozero
SR04) sound waves
Object detection (e.g., line-
IR Sensor RPi.GPIO
following robots)
LIGHT & VISION SENSORS
Sensor Uses Python Library
LDR (Light Dependent Detects light intensity
RPi.GPIO
Resistor)
Camera Module (Pi Image processing, face
cv2 (OpenCV)
Camera, OpenCV) detection
GAS & AIR QUALITY
SENSORS
Sensor Uses Python Library
Detects gases (CO2, smoke,
MQ-2 / MQ-135 RPi.GPIO
alcohol, etc.)
Measures air quality &
BME680 Adafruit_BME680
VOCs
GPS & NAVIGATION SENSORS
Sensor Uses Python Library
GPS Module (Neo-6M,
Location tracking gpsd
Ublox)
Measures orientation,
IMU (MPU6050, BNO055) mpu6050
acceleration
PRESSURE & FORCE
SENSORS
Sensor Uses Python Library
FSR (Force-Sensitive
Measures force & pressure RPi.GPIO
Resistor)
Weight measurement
Load Cell + HX711 HX711
(scale)