Pages: [1]   Go Down
 Author Topic: Noob question about current  (Read 334 times) 0 Members and 1 Guest are viewing this topic.
Fort Collins, CO
Offline
Newbie
Karma: 0
Posts: 6
 « on: December 29, 2012, 12:38:21 pm » Bigger Smaller Reset

Hello all, this is my first post, although I've searched and lurked the forum for a while. My electronics experience is very rusty and rudimentary, so I'm going to ask some very dumb questions. Please feel free to mock.

I'm trying to understand current by experimenting with my Arduino Uno and a digital multimeter, and there are a couple of things I don't understand:

1) If I switch my meter to A/mA and connect it to the 5V or 3.3V power pins on the Uno, I get constantly fluctuating numbers - so fast that I couldn't even tell you where the decimal point is. Is this because the multimeter is varying the drawn current to remove its own internal resistance from the equation? If I include a resistor in series, it behaves more like I expect: a 270-ohm resistor causes my meter to show 18.5mA on the 5V pin and 12.2mA on the 3.3V pin. From a straight equation standpoint, I=V/R with no resistor in series would yield I=5/0=undefined. But that can't possibly be true in the real world - can it?

(edit: the spec sheet says the 3.3V pin carries a current of 50mA, which doesn't clear up my mysterious current readings at all)

2) The spec sheet on the Uno says that the digital output pins generate 5V at 40mA. But if I write a simple sketch that sets the pin (I'm using #7, but it shouldn't matter) HIGH, my multimeter reads 5V at like 87mA. What gives? Technically, I'm setting it high for 10 seconds, then setting it low for 10 seconds in a loop. The multimeter readings vary between 87mA and approx 0.15mA.

As you may have guessed, I'm still having trouble wrapping my head around current vs voltage, and how it all works together in a circuit.

Thanks...
 « Last Edit: December 30, 2012, 12:01:49 am by Coding Badly » Logged

Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19015
I don't think you connected the grounds, Dave.
 « Reply #1 on: December 29, 2012, 12:42:00 pm » Bigger Smaller Reset

If you connect a current meter between ground and a supply, you're effectively presenting a short across the supply.
Don't do it.

Measure current in series with the circuit.
 Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

0
Online
Tesla Member
Karma: 50
Posts: 6538
Arduino rocks
 « Reply #2 on: December 29, 2012, 01:12:59 pm » Bigger Smaller Reset

Quote
As you may have guessed, I'm still having trouble wrapping my head around current vs voltage, and how it all works together in a circuit.

A good place to start.

 Logged

Why I like my 2005 rio yellow Honda S2000 with the top down, and more!
put in key search words,
use site or domain:  http://arduino.cc/forum
or in a google search box put key words site:http://arduino.cc/forum

Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2237
 « Reply #3 on: December 29, 2012, 01:21:40 pm » Bigger Smaller Reset

I get constantly fluctuating numbers

You're short-circuiting the Arduino.

I get constantly fluctuating numbers

I assume the power supply (USB?) is trying to save itself from death-by-short-circuit.

 Logged

the land of sun+snow
Offline
Edison Member
Karma: 80
Posts: 2112
 « Reply #4 on: December 29, 2012, 01:43:28 pm » Bigger Smaller Reset

@Desade, when you edit a msg, you're supposed to go to your original msg, and click
on "modify" rather than start a new thread, or whatever you did to create 2 of the
 Logged

Murphy's Corollary: the "real" problem is usually what they don't tell you about, which leads to endless second-guessing. m

SW Scotland
Offline
Edison Member
Karma: 6
Posts: 1053
Arduino rocks
 « Reply #5 on: December 29, 2012, 02:24:32 pm » Bigger Smaller Reset

I suspect you have your test meter, when in mA/A mode connected between the +5v and ground.   This places a virtual short across the supply.

Basically current flows "along" a wire so when measuring current you need to place the meter into the current flow.  You achieve this by connecting your supply voltage + wire to the meter + terminal and you connect the meter - terminal to device + terminal.

Voltage is measured by setting the meter to volts and connecting meter + terminal to the point where yo wish to measure and the meter - to the device ground point.
 Logged

Offline
Newbie
Karma: 0
Posts: 5
My robots solder for me!
 « Reply #6 on: December 29, 2012, 04:41:17 pm » Bigger Smaller Reset

The reason your A/mA (amperage) reading was fluctuating is because when a multimeter is set in A/mA mode, its internal resistance is almost zero. So when you attach it to the Arduino's power supply, it shorts it, and the Arduino struggles to supply enough power. This causes it to fluctuate.

As for learning about the basics of electronics, here are some good books to look at:

Getting Started in Electronics by Forest Mims, III
http://www.amazon.com/Getting-Started-Electronics-Forrest-Mims/dp/0945053282/ref=sr_1_1?s=books&ie=UTF8&qid=1356817141&sr=1-1&keywords=getting+started+in+electronics+by+forrest+m.+mims+iii

Make: Electronics by Makemagezine
http://www.amazon.com/Make-Electronics-Discovery-Charles-Platt/dp/0596153740/ref=sr_1_1?s=books&ie=UTF8&qid=1356817190&sr=1-1&keywords=make%3A+electronics
 Logged

Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
 « Reply #7 on: December 29, 2012, 06:57:22 pm » Bigger Smaller Reset

Yes, you are misusing your meter and subjecting it and your arduino to damage. Current measurements are always made with the meter's current leads in series with an existing circuit, never in parallel. You meter leads when in the current mode are a portable short circuit waiting to cause much damage and drama if not properly in series with an exiting circuit. Voltage on the other hand is measured in parallel across components or power supplies + and - terminals and as the meter in voltage mode is a very high input impedance can cause no harm.

So you need to study and understand the differences in series and parallel circuits.

Lefty
 Logged

Offline
Newbie
Karma: 0
Posts: 3
 « Reply #8 on: December 29, 2012, 06:59:21 pm » Bigger Smaller Reset

You may want to read this How to use a Multimeter

How to measure current is about half way down the page, and how to change the fuse in your meter is just below that.

If you were measuring anything other than power from a USB port, your fuse would be blown at this time (unless you had it in the 10Amp range)

 Logged

Fort Collins, CO
Offline
Newbie
Karma: 0
Posts: 6
 « Reply #9 on: December 30, 2012, 10:47:48 pm » Bigger Smaller Reset

So... based on your responses, sounds like I was shorting the circuit, then. Thanks for the info, I will avoid doing this in the future, and I'll definitely check out those book suggestions.

 Logged

 Pages: [1]   Go Up