AC Fan Speed Control Using Lot
AC Fan Speed Control Using Lot
In this project, an IoT-based system is designed to control the speed of an AC fan remotely
using a microcontroller and a wireless communication module. Traditional fan speed control
relies on manual regulators or switches, which can be inefficient and inconvenient. By
integrating IoT, users can adjust the fan speed via a smartphone app or web interface from
anywhere.
This project presents an IoT-based AC fan speed control system, enabling users to regulate
fan speed remotely via a smartphone or web interface. Traditional fan speed control
mechanisms rely on manual regulators, which are less efficient and lack remote accessibility.
By integrating IoT, this system offers real-time monitoring, automation, and energy
optimization.
Additionally, the system can operate in an automatic mode, where fan speed adjusts
dynamically based on ambient temperature, reducing energy consumption and enhancing user
comfort. Security features such as AES encryption and MQTT authentication ensure
secure communication.
This smart AC fan controller is ideal for smart homes, offices, and industrial applications,
offering improved efficiency, convenience, and sustainability. Future enhancements may
include AI-based adaptive speed control, voice command integration, and solar-powered
operation.
BLOCK DIAGRAM
Block Diagram
1. Power Supply:
o Converts AC 230V to 5V DC for the microcontroller.
o Uses transformer, rectifier, voltage regulator (7805).
2. Microcontroller (ESP8266 / ESP32 / Arduino):
o Processes user input from IoT cloud or mobile app.
o Reads temperature sensor data.
o Controls TRIAC triggering for fan speed control.
3. Zero-Crossing Detector (ZCD):
o Detects AC zero crossings and synchronizes phase control timing.
o Uses Optocoupler (PC817) & LM393 comparator.
4. TRIAC & Optocoupler (MOC3021):
o Controls AC fan speed using phase angle control.
o Ensures isolation between low voltage and AC supply.
5. Temperature Sensor (DHT11 / LM35):
o Measures ambient temperature.
o Sends data to microcontroller for automatic speed adjustment.
6. Wi-Fi IoT Module:
o Communicates with cloud platforms (Blynk, Firebase, MQTT).
o Enables remote fan speed control via smartphone/web app.
7. Mobile App / Cloud Dashboard:
o Displays real-time fan speed & temperature.
o Allows users to adjust fan speed remotely.
COMPONENTS VSED
1. Microcontroller
2. Triac (BT136/BT139) & Diac (DB3)
3. Optocoupler (MOC3021)
4. Zero Crossing Detector (ZCD) using IC LM393
5. Temperature & Humidity Sensor (DHT11/DHT22 or LM35)
6. Relay Module
7. Push Buttons & LCD Display (Optional)
8. Wi-Fi Router
9. AC Fan (Ceiling/Table fan)
✅ Advantages
Allows users to control fan speed from anywhere using a smartphone or web interface.
Eliminates the need for manual fan regulators.
Uses phase angle control, reducing power wastage compared to traditional resistive
regulators.
Automatic temperature-based speed control ensures optimal fan operation, saving
electricity.
Uses opto-isolated TRIAC circuits, preventing direct contact with high-voltage AC circuits.
Provides fail-safe mechanisms, ensuring continued operation even if the Wi-Fi connection
drops.
❌ Disadvantages
3. Latency Issues
Small delays (100-200ms) can occur in speed adjustments due to cloud communication.
MQTT-based control is faster than HTTP APIs but still has minor delays.
4. Security Risks
5. Compatibility Issues
Not all AC fans support TRIAC-based control (some fans use capacitor-based speed
regulation).
Older fans may not work efficiently with phase-cutting techniques.
TRIAC components may heat up at low fan speeds, requiring heat sinks for thermal
management.
Without a snubber circuit, high inductive loads (like ceiling fans) can cause voltage spikes.