In this article we going to make a home-automation system in which we control heavy load appliances like AC, Geyser, washing machines from the android smartphone.
And for making of this home automation system we don't required any IOT platform like BLYNK, ESP-RAIN-MAKER.
Here We uses the inbuilt Bluetooth feature of esp32. So in this way we can easily connect the smartphones application to the ESP32 via Bluetooth, and we can easily control the appliances from the app.
This Home-automation system is very useful for those people who lived in rural areas, or don't have internet connection, and we all know very well, automating the devices using IOT platforms like blynk and esp-rainmaker, we do require internet connection.
So, people who live in those areas, there they don't have internet access, for those people, this home-automation is very useful.
They can automate their appliances from this PCB.
The only drawback of this home-automation is that we can only control the appliances from the local area network.
In this home-automation system we can easily control the appliances from the android smartphone application.
And apart from this app we can also control it through the manual switch buttons.
Like we usually do.
So here we can easily control the appliances from the smartphone application as well from the manual switch buttons.
Apart from this PCB I have other home-automation PCBs.
These PCBs are fully tested and works very well These PCBs are best for any kind of home-automation.
PCB Design.This is the Schematic of PCBs. If you want Your own custom designed PCBs, Then you can download this schematic.
After making the Schematic, Convert it into PCB, Arrange and place all the components in desirable places, Once the layout is ready route the wiring and complete the design of PCB.
After The completion of PCB design, You need to download three files which will required during PCB order. These files are
BOM, Gerber and CPL that is pick and place file.
Ordering the PCBs at JLCPCB.This project is sponsored by JLCPCB. JLCPCB is a full feature Printed Circuit Board manufacturing service.
Turn your DIY breadboard circuits into professional PCBs– get 10 boards for approximately $5 + shipping (which will vary depending on your country).
Once you have your Gerber files, you can order the PCB. Follow the next steps.
1. Download the Gerber files –click here to download the.zip file.
2. Go to JLCPCB website and Click on Quote Now button under PCB assembly.
3.Upload the Gerber file you downloaded in the last step. Upload the.zip file or you can also drag and drop the Gerber files.
After uploading the zip file, you’ll see a success message at the bottom if the file is successfully uploaded. You can review the PCB in the Gerber viewer to make sure everything is good.
JLCPCB can grab all the PCB details and automatically fills them for you.
Select the PCB quantity and color masking of PCB by your self. I am selecting white color.
Scroll down below and select for PCB assembly.
Here you have to select on which Side you want to PCB assembly top side or bottom side or on both side. In my case I want only on top sides. After that click on confirm button.
For PCB assembly we need two more files, One is BOM that is bill of material and the second one is CPL that is pick and place file, Upload these two files one by one.
After that click on next button.
All the components were shown here that are to be assembled.
In case if you want to not assemble any particular component then you can de-select that components.
After checking all the components click on next button.
Here you will see a computer version of components placement which seems not accurate. This is only for reference purpose.
Now click on save to cart to complete your order.
After seven days, PCBs arrived at my place. As usual the quality of PCB is very premium, and the Components are soldered very well.
Traces are perfect, silkscreen is fine, Green color PCB masking looks very beautiful and PCBs look pretty professional.
Code.
To upload the code into ESP32 chip I will use esp32 development board, Connect the PCB to esp32 board as per this Circuit diagram.
Download this code and open it in Arduino ide.
Before you upload the code you need to make some changes in the code., first of all you need to add the esp32 boards in your Arduino IDE.
And also you need to add this ace button Library in your Arduino IDE to run this code.
For this go to tools then manage libraries, a popup will come, In the search box type ace- button,
Install the first library that has come, after installing the library close the Window.
One little change if you want you could change, Bluetooth device name,
The name we give here will be name of the Bluetooth device, and this will appear when we pair esp32 with our smartphone.
Now Upload this code after selecting right board and com port.
Android App Configuration.I have made this custom android app from kodular.
Click here to download the APK file of this app.
ESP32 Bluetooth Pairing.Download APK file of this app and install this app in your android smartphone.
After installing the app, Open Bluetooth Settings of your phone and click on pair new device...a Bluetooth device with the same name that we mention in the code will appear.
Now tap on this device and click on pair to pair the ESP32 with our smartphone.
Now tap on this device and click on pair to pair the ESP32 with our smartphone.
Bluetooth is connected message shown, Which means our smartphone is now connected with the ESP32 via Bluetooth.
Connection of bulb & Switches.Make the connection of all the bulb and switches as per the schematic diagram shown below.
Now we able to control the Devices from the android smartphone app as well as from the manual switch buttons.
Using this 30Amp Home-automation PCB you can easily automate your heavy load appliances.
Now our home-automation project is ready, this project is very useful for those areas where internet connection is not able.
This is the best home-automation system for local area.
Video Tutorial is also available on my YouTube channel, if you want you check out.
Comments
Please log in or sign up to comment.