Page 1 of 1

proximity inductive npn no

Posted: Sat Jan 18, 2025 7:00 am
by Hans21
Is this correct?

Re: proximity inductive npn no

Posted: Sun Jan 19, 2025 11:35 am
by joglz8
There are some issues.

1) There is no common voltage between the esp32 and the 24V circuit, so the esp is floating.

2) The proxes will apply too much voltage to the GPIO. Once you have a common voltage reference you then need to divide the prox output voltage down to esp input levels.

Re: proximity inductive npn no

Posted: Sun Jan 19, 2025 5:04 pm
by MicroController
The second sensor's connections are messed up.

Re: proximity inductive npn no

Posted: Sun Jan 19, 2025 5:12 pm
by MicroController
joglz8 wrote:
Sun Jan 19, 2025 11:35 am
1) There is no common voltage between the esp32 and the 24V circuit, so the esp is floating.
Nope. IN- and OUT- of the LM2596 are directly connected.
2) The proxes will apply too much voltage to the GPIO. Once you have a common voltage reference you then need to divide the prox output voltage down to esp input levels.
Nope. The SIG output is passive (open collector (NPN) towards VO).