Main Content

How to make a FREE IoT-based Home Automation with Google Assistant & Alexa using ESP32. (Circuit + Code)

In this ESP32 project, I have shown how to make an IoT-based Home Automation with Google Assistant & Alexa using ESP32 to control 3 home appliances with voice commands.

During the article, I have shown all the steps to make this smart home system.

This complete Home Automation system has the following features:

- Control appliances with Google Assistant
- Control appliances with Alexa
- Control appliances manually with switches.
- Monitor real-time feedback in the Google Home and Amazon Alexa App.
- You can also set Automation to control the relays automatically.
- Control home appliances manually without internet.
- For this project, I have used a FREE Sinric Pro account
- So, you can easily make this home automation project at home just by using an ESP32 and relay module. You can also use a custom-designed PCB for this project.

Required Components:
1. ESP32 DEVKIT V1
2. 4-channel SPDT 5V Relay Module
3. Manual Switches or Push Buttons
4. Alexa Echo Dot (Optional)

If you use the custom-designed PCB for this project, then please refer to the following required components list.

Required Components for the PCB
- ESP32 DEVKIT V1
- Relays 5v (SPDT) (4 no)
- BC547 Transistors (4 no)
- PC817 Optocuplors (4 no)
- 510-ohm 0.25-watt Resistor (4 no) (R1 - R4)
- 1k 0.25-watt Resistors (6 no) (R5 - R10)
- 10k 0.25-watt Resistor (1 no) (R11)
- LED 5-mm (6 no)
- 1N4007 Diodes (4 no) (D1 - D4)
- Push Buttons (4 no)
- Terminal Connectors
- 5V DC supply”

Link to article