Hi, I want to use this ADC function on a PIR sensor. This sensor is simple, it works with 5v but when detects a motion it going down to 0v or 1v, I want to put up a led when this motion is detected. How can I do this? Please help me. Thanks.
P.S. I don't know what to use or what is better...the ADC or Low Volt Detect function. Please help me.
bungee-
Joined: 27 Jun 2007 Posts: 206
Posted: Thu Nov 12, 2009 11:37 am
Ok first things first. You didn't provide us with information what PIC you are using, the code you done so far and the compiler version that you are using.
Reading ADC is relatively simple. But for your purposes you could use comparator, if you just want to detect when voltage from sensor is below or above some level.
And the last thing ... why do you need to open two topics for the same question?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum