The SmartFan IoT project controls a CPU fan's speed using MQTT. It uses a DHT11 sensor to measure temperature and humidity, sending this data to a server via MQTT. The server sends back a JSON message with the PWM value for fan speed. The fan's speed is then adjusted, allowing efficient remote control through IoT.
Tip
I describe the project in video at below (in Turkish). Click the image to watching the video.