This question already has an answer here:
- GPIO Voltage tolerance for input 1 answer
I have a device that is running on a Pi Zero W. I have another device that outputs 3.5 volts from a pin and I would like to use the Pi to detect if the devices is on or off.
Is there a way to send that voltage to the pi so that it could be read like a switch from the GPIO? So that if the voltage is applied, it reads 1 and when no voltage is applied it reads 0?