Chen Xiao Fan wrote: >What is the problem with this design regarding UL? Is it the problem with >the transformer? Does it need to be UL recognized or better UL listed? > > > I've decided that one of the Allegro sensors is probably the best thing to use. I should have figured, I have a couple sitting right here but I didn't think about them as I have as of now only used them for DC applications [though I realize they work just fine for AC or DC] The application is an AC load analyzer/meter including PFC metering and energy/power calculations. I'm planning on using an 18F1220 but I fear the ADC may not be fast enough to measure a signal having a bad PF [watch the current through a CFL sometime for fun] I do believe the rest of the '1220 should be plenty fast considering it runs at 40MHz and has a hardware multiply. I'm open to any comments/criticism. -- Martin Klingensmith -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist