Sensor Guides
Pinout diagrams, specs, wiring tables, and working code for every common sensor — across Arduino, ESP32, and Raspberry Pi.
44 published · 0 coming soon
Motion

A3144
Digital hall-effect switch for RPM counting and proximity.

HC SR501
Passive infrared motion sensor with adjustable sensitivity and time delay — ideal for security projects.
KY 040
Clickable rotary encoder with integrated push-button — perfect for menu navigation and volume control.
MPU-6050
The standard 6-axis IMU for balancing robots, drones, and orientation tracking — cheap and well-supported.
RCWL 0516
Microwave radar motion sensor that detects movement through walls, glass, and plastic enclosures.
Reed Switch
Simple, reliable open/close detection for DIY alarms.
TTP223
Touch-sensitive pad for replacing mechanical buttons — perfect for clean, sealed enclosures.
Electrical / Current
IMU / Accelerometer
Temperature & Humidity
AHT10
A tiny I2C sensor that packs temperature and humidity sensing into the smallest footprint possible.

DHT11
The classic beginner temperature and humidity sensor — cheap, factory-calibrated and supported on every board.

DHT22
The accurate upgrade over the DHT11 — decimal readings, −40 to 80 °C and the full 0–100 % humidity range, with the same wiring.
DS18B20
1-Wire waterproof probe for liquids, soil, and outdoor use.
SHT31
Lab-grade Sensirion sensor for precision climate logging.
Light
BH1750
I2C lux sensor that outputs calibrated light readings — no ADC or calibration required.
Flame Sensor
Infrared flame detector for early fire-alert projects.
LDR (Photoresistor)
The simplest way to make something react to darkness or bright light.
TSL2561
Dual-photodiode lux sensor with good accuracy across mixed lighting conditions.
Pressure & Altitude
BME280
Combined pressure, humidity, and temperature sensing — the go-to all-in-one environmental sensor.
BMP180
Barometric pressure and temperature sensor with excellent library support — a weather station staple.
BMP280
Precise barometric pressure and temperature sensing over I2C or SPI — ideal for weather stations.
MS5611
High-precision altimeter sensor used in drones and GPS units.
Identification / RFID
proximity
Distance
HC-SR04
The most reliable ultrasonic distance sensor — measure 2cm to 4m with just two GPIO pins.
JSN SR04T
Waterproof ultrasonic sensor for tank level measurement and outdoor robotics.
US 100
HC-SR04 alternative with temperature compensation and optional UART mode for better consistency.
VL53L0X
Laser ToF sensor with millimeter accuracy up to 2m.
Weight / Load Cell
Input / Touch
health
Gas & Air Quality
MQ 2
Detects LPG, smoke, and combustible gases — the standard gas sensor for safety projects.
MQ 3
Alcohol vapor sensor for breathalyzer-style projects and safety applications.
MQ 7
Dedicated CO sensor for indoor safety monitors and air-quality projects.

MQ-135
Low-cost analog air-quality sensor for ammonia, NOx, benzene, alcohol, smoke and CO₂ — a relative pollution indicator, not a ppm meter.

