🪔 Diwali Break: Orders placed now will ship from 25th November 2026. Place your order today — we'll get it to you right after we're back!
Project Hub /IoT & Connected Devices/Smart Home & Building Automation/Temperature Based Fan Speed Controller using ESP8266 and Arduino IDE
Temperature Based Fan Speed Controller using ESP8266 and Arduino IDE
Advanced
ESP8266
₹500 – ₹1,500
6 – 12 Hours
Partial Kit

Temperature Based Fan Speed Controller using ESP8266 and Arduino IDE

An IoT-enabled smart fan speed controller utilizing a dual-microcontroller architecture (ESP8266 and PIC12F675) to achieve noise-free phase angle AC motor control based on temperature.

Originally published on CircuitDigest
View original tutorial
10

Parts You'll Need

This project is sourced from another site, not written by us — this list is our best match of their components against what we stock, not a verified bill of materials. Always check the original blog (linked above) for the actual parts list before buying.

This list includes a generic resistor set as a placeholder — it is not matched to the exact value or part number this circuit needs. The correct one is specified on the original source page linked above; check it before buying.

We don't carry yet: PIC Microcontroller
Diodes (1N4007 / 1N4148 / Schottky / Zener)
Optocoupler (PC817 / 4N35)
Solid State Relay / Triac / Dimmer
Transistors (BC547 / 2N2222 / TIP / MOSFET)
Capacitors
Custom PCB / PCB Fab

Browse all components

How It Works

Why Build This

Design and implement an IoT-enabled home automation device that integrates wireless web control with local microcontroller logic.
Gain hands-on engineering experience with AC mains phase-angle dimming, TRIAC switching, and optical isolation techniques for motor speed regulation.
Develop a dual-microcontroller embedded system utilizing both the ESP8266 Wi-Fi ecosystem and a PIC microcontroller programmed via the XC8 compiler.

Real-World Application

Automated home climate control and energy-efficient smart ceiling fan regulation via web interface.

Skills You'll Learn

AC mains phase-angle control
TRIAC and optocoupler circuit design
IoT web interface integration
dual-microcontroller communication
PCB design for mixed high-voltage and low-voltage circuits
power supply conversion using Hi-Link modules

Safety Precautions

Working with 220V AC mains power and TRIAC dimming circuits presents a severe electric shock hazard. Ensure the circuit is completely disconnected from mains power before handling or programming.

Technology Tags

IOT
WI-FI
PHASE ANGLE CONTROL
TRIAC
PWM
ADC
TEMPERATURE SENSING
EMBEDDED C
ARDUINO IDE

Frequently Asked Questions

The dual-microcontroller architecture divides labor: the ESP8266 handles Wi-Fi connectivity and web-based IoT functions, while the PIC12F675 handles local time-critical tasks such as microcontroller-based switching logic.
The circuit uses a BT136 Triac driven by an MOC3021 optocoupler to perform phase-angle control. By timing the AC waveform switching precisely, it varies the effective voltage delivered to the fan motor smoothly.
The ESP8266 component is programmed using the Arduino IDE, but the PIC12F675 microcontroller requires the XC8 compiler and a compatible PIC programmer.

Gallery

This page is part of Kitkraft's Project Hub — a curated collection of electronics & robotics projects gathered from the maker community to help students and hobbyists discover and learn to build. Kitkraft does not claim authorship of the original project, and makes no representation as to the accuracy, completeness or safety of third-party source material. The summary and "How It Works" explanation above are AI-generated, rewritten with reference to the original tutorial — not a reproduction of it. Full credit and a direct link to the original source are provided above. If you're the original creator and have a concern about how your work is represented here, please contact us and we'll address it promptly.

Kitkraft Project Hub — curated from the maker community, credited at the source.
PRJ-00598