MrEd
Advanced Member level 4

- Joined
- Apr 26, 2001
- Messages
- 108
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- the Singularity
- Activity points
- 1,028
I made a dimmer a while back and had problems with the zero cross detection due to mains noise and got tired of it and put it on the shelf. Normally it worked fine but sometimes it could make a sudden flash (once a week). The software is minimal and reliable so I think it is the zero cross, most of the times the mains look fine but sometimes it looks really terrible with lots of noise. So I was wondering if anyone have any idea how to filter it out in a clever way without beeing to complicated. I would preffer a short IRQ spike beginning right at zero cross and no false trigger on noise around zero cross. Could come from mains communication equipment etc.
MrEd
MrEd