CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

zero detector

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
edybahia



Joined: 03 Jan 2012
Posts: 3

View user's profile Send private message

zero detector
PostPosted: Tue Jan 03, 2012 9:49 am     Reply with quote

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

View user's profile Send private message AIM Address

PostPosted: Tue Jan 03, 2012 1:09 pm     Reply with quote

why not try the SEARCH feature with this search ??

zero crossing

here is a recent Zero cross design i found elsewhere a few days ago

http://www.ccsinfo.com/forum/viewtopic.php?t=45363&highlight=zero+crossing

BTW- got code to show what you will do with the information?
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Jan 03, 2012 3:12 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Jan 07, 2012 4:35 pm     Reply with quote

Hello friend, I managed to make the zero detector code. Someone could help me adjust the PWM of the same ?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group