Timeline for Digital input pin voltage treshold (voltage to register 1 or 0)
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 24, 2016 at 17:16 | comment | added | Aswin P J | Consider adding a differential amplifier like LM741 or LM341 with the sensor input connected to the non-inverting terminal and the inverting input connected to a potentiometer. This is always the best arrangement that I have found that works..when it comes to light sensors. You may adjust the potentiometer to such that the op-amp produces the desired output at the desired conditions. This has also the advantage that you easily adjust the threshold if the lighting conditions change by changing the potentiometer than changing the code. | |
| Apr 24, 2016 at 8:59 | vote | accept | aaa | ||
| Apr 24, 2016 at 8:57 | answer | added | Igor Stoppa | timeline score: 1 | |
| Apr 24, 2016 at 8:43 | history | edited | Igor Stoppa | CC BY-SA 3.0 | edited body |
| Apr 24, 2016 at 8:22 | history | edited | aaa | CC BY-SA 3.0 | deleted 47 characters in body |
| Apr 24, 2016 at 6:20 | history | asked | aaa | CC BY-SA 3.0 |