Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Zero Cross Detector circuit and program using AVR?

Status
Not open for further replies.

fauzan

Newbie level 3
Joined
Sep 4, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,306
how to make a zero crossing detector circuit using atmega8535? does require a certain program?
I have read the application note, there is written that needed checking program (loops), whether the program really needed?
 

Hi,
It depends on the zero cross detector circuit. Of course, you need to write code to detect zero cross, but the amount of code to be written depends on the detector circuit being used.

Have you decided which circuit to use? eg. You could use something like this:
**broken link removed**
or something from **broken link removed**

There are tons of circuits available, both isolated and non-isolated.

Using any of the above circuits, you would require to sense a logic change of state to detect zero crossing. You could use interrupts which would make the sensing better and likely to not be missed.

Use the external interrupts module and INT0, INT1 or INT2.

Hope this helps.
Tahmid.
 
  • Like
Reactions: fauzan

    V

    Points: 2
    Helpful Answer Positive Rating

    fauzan

    Points: 2
    Helpful Answer Positive Rating
thank's for your help... do you have any example source about zero cross code in C/C++?
 

hi tehmid

i used this zero croosing detector for voltage, it is accurate,but i need zero cross detection for load current.. if i use CT then it have two terminals, but this circuit have three terminals.. how i can use it.please help me
 

kashif_zealot; said:
but i need zero cross detection for load current.. if i use CT then it have two terminals, but this circuit have three terminals.. how i can use it.
I didn't get what you are trying to achieve.
 

i want to detect zero crossing of millivolt sinusoidal signal
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top