View previous topic :: View next topic |
Author |
Message |
edybahia
Joined: 03 Jan 2012 Posts: 3
|
zero detector |
Posted: Tue Jan 03, 2012 9:49 am |
|
|
Good Morning Folks, I apologize because I do not speak English, so I am using the google translator to help :-)
Need to develop software to detect the passage of zero for a load control via PWM, someone could help me, I need to develop it as an academic, I have some knowledge in PIC
Then if someone has developed something like that and be able to help, I will be grateful. |
|
|
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Tue Jan 03, 2012 3:12 pm |
|
|
This Microchip application note explains the how and why of a very simple zero crossing detector.
http://ww1.microchip.com/downloads/en/AppNotes/00521c.pdf
Some people will add many layers of protection, but if you want an academic understanding of what is required this app note explains the fundamentals in two pages. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
edybahia
Joined: 03 Jan 2012 Posts: 3
|
|
Posted: Sat Jan 07, 2012 4:35 pm |
|
|
Hello friend, I managed to make the zero detector code. Someone could help me adjust the PWM of the same ? |
|
|
|