After posting this morning I was looking at the data sheet for the PIC16F84 and came to the same conclusion that the PIC16F84 doesn't have an A/D converter. However, even if I went to a pic that did have a A/D converter that still wouldn't do anything for me then? I am not sure how the A/D converter works and I am going to look into this this afternoon.
I am also having a little bit of trouble understanding your circuit schematic. From what I understand it looks like the diode goes across terminals 1 (L) and 2 (N) of the IC1. (L) I am guessing is the AC Voltage coming in through the capacitor and then into terminal 1 of the IC1. Pin 4 goes to the input pin of the microcontroller, and pin 3 goes to ground. What is the (N) or what I am guessing is pin 2 to IC1?
Thanks for the help and sorry for the confusion on my part.
Michael




Bookmarks