This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dis chargeing the capacitor in LPC2138 c plus plus

simulating in c plus plus. to discharge a 200uF/450v Electrolytic cap at the output takes longer time to discharge when we switch OFF the mains in No load / no lamp condition. .

Switching on the mains ( with PB1 ) while Cap is discharging gives high voltage spike and also giving hissing noise which may damage our speaker.

Ckt charges cap at 450v .

i need v.strng suggestion on this.