Raspberry Pi Sensors List: 15 Popular Sensors, What They Do & How to Connect Them

Raspberry Pi Sensors List: 15 Popular Sensors, What They Do & How to Connect Them

Disclosure: As an Amazon Associate we earn from qualifying purchases. Buying through our links costs you nothing extra.

Sensors turn a Raspberry Pi into a weather station, security system or smart-home brain. Here’s a practical Raspberry Pi sensors list: what each sensor does, how it connects, and the quickest way to test it.

Easiest way to start: a 37-in-1 sensor kit + breadboard with jumpers covers most of the sensors below. Remember: Raspberry Pi GPIO is 3.3V; 5V sensor outputs need a level shifter or voltage divider.

37-in-1 sensor module kit
Temperature, light, sound, touch, IR, joystick, buzzer, relay and more in one box: ideal for students.
Check price on Amazon

Raspberry Pi sensors list

SensorMeasuresInterfaceExample project
DHT11 / DHT22Temperature & humiditySingle GPIORoom/weather monitor
DS18B20Temperature (waterproof option)1-WireAquarium, water tank temp
BMP280 / BME280Pressure (+humidity on BME280)I2CWeather station, altimeter
HC-SR501 PIRHuman motionGPIOSecurity alarm, auto lights
HC-SR04Distance (ultrasonic)GPIO (echo needs divider)Smart dustbin, parking sensor
LDR / BH1750Light levelADC / I2CAuto night light
MQ-2 / MQ-135Smoke, gas, air qualityAnalog (via ADC)Gas leak alarm
Soil moistureSoil wetnessAnalog (via ADC)Plant watering
Sound sensorNoise levelGPIO / analogClap switch
IR receiverTV remote signalsGPIORemote-controlled projects
Reed switchDoor/window openGPIODoor alarm
MPU6050Motion, tilt (accelerometer/gyro)I2CSelf-balancing robot
RFID RC522RFID cards/tagsSPIAttendance system
Camera Module 3Images/videoCSI camera portFace recognition, CCTV
Current sensor (ACS712)Electric currentAnalog (via ADC)Energy meter
Sensor modules connected on a breadboard
Most beginner sensors plug straight into a breadboard · Photo: Unsplash

Actuators & output modules

  • Relay module: switch lamps/fans (adult supervision for mains!).
  • SG90 servo: precise movement for robot arms, locks.
  • Buzzer, LEDs, RGB LED: alerts and indicators.
  • 0.96″ OLED display: show readings without a monitor.
  • DC motors + motor driver: robot cars.

How to connect sensors to Raspberry Pi

  • Digital GPIO (PIR, button, DHT): connect VCC, GND and the signal pin; read in Python with gpiozero.
  • I2C (BMP280, BME280, OLED, MPU6050): connect SDA (GPIO2) and SCL (GPIO3); enable I2C in Raspberry Pi Configuration → Interfaces; check with i2cdetect -y 1.
  • 1-Wire (DS18B20): enable 1-Wire, then find the sensor under /sys/bus/w1/devices/.
  • Analog sensors (gas, soil, LDR): the Pi has no analog input. Use an ADC chip like the ADS1115 or MCP3008.
  • Neat wiring: a GPIO screw-terminal board avoids loose jumper wires.
Raspberry Pi GPIO header pins
GPIO pins are 3.3V, so never feed them 5V signals · Photo: Unsplash

Useful commands

CommandWhat it does
pinoutShows the GPIO pin map of your Pi
i2cdetect -y 1Lists connected I2C devices and addresses
vcgencmd measure_tempShows the Pi’s own CPU temperature
pip install gpiozero adafruit-blinkaInstalls common sensor libraries

Raspberry Pi sensors with Home Assistant

Run Home Assistant on a Pi 5 and add ESPHome sensors (built on ESP32 boards) around the house: temperature in every room, motion lights and door alerts on one dashboard. More ideas in our Raspberry Pi uses guide.

IoT sensor project on a single-board computer
Combine sensors into IoT dashboards with Home Assistant or Node-RED · Photo: Unsplash

Budget pick: cheapest Raspberry Pi boards (under ₹1,000 to ₹6,000)

All the sensors on this list work with the cheapest Raspberry Pi boards too. A Pico or Pico W reads most of them directly, and a Zero W or 3B+ is enough if you want Linux and Python.

Raspberry Pi Pico (with headers) ₹749
Cheapest Raspberry Pi. Microcontroller for LEDs, sensors and robots.
Check today’s price on Amazon
Raspberry Pi Pico W starter kit ₹1,299
Adds Wi-Fi for IoT projects; includes starter parts.
Check today’s price on Amazon
Raspberry Pi Zero W ₹2,999
Cheapest Raspberry Pi that runs Linux.
Check today’s price on Amazon
Raspberry Pi 3B+ (1GB) ₹5,499
Budget desktop board with full-size HDMI and 4 USB ports.
Check today’s price on Amazon

See every model with old vs current rupee prices: Raspberry Pi price in India 2026–2027.

Related guides

Frequently asked questions

Which sensors can be used with Raspberry Pi?

Temperature/humidity (DHT22, BME280), motion (PIR), distance (HC-SR04), gas (MQ series), light, soil moisture, RFID, accelerometers and cameras.

Can Raspberry Pi read analog sensors?

Not directly. Use an ADC such as the ADS1115 or MCP3008.

Can I connect 5V sensors to Raspberry Pi?

Power is fine, but signal outputs must be 3.3V; use a level shifter or voltage divider.

How do I check if an I2C sensor is detected?

Enable I2C and run i2cdetect -y 1 to see the device address.

Which sensor kit is best for beginners?

A 37-in-1 sensor module kit with a breadboard and jumper wires.