https://www.onsemi.com/products/interfaces/high-performance-optocouplers/specific-function-optocouplers/hcpl3700
It has a built-in bridge rectifier so can detect AC and DC up to 240V. I found it while looking for things for a home automation project. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users