In light of this discussion, I have two questions. (1) How would I get a PIC to interface with the A/C (120V) line frequency? (2) If I have A/C anyway, is there a inexpensive way (i.e. less than the cost of a AC/DC adapter) to convert A/C to a DC in the PIC operating voltage? -Edwin ______________________________ Reply Separator _________________________________ Don't overlook line frequency as a good long term standard. Utilities keep an awfully good average frequency so that there aren't any problems with synchronization in the power grid. -- Tom