• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Tips For Building Digital Switch With ESP32 Arduino

By Abhishek Ghosh June 30, 2019 12:11 pm Updated on June 30, 2019

Tips For Building Digital Switch With ESP32 Arduino

Advertisement

There are some design considerations to increase safety while building an ESP32 Arduino based physical switch controlled by IoT project. In our earlier guide (Controlling AC Powered Appliances With ESP32 and IBM Watson IoT), we have shown the basic of how to use a pushbutton and IoT control together. The case will be using both the pushbutton and IoT control independent. Our that guide is a shortcut to avoid learning difficulties new users commonly face to control switchover Wi-Fi, Bluetooth. That easy method nicely works for building real-life touch controlled wall switch panel with additional IoT control provided the electrical and electronics part is perfectly set.

The way we have shown set up in that guide will make the relay unreliable when tried to control with the pushbutton. This is where we need the logic level shifter to convert 3.3v logic to 5v logic. Using a logic level shifter will end the puzzling situation we mentioned in that guide – it will convert 3.3V logic to that of 5V. We can use a 2N2222 NPN transistor to shift levels. The ground will be common for 5v and 3.3V. From the relay, we can connect different devices. Whenever you will have the proper circuit, on the Arduino IDE’s serial console you will get the match of present real action. You can make a thing on by tapping on mobile application and off by clicking the pushbutton. You can use ready to use logic level shifters with our shown 4 channel relay. This one consideration.

The second part is powering the ESP32. If you power the ESP32 by converting AC mains to 3.3V and 5V DC that becomes compact and cost becomes negligible to use status indicator LEDs. That is a star configuration of power supply. If you use battery then you need to replace the batteries on a regular basis plus thoughts to decrease the number of LEDs to decrease consumption comes in to question. We will suggest keeping the ESP32 powering part and relay in such a way that it does not crowd the thing, avoids short-circuit etc. If you power the ESP32 by converting AC mains to 3.3V and 5V DC then that power conversion part should be properly designed and insulated. If you use the breadboard components then consider to power the system from a 9V battery (step down it to 3.3v and 5V regulated supply). Star configuration of power supply (i.e. using same AC mains supply for ESP32 and appliances) is not exactly easy to make fool-proof than it appears. The transformer in-between makes a huge difference with the battery powered control.

Advertisement

---

Tips For Building Digital Switch With ESP32 Arduino

The third part is obvious – most these days want to use touch switches. ESP32 support touch switch, indeed Espressif has official touch dev kit (ESP32-Sense Kit). Crystal glass touch switch panels are nothing more than that basic. Many peoples researched on the topic of creating yet beautiful cheap glass touch panels :

Vim
1
2
3
4
#
https://tech.scargill.net/cheap-as-chips-touch-switch/
https://www.openhardware.io/view/412/Battery-powered-glass-touch-switch
#

Comments reveal one terrific China technology – pushbuttons behind a glass panel. I have not tested using pushbuttons behind a glass panel. Most of the great looking tempered glass panel with touch switch is from China, costs too high (and are unreliable), usually packaged our idea before us i.e. they are already Wi-Fi controlled, IoT controlled system. China sends less variety of stuff to India. I could not found just the switches with a panel.

Tagged With arduino eps32 switch case , esp32 as switch
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Tips For Building Digital Switch With ESP32 Arduino

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How to Make Mobile Charger With AA, 9V Battery (Regulated Voltage)

    Here is Easy Guide On How to Make Mobile Charger With AA, 9V Battery Which Will Supply Regulated Voltage Ensuring Recommended Stable Voltage Supply.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • ESP32 Arduino Glass Touch Button : Cheap DIY Method

    Here is How to Develop Your Own ESP32 Arduino Glass Touch Button in Cheap DIY Way and Calibrate it to the Best Result. Minimal resources needed for this project.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy