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 their customers from different industries in terms of quality, delivery, cost-effectiveness and any other demanding requests.


Hey hello friends , welcome to another article, Now-days almost everyone has smart speakers in their house like Amazon Alexa or google assistant.

I have Amazon Alexa in my house , the quality of voice assistant is amazing. You can ask anything to Alexa and Alexa will give response in no-time. Talking to Alexa is always a fun.

Apart from this we can also use Alexa to automate our home appliances.

That means we can control our home-appliances just giving voice command to Alexa.

And apart from this we can also able to control our home appliances from the manual switch buttons that we traditionally do.

And also we can control these appliances using Alexa smartphone application.

To make this project I will use my 4 node SMT smart home automation PCB.

Apart from this 4 node , I also have 8 node and 2 node home automation PCBs. These PCBs are fully tested and works very well.

These PCBs have all the safety features like ac Electrical isolation.

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 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 file or you can also drag and drop the Gerber files.

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.

After seven days, PCBs arrived at my place. As usual the quality of PCB is very premium.

And the SMT Components are soldered very well.


To upload the code in ESP32 chip I will use USB to TTL Convertor.

Connect the PCB to USB to TTL converter as per this Circuit diagram.

In case if you don't have USB to TTL convertor even then you can upload the code using ESP32 development board.

Just make the connection as per this Circuit diagram.

And rest of the process is same.

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 ESP-Alexa and 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 espalexa.

Install the first library that has come, after selecting latest version of it.

In same install the acebutton library.

In this section of code you have to enter the SSID and Password of your router or hotspot.

And here we define the total 4 devices, also we give the name of each devices.

These names...

Read more »