proximity inductive npn no

Hans21
Posts: 1
Joined: Sat Jan 18, 2025 6:48 am

proximity inductive npn no

Postby Hans21 » Sat Jan 18, 2025 7:00 am

Is this correct?
Attachments
wiring proximity.JPG
wiring proximity.JPG (105.58 KiB) Viewed 937 times

joglz8
Posts: 21
Joined: Wed Jan 09, 2019 9:46 am

Re: proximity inductive npn no

Postby joglz8 » Sun Jan 19, 2025 11:35 am

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.
Old controls guy, SW Ontario, Canada .

MicroController
Posts: 1955
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: proximity inductive npn no

Postby MicroController » Sun Jan 19, 2025 5:04 pm

The second sensor's connections are messed up.
Last edited by MicroController on Sun Jan 19, 2025 5:12 pm, edited 1 time in total.

MicroController
Posts: 1955
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: proximity inductive npn no

Postby MicroController » Sun Jan 19, 2025 5:12 pm

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).

Who is online

Users browsing this forum: ruben.crispino and 113 guests