How to read voltage from a sensor at GPIO Pin at nRF52833 DK

Hello,

I have a motion sensor with me and it has 4 pins. VIN, GND, OUT1, OUT2. OUT 1 and OUT 2 gives output voltage of 3.3V or 0.3V depending on a motion. I want to read it on the GPIO pins of nRF52833 DK for measurement and turning ON LEDS on two different GPIO pin. 

Kindly share some resources as I am unable to get one.

Thank you so much.

-Avi

Parents Reply Children
No Data
Related