Thanks Vasile, those were the tips I was looking for. > >> Hi Everyone, >> I just coded up some software to use the ADC on >> the F877, I was just wondering if their is anything >> I should be aware of when sampling my voltage source ? >> I am a programmer and still learning electronics, >> I have a power supply and was planning on sampling >> the voltage at the lowest current setting from 0 to 5V. >> Anything I should look out for or be aware of hardware-wise ? >> > It could work ( only once ! ) clock-wise polarity reversed...[grin] >Of course you have to respect input polarity ( +0...+5V ). An antifoul >input protection circuit ( a 5v6 zenner from ad input to gnd and 470 ohm >from ad input to your signal source is also a good thing ). >Measuring both the current and the output voltage of your supply is a >little tricky because you have only one ground input in your PIC. >But is possible. >regards, Vasile > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body