logo elektroda
logo elektroda
X
logo elektroda

How to combine a 12v chip (touch switch) with a 3.3v chip (esp32) or a 5v ...

Primo83 1032 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20034887
    Primo83
    Level 5  
    As per the topic. I am creating a DIY home automation at my home based on a raspberry pi (Home Assistant), esp32 mcp23017 to control relays and receive simple signals. I would like everything between esp32 mcp23017 to be wired together. The problem is that I can't find nice touch switches based on cable and 5v. I have a 12v switch and it can be set to high or low, the high 12v signal doesn't really fit the mcp23017. I understand that low can't really be used in a 5v circuit either?

    I have 3 questions:
    1. how to plug this switch into my circuit?
    2. maybe there is a better solution to my problem?
    3. general question: How are popular home automation systems and more constructed since they run on 12/24v and sometimes higher since all microcontrollers run on 3.3/5v chips? Can you know of any source to read? I can't find one on google, or I'm asking the question wrong.
  • ADVERTISEMENT
  • Helpful post
    #2 20035509
    Anonymous
    Level 1  
ADVERTISEMENT