Sensors are where projects meet the real world — and where most wiring mistakes happen. These guides cover the popular modules (BME280, MPU6050, DHT22, ultrasonic, and dozens more) with pinouts, working code for Arduino, ESP32, and Pi, plus the calibration tricks that turn noisy readings into trustworthy data. All the featured sensors ship pre-soldered below.
Shop the parts used in these tutorials
BME280 Pre-Soldered Temperature, Pressure & Humidity Sensor for Arduino & Raspberry Pi
$10.99
MPU6050 Pre-Soldered IMU Accelerometer Sensor 2-Pack for Arduino
$10.99
DHT22 Temperature & Humidity Sensor for Arduino & Raspberry Pi
$8.00
HC-SR04 Ultrasonic Distance Sensor Module 4-Pin for Arduino & Raspberry Pi
$4.49Build an Arduino Digital Scale with a 5kg Load Cell and HX711 Amplifier
Turn a 5kg bar load cell and an HX711 amplifier into an accurate Arduino weighing scale: mount the cell correctly, wire the...
Arduino Nano + ACS712: Measure AC/DC Current Up to 30A
Build an Arduino Nano + ACS712 current sensor meter to measure AC/DC current up to 30A, with zero-offset calibration and RMS sampling,...
Arduino Nano KY-018: Build a Light-Following Robot
Build an Arduino Nano light-following robot using two KY-018 photoresistors and an L298N for differential steering, with easy wiring and calibration from...
Arduino YF-S201 Water Flow Sensor: Measure L/min
Build an Arduino YF-S201 water flow meter to measure liters per minute and total liters for dosing, monitoring, and leak alerts with...
ESP32 HX711: Beehive Weight and Climate Dashboard
Build an ESP32 beehive monitor with HX711 weight sensing plus DS18B20 and DHT22 climate data, then view trends remotely on a Wi-Fi...
ESP32 MQ-135: Air Quality Dashboard with OLED
Build an ESP32 air quality dashboard using an MQ-135, DHT22, and SSD1306 OLED, with live readings on-screen and on a Wi-Fi web...
Arduino Nano BMP280: Stream Serial Readings
Wire a BMP280 to an Arduino Nano and stream live pressure, temperature, and altitude to the Serial Monitor using I2C and the...
Arduino Nano TCS3200: Read RGB Values in Serial
Build an Arduino Nano project with the TCS3200 color sensor to read RGB values in Serial for quick color detection and calibration,...
Arduino BH1750: Read Real Lux Over Serial
Build an Arduino Nano lux meter with the BH1750 (GY-302) sensor and read real light intensity over I2C in the Serial Monitor...
ESP32 + DHT22: Read Temperature and Humidity
Wire a DHT22 to an ESP32 and print humidity plus temperature in Celsius and Fahrenheit to the Arduino Serial Monitor. Includes wiring...
ESP32 HC-SR04: Telegram door alerts
Build an ESP32 + HC-SR04 door presence alert that sends Telegram notifications when someone stands at your door, using low-cost hardware and...
Raspberry Pi Pico + KY-037: Clap Toggle Desk Lamp
Build a clap-controlled light switch with a Raspberry Pi Pico and KY-037 sound sensor to toggle a real desk lamp via an...