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.

ac frequency measurement with isolation

Status
Not open for further replies.

zeroskj1988

Member level 2
Joined
Jul 7, 2011
Messages
46
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,588
i want use measure the frequency of ac(normaly 50hz).since i have problem with common ground,i want to isolate the neural line. so i use a optocoupler to isolate the ac
my circuitis-------half wave rectifier---100k-1k voltage divider---then optocounpler to ccp2 ofpic16f877a. i use timer 1 to find the period. can any body spot, any problem with this logic. thanks in advance actually it is not working
 
Last edited:

choose some uc with timer interval counter like aduc

it provides a independent time counter, so that you can count the pulses uninterruptedly.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top