#Generate an input from 24v button

1 messages · Page 1 of 1 (latest)

slow solar
#

Hi,
I'm new here 👋

I'm trying to create a panel for my pool.
I've searched for a electronic valves, leds (for valves status) and buttons (for run an automation with homeassistant).
For the valves and leds I think that teoricaly works with the info on internet.

But for the button is a different story.
I've searched a method to send a signal to esp32 when the 24v circuit of a button is closed (the button is pressed), but I can't find any way.If im right, a relay opens/closes a circuit when receive a signal from esp32. There is any way to do the opposite. Send a signal to esp32 when the 24v circuit is closed (button is pressed).
Very thanks Niks

boreal swift
#

Your question is better suited for #off-topic or #general-support than #1009602229931618347 . #1009602229931618347 is for completed projects.

#

if you can't have the buttons work on lower voltage, then you can just grab a 24V-powered relay and make it switch a 3.3V ESP32 signal for full separation

#

If you don't care about separation, another option is to just make a voltage divider and adjust resistor values so that ESP32 will receive roughly 3V when the button provides 24V on its output

wispy whale
#

I would suggest an optoisolator.