ESP32 Blynk IoT Project with Fan Dimmer & Bluetooth @FreeTimeActive
Make ESP32 Blynk IoT + Bluetooth + IR Remote + Manual Switch control relays with Fan Dimmer circuit explained with Circuit and Source Code
In this ESP32 project, I have explained how to make a practical IoT-based home automation system with a fan dimmer using ESP32 Blynk IoT and Bluetooth.
With this ESP32 project, you can also control appliances, and fan speed without internet from Bluetooth app, IR remote, and manual switches.
The ESP32 will automatically connect with the Blynk IoT cloud if the WiFi is available. Then you can control the lights and fan speed from anywhere in the world through the internet and monitor the real-time feedback in Blynk IoT App.
I have used all the FREE tools for this ESP32 project using Blynk IoT.
So if you follow all the steps, you can easily make this home automation system with ESP32 and Blynk app.
The circuit is very simple, I have used D23, D22, D21 & D19 GPIO to control the 4-channel relay module.
GPIO D13, D12, D14 & D27 are connected with switches, and GPIO D33, D32, D15 & D4 are connected with a 4-step selector switch to control the relay
module manually.
I have used the INPUT_PULLUP function in Arduino IDE instead of using the pull-up resistors with each push button.
As per the source code, when the control pins of the relay module receive a LOW signal the relay will turn on and the relay will turn off for the HIGH signal in the control pin.
The TX pin of the Bluetooth or BLE module is connected to the RX2 (GPIO16) pin of ESP32 for serial communication.
**I have not used the inbuilt Bluetooth of ESP32 as the total size of the sketch is bigger that ESP32 flash memory.
I have used a 5V 5Amp mobile charger to supply the circuit.
Please take proper safety precautions while connecting the AC appliances.