I'm trying to figure out how to integrate two Keyence GP M010 pressure sensors w Raspberry Pi 3 B+ to automate data collection into a CSV file.

The issue I'm having is w/ determining how the sensors digital output works (I've only ever worked w/ analog and that makes sense to me). I understand there is a selection between PNP and NPN output which I have attempted to research but still do not fully understand. I have seen other digital sensors that more clearly define the output as being a binary number which can be easily translated to the decimal value of the sensor reading.

Here is a link to the specs of the sensor I am talking about (GP M010):

Keyence GP M010 Digital Pressure Sensor Specs

I'd greatly appreciate if someone could help explain to me like I am 5.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.