Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
As far as I understood you need to read only 5V or 0V, right? This sounds like a level conversion, and not analog to digital. A comparator could be an option. Normally comarators should have hysteresis added to avoid swinging around an input voltage. Take a look to those references, they may be helpful.varunme said:Actually, i am having a sensor, if the sensor is activated then it goes 4.5V otherwise its 5V