10 Channel Wi-Fi Switch for Smart Home

This device can help you automate your home, backyard, or whatever you want.

Step 1: Gather the Components

To build this device, you’ll need:

  1. ESP8266 x1;
  2. 4-stage ripple (binary) counter (I can suggest SN74LS93N) x1;
  3. 14-stage ripple counter (CD4020BE is the best choice) x1;
  4. Latches (SN74LS75) x6. Since each SN74LS75 consists of 4 latches, only 2 ICs are needed;
  5. LEDs x10;
  6. 470 ohm resistors x10;
  7. 10k resistor x1;
  8. 20k resistors x2;
  9. 33k resistors x2;
  10. 50k resistor x1;
  11. LM317 x1;
  12. ULN2003 x2;
  13. Relays x10;
  14. Power supply for ESP x1;
  15. Power supply for relays.

Note: You can use CD4024B Instead of CD4020BE and SN74LS93N.

Step 2: Flash ESP

You can find the code here:
https://github.com/Northstrix/10_Channel_Wi-Fi_swi…

You’ll find these two strings in the code:

const char* ssid = “Mobile Hotspot 1290”; // Your SSID (Network’s name)

const char* password = “seasidehills1234”; // Password from your network

Modify it to match your Wi-Fi credentials.

Step 3: Enter the Device’s IP Address in Any Browser

If you’re using your phone as an access point, go to the device details, look at the IP address and enter it in any browser. After you’ve entered the device’s IP address, you’ll see the web interface.

Step 4: Customize the Web Interface

Delete the highlighted string and change: 10 channel Wi-Fi switch; Channel1; Channel2; etc. For whatever you want. An example of a customized web interface is in the second screen.

Don’t forget to flash ESP.

Step 5: Check the Customized Web Interface

It should look like this. You can also play with colors or completely redesign the whole thing. It’s up to you.

Step 6: Schematic Diagram (CD4024B As a Counter)

Finally, it’s time to put all of the components together.

Step 7: Schematic Diagram (CD4020B and SN74LS93 As Counters)

I picked this one.

Source: 10 Channel Wi-Fi Switch for Smart Home


About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Scroll to Top