Voltage & Current mesiurement with 16F877a

Status
Not open for further replies.

Foldesa

Junior Member level 1
Joined
Dec 29, 2004
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
176
Hi !

Do you have any idea of how to messiure DC voltage (20volts-5volt) and current (~15 volt 0-25 amper) with pic 16F877a, even with external circuit(s).

Thanx

András
 

Well, the 877 has A/D converters so it's not that difficult. All you have to do is convert whatever you want to measure to a suitable voltage range (0-5V usually).

To measure 0-20V simply divide the voltage using two resistors.
To measure current, use a shunt resistor (something like 0.01ohm, perhaps even less), and amplify the voltage over this resistor using an opamp.
 

To mesure voltage, use 877's ADC with a divider using 2 resistors ( Uout must be Uin/4 )

To mesure current, use a low impedance shunt and comparator ( TLV3701 is very fine and tou must obtain this one for free ), you must amplify the signal, or use different voltage references, since U = R*I

Regards,

Manu
 

Hi

I will try them.

Thanx.
 

Can I measure the line voltage by 16F877A.

I want to measure 230 VAC 50HZ.

please suggest me a circuit.
thanks
Anupam
 

**broken link removed**

Look at this datasheet it may be useful for u

AN521-İnterfacing AC power Lines
 

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…