need help to measure ac voltage and current

Status
Not open for further replies.

eng_mahmoud87

Newbie level 6
Joined
Jun 8, 2007
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,371
i need to measure ac current and voltage by microcontroller PIC16f877 (A/D) but this A/D can measure until 5v so i need circuit to make scale between 5 v and 24 v and thanks alot
 

Hi eng_mahmoud87,

This is very simple, u can use a simple resistors divider to measure the voltage .
Concerning the current, u will have to measure it by measuring the voltage across a resistor and manage to do the math with your soft.

Hope this helps,
regards,
Hassen.
 

Good app note from Zetex might give you some ideas.

Code:
http://www.zetex.com/3.0/appnotes/apps/an39.pdf
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…