Raspberry Pi Temperature-Controlled Fan – Home Automation Project

Опубликовано: 23 Сентябрь 2026
на канале: Kunal Dixit
25
0

In this video, I demonstrate a simple home automation project using a Raspberry Pi, a DS18B20 temperature sensor, and a relay-controlled fan. Learn how to read real-time temperature data from the sensor and control a fan based on temperature thresholds using Python code.

Perfect for beginners interested in DIY automation, Raspberry Pi projects, or learning how to interface sensors and actuators!

What you’ll see:

Wiring the DS18B20 temperature sensor and relay to the Raspberry Pi GPIO pins

Writing Python scripts to read temperature data

Controlling a fan based on temperature readings

Troubleshooting common wiring and software issues

Tools & Components:

Raspberry Pi (any model with GPIO)

DS18B20 temperature sensor

1-Channel relay module

5V fan

Jumper wires & breadboard

Don’t forget to like, comment, and subscribe for more automation and Raspberry Pi projects!