0% found this document useful (0 votes)
16 views

libraries used in python

The document provides a list of various sensors categorized by their types, including temperature & humidity, motion & proximity, light & vision, gas & air quality, GPS & navigation, and pressure & force sensors. Each sensor is accompanied by its uses and the corresponding Python library for interfacing. This serves as a reference for selecting sensors and their programming libraries for projects.

Uploaded by

Yogesh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

libraries used in python

The document provides a list of various sensors categorized by their types, including temperature & humidity, motion & proximity, light & vision, gas & air quality, GPS & navigation, and pressure & force sensors. Each sensor is accompanied by its uses and the corresponding Python library for interfacing. This serves as a reference for selecting sensors and their programming libraries for projects.

Uploaded by

Yogesh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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)

You might also like