I am working with GPIO where I want to read a vacuum sensor's output voltage. Using a voltmeter from the output to the pi's ground, I measured the voltages.
- ON State: 21V
- OFF State: 15V I know that GPIO is designed to only receive 3.3v for input. How can I wire the pi so that it can receive the vacuum sensor's output without damaging the pi?
Here is a related link that I looked at: Connecting 15V to GPIO w/o dividing voltage
If there are any components that I have to purchase to make this work, please let me know.