I know this has been beat to death with several projects but I am looking for a way to take analog readings(voltage) from a photocell and input them into a PIC which will in turn output the reading to either RS232 or USB.
I have a little experience with the 16F628a pics but I am open to some others. How would you connect the photocell to an input and how would I go about taking a reading? I mostly use Picbasic but I can look over ASM.
It doesn't have to be 100% accurate but I would like it to be able to detect and give different readings for changes in the 5% - 10% range if it makes a difference.
I have a little experience with the 16F628a pics but I am open to some others. How would you connect the photocell to an input and how would I go about taking a reading? I mostly use Picbasic but I can look over ASM.
It doesn't have to be 100% accurate but I would like it to be able to detect and give different readings for changes in the 5% - 10% range if it makes a difference.