The article is being published in collaboration with JLCPCB. It is one of the most experienced PCB manufacturers with
more than a decade in the field of PCB prototype and fabrication, they are committed to meeting the needs of our
customers from different industries in terms of quality, delivery, cost-effectiveness and any other demanding requests.


Size of this PCB is very small due to SMT components and it will easily fits inside your electrical switch board.

This PCB has inbuilt OTA button, that is, you can update the code wirelessly over the air.

There is two Onboard Led's which you could use according to your need like testing your code or something else.

In my case I have  used as WIFI indicator that is if WIFI connection is available then both the Led's will glow else only single led will glow.

We can give  input to control our devices via Manual switch button. this features is useful when there is no internet is available. 
So we can control our appliances manually as well as through internet from anywhere in this world.

and we can also monitor the real time status of appliances in the app either it is ON or OFF.

This PCB is compatible for all the smart speakers available in the market like Amazons Alexa , google home and Apples SIRI.

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.

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. 

3.Upload the gerber file you downloaded in the last step. Upload 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.

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

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

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


To flash the code into ESP32 chip, I will use ESP32 development board.

Make the connections according to above schematic.

Click here to Download Code, Schematic & PCB files.

Circuit Diagram for connection of bulb and switches.

Connect all the switches and bulb  as shown in above figure.

Video Tutorial.