Can somebody help me to connect this sensor to a microcontroller?

Thread Starter

faludigabor

Joined Feb 26, 2023
2
Hi,

I would like to receive a signal from this sensor but I am puzzled on how would I connec this to a raspberry pi zero or an esp32 ?
I presume this needs 10+ V which neither microcontroller has.
Can you put me to direction please ?
tx,
gabor
1677429388724.png

1677429411893.png
 

Thread Starter

faludigabor

Joined Feb 26, 2023
2
Seems that version has PNP 100ma open collector output.?
If so you require at least 10vdc for the sensor itself.
Thanks !

Dont understand a single word. But I presume I need to transform 3v or 5v to 10v? Or a separate power supply ?
OR this is not compatible for ESP32 or pi zero ?

tx,
gabor
 

ElectricSpidey

Joined Dec 2, 2017
2,786
It looks to me like you need a separate supply for the sensor or use the higher voltage supply that is stepped down for the micro. (if applicable)

Then you can take the output from the sensor and couple it to the micro with a Optocoupler or relay.
 
Top