Pages: [1]   Go Down
Author Topic: Unexpected voltage drop  (Read 569 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a 100k resistor connected to pin 2 and driving it HIGH. When I connect my meter (one end to ground the other to the end of the resistor) I see 4.64V. The voltage out of pin 2 is measured as 5.09V, a difference of 0.45 Volts.

Can anyone explain this? Why am I not seeing something closer to the input voltage?
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 20
Posts: 1653
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ohms Law can explain it.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would you mind showing the steps to obtain that value. Ohms law tells me the voltage should be the same at that point.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It looks to me that my meter looks like a 1M resistor. Does that make sense?

I have pasted a  LTspiceIV netlist here that shows a 4.64V reading at the R1 and R2 connection labeled Drop.

"ExpressPCB Netlist"
"SwCAD III Version 4.13a"
1
0
0
""
""
""
"Part IDs Table"
"V1" "5.09" ""
"R1" "100k" ""
"R2" "1031111" ""

"Net Names Table"
"N001" 1
"0" 3
"Drop" 5

"Net Connections Table"
1 1 1 2
1 2 2 0
2 1 2 4
2 3 2 0
3 2 1 6
3 3 1 0
Logged

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If your voltmeter has an internal resistance of 1M it is time to get a new one and throw this one away.

Did you set the pin as an output?
Logged

• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Austin, TX
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6146
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Would you mind showing the steps to obtain that value. Ohms law tells me the voltage should be the same at that point.

You have created a voltage divider of 100k and 1M.  I calculate you should get 4.627V.  Looks like it is working exactly as expected.

Vout = (R2 / (R1 + R2)) * Vin = (1M / 1.1M) * 5.09 = 4.627

Edit: Fixed math error.
« Last Edit: December 15, 2011, 11:56:15 pm by James C4S » Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Problem solved. madworm put in words what my simulation showed. The voltmeter I am using, Radioshack 22-810 has an input impedance of 1 M OHM (DC), this explains why I am falsely seeing this drop. If the input impedance was say greater than 10Meg, which is the case with better voltmeters I would have seen what I expected, 5.09V.

Thank you everyone.
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6146
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

input impedance of 1 M OHM (DC), this explains why I am falsely seeing this drop.
The drop you are seeing isn't false. It is very real and correct.

If the input impedance was say greater than 10Meg, which is the case with better voltmeters I would have seen what I expected, 5.09V.
No, you would have seen 5.03V, not 5.09.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

0
Offline Offline
Shannon Member
****
Karma: 206
Posts: 12076
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1M ohm is a pretty poor spec for a multimeter - mine is 10M on higher voltage ranges and >100M on low voltage ranges.

Just be aware it's reading wrong on high impedance circuits...
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: