Introduction: ESP32 Internet & Manual Control HomeAutomation With Real Time Feedback Using Reyax MQTT Cloud.

About: electronics ,arduino,iot,diy,raspberry pi,gsm,esp32 etc

In this post we will learn how to make our own homeautomation system using our own MQTT cloud broker.

Step 1: Introduction

In this homeautomation System , we are able to control our home-appliances by an smartphone and also we can control it with manual switches and monitor the real time status on the smartphone.

This project will work from anywhere in the world, because this is a cloud based MQTT broker.

Step 2: Reyax MQTT Cloud Broker.

For making of this homeautomation project, Iam going to use Reyax RYC1001 MQTT Iot cloud plateform. Which you can easily purchase from amazon.com.

Step 3: App Configuration

To control the homeappliances through smartphone, we also need a MQTT Client in our smartphone, for that we will use iotonoff mobile appliaction, this app is available for both Android as well as for IOS ; You can easily download it from APP Store or from playstore.

Step 4: Components Required.

1.ESP32

2.Highlink AC to DC Convertor(HLK-PM01)

3.Relay (5volt)

4.BC 547 NPN transistor.

5.IN4007 Diode.

6.Resistor (1 & 10 kohm)

7.Two Pin terminal connector.

8.Coustom Designed PCB.

Step 5: Designing the PCB,

To design the circuit and PCB, we used EasyEDA which is a browser based software to design PCBs.

Designing the circuit works like in any other circuit software tool, you place some components and you wire them together. Then, you assign each component to a footprint.

Having the parts assigned, place each component. When you’re happy with the layout, make all the connections and route your PCB.

Save your project and export the Gerber files.

Step 6: 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.

Step 7: 1. Download the Gerber Files

1. Download the Gerber files – click here to download the .zip file.

2. Go to jlcpcb website and Click on Quote Now button.

Step 8: Gerber File Uoload.

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.

Step 9: PCB Details.

jlcpcb can grab all the PCB details and automatically fills them for you.

To place the order, click on “SAVE TO CART” button.

Step 10: Shipping Method.

Now select the shipping method , the one you prefer and has cost efficient.

Step 11: Discount Coupon

Before finalizing your order you can use the promotional code JLC-REBE to get a discount and then click pay.

Step 12: Connection of Bulb & Switches.

Connect all the bulb and switches as shown in the schematic.

Step 13: Code

Download the code and modify the necessary details, and upload the code to your ESP32 after selecting right board and COM port.

Step 14: Video Tutorial.

Thank you for reading!!