I did never implement it myself, but I consider this AN from STM very detailed and good design with all the rationale in place: http://www.st.com/stonline/products/literature/an/8313.pdf 2006/10/25, Wouter van Ooijen : > > > Wouter said - > > > "The other problem with this type of circuit is the voltage on the > > mains plug after uplugging..." > > > A suitably-rated bleeder resistor would fix that > > True, but the circuit as shown does not have that resistor, and the text > that goes with it admits that another resistor is needed. Two key > components missing in a circuit that has how many - 10 components? That > does not exactly raise my confidence in the engineering behind the part > of the circuit that is shown. > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Ariel Rocholl Madrid, Spain -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist