Professional Documents
Culture Documents
Voltage, Current, Resistance, and Ohm's Law - Learn - Sparkfun
Voltage, Current, Resistance, and Ohm's Law - Learn - Sparkfun
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
Voltage,Current,Resistance,andOhm'sLaw
CONTRIBUTORS:
FAVORITE
CTAYLOR
16
ElectricityBasics
Whenbeginningtoexploretheworldofelectricityandelectronics,itisvitaltostartbyunderstandingthe
basicsofvoltage,current,andresistance.Thesearethethreebasicbuildingblocksrequiredto
manipulateandutilizeelectricity.Atfirst,theseconceptscanbedifficulttounderstandbecausewe
cannotseethem.Onecannotseewiththenakedeyetheenergyflowingthroughawireorthevoltage
ofabatterysittingonatable.Eventhelightninginthesky,whilevisible,isnottrulytheenergyexchange
happeningfromthecloudstotheearth,butareactionintheairtotheenergypassingthroughit.Inorder
todetectthisenergytransfer,wemustusemeasurementtoolssuchasmultimeters,spectrumanalyzers,
andoscilloscopestovisualizewhatishappeningwiththechargeinasystem.Fearnot,however,this
tutorialwillgiveyouthebasicunderstandingofvoltage,current,andresistanceandhowthethreerelate
toeachother.
GeorgOhm
CoveredinthisTutorial
Howelectricalchargerelatestovoltage,current,andresistance.
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
1/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
Whatvoltage,current,andresistanceare.
WhatOhmsLawisandhowtouseittounderstandelectricity.
Asimpleexperimenttodemonstratetheseconcepts.
SuggestedReading
WhatisElectricity
WhatisaCircuit?
ElectricalCharge
Electricityisthemovementofelectrons.Electronscreatecharge,whichwecanharnesstodowork.Your
lightbulb,yourstereo,yourphone,etc.,areallharnessingthemovementoftheelectronsinordertodo
work.Theyalloperateusingthesamebasicpowersource:themovementofelectrons.
Thethreebasicprinciplesforthistutorialcanbeexplainedusingelectrons,ormorespecifically,the
chargetheycreate:
Voltageisthedifferenceinchargebetweentwopoints.
Currentistherateatwhichchargeisflowing.
Resistanceisamaterialstendencytoresisttheflowofcharge(current).
So,whenwetalkaboutthesevalues,werereallydescribingthemovementofcharge,andthus,the
behaviorofelectrons.Acircuitisaclosedloopthatallowschargetomovefromoneplacetoanother.
Componentsinthecircuitallowustocontrolthischargeanduseittodowork.
GeorgOhmwasaBavarianscientistwhostudiedelectricity.Ohmstartsbydescribingaunitofresistance
thatisdefinedbycurrentandvoltage.So,letsstartwithvoltageandgofromthere.
Voltage
Wedefinevoltageastheamountofpotentialenergybetweentwopointsonacircuit.Onepointhas
morechargethananother.Thisdifferenceinchargebetweenthetwopointsiscalledvoltage.Itis
measuredinvolts,which,technically,isthepotentialenergydifferencebetweentwopointsthatwill
impartonejouleofenergypercoulombofchargethatpassesthroughit(dontpanicifthismakesno
sense,allwillbeexplained).TheunitvoltisnamedaftertheItalianphysicistAlessandroVoltawho
inventedwhatisconsideredthefirstchemicalbattery.Voltageisrepresentedinequationsand
schematicsbytheletterV.
Whendescribingvoltage,current,andresistance,acommonanalogyisawatertank.Inthisanalogy,
chargeisrepresentedbythewateramount,voltageisrepresentedbythewaterpressure,andcurrentis
representedbythewaterflow.Soforthisanalogy,remember:
Water=Charge
Pressure=Voltage
Flow=Current
Considerawatertankatacertainheightabovetheground.Atthebottomofthistankthereisahose.
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
2/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
Thepressureattheendofthehosecanrepresentvoltage.Thewaterinthetankrepresentscharge.
Themorewaterinthetank,thehigherthecharge,themorepressureismeasuredattheendofthe
hose.
Wecanthinkofthistankasabattery,aplacewherewestoreacertainamountofenergyandthen
releaseit.Ifwedrainourtankacertainamount,thepressurecreatedattheendofthehosegoesdown.
Wecanthinkofthisasdecreasingvoltage,likewhenaflashlightgetsdimmerasthebatteriesrundown.
Thereisalsoadecreaseintheamountofwaterthatwillflowthroughthehose.Lesspressuremeans
lesswaterisflowing,whichbringsustocurrent.
Current
Wecanthinkoftheamountofwaterflowingthroughthehosefromthetankascurrent.Thehigherthe
pressure,thehighertheflow,andviceversa.Withwater,wewouldmeasurethevolumeofthewater
flowingthroughthehoseoveracertainperiodoftime.Withelectricity,wemeasuretheamountofcharge
flowingthroughthecircuitoveraperiodoftime.CurrentismeasuredinAmperes(usuallyjustreferredto
asAmps).Anampereisdefinedas6.241*1018electrons(1Coulomb)persecondpassingthrougha
pointinacircuit.AmpsarerepresentedinequationsbytheletterI.
Letssaynowthatwehavetwotanks,eachwithahosecomingfromthebottom.Eachtankhasthe
exactsameamountofwater,butthehoseononetankisnarrowerthanthehoseontheother.
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
3/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
Wemeasurethesameamountofpressureattheendofeitherhose,butwhenthewaterbeginstoflow,
theflowrateofthewaterinthetankwiththenarrowerhosewillbelessthantheflowrateofthewaterin
thetankwiththewiderhose.Inelectricalterms,thecurrentthroughthenarrowerhoseislessthanthe
currentthroughthewiderhose.Ifwewanttheflowtobethesamethroughbothhoses,wehaveto
increasetheamountofwater(charge)inthetankwiththenarrowerhose.
Thisincreasesthepressure(voltage)attheendofthenarrowerhose,pushingmorewaterthroughthe
tank.Thisisanalogoustoanincreaseinvoltagethatcausesanincreaseincurrent.
Nowwerestartingtoseetherelationshipbetweenvoltageandcurrent.Butthereisathirdfactortobe
consideredhere:thewidthofthehose.Inthisanalogy,thewidthofthehoseistheresistance.This
meansweneedtoaddanothertermtoourmodel:
Water=Charge(measuredinCoulombs)
Pressure=Voltage(measuredinVolts)
Flow=Current(measuredinAmperes,orAmpsforshort)
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
4/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
HoseWidth=Resistance
Resistance
Consideragainourtwowatertanks,onewithanarrowpipeandonewithawidepipe.
Itstandstoreasonthatwecantfitasmuchvolumethroughanarrowpipethanawideroneatthesame
pressure.Thisisresistance.Thenarrowpiperesiststheflowofwaterthroughiteventhoughthewater
isatthesamepressureasthetankwiththewiderpipe.
Inelectricalterms,thisisrepresentedbytwocircuitswithequalvoltagesanddifferentresistances.The
circuitwiththehigherresistancewillallowlesschargetoflow,meaningthecircuitwithhigherresistance
haslesscurrentflowingthroughit.
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
5/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
ThisbringsusbacktoGeorgOhm.Ohmdefinestheunitofresistanceof1Ohmastheresistance
betweentwopointsinaconductorwheretheapplicationof1voltwillpush1ampere,or6.2411018
electrons.Thisvalueisusuallyrepresentedinschematicswiththegreekletter,whichiscalled
omega,andpronouncedohm.
Ohm'sLaw
Combiningtheelementsofvoltage,current,andresistance,Ohmdevelopedtheformula:
Where
V=Voltageinvolts
I=Currentinamps
R=Resistanceinohms
ThisiscalledOhmslaw.Letssay,forexample,thatwehaveacircuitwiththepotentialof1volt,a
currentof1amp,andresistanceof1ohm.UsingOhmsLawwecansay:
Letssaythisrepresentsourtankwithawidehose.Theamountofwaterinthetankisdefinedas1volt
andthenarrowness(resistancetoflow)ofthehoseisdefinedas1ohm.UsingOhmsLaw,thisgives
usaflow(current)of1amp.
Usingthisanalogy,letsnowlookatthetankwiththenarrowhose.Becausethehoseisnarrower,its
resistancetoflowishigher.Letsdefinethisresistanceas2ohms.Theamountofwaterinthetankisthe
sameastheothertank,so,usingOhmsLaw,ourequationforthetankwiththenarrowhoseis
Butwhatisthecurrent?Becausetheresistanceisgreater,andthevoltageisthesame,thisgivesusa
currentvalueof0.5amps:
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
6/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
So,thecurrentislowerinthetankwithhigherresistance.Nowwecanseethatifweknowtwoofthe
valuesforOhmslaw,wecansolveforthethird.Letsdemonstratethiswithanexperiment.
AnOhm'sLawExperiment
Forthisexperiment,wewanttousea9voltbatterytopoweranLED.LEDsarefragileandcanonly
haveacertainamountofcurrentflowingthroughthembeforetheyburnout.Inthedocumentationforan
LED,therewillalwaysbeacurrentrating.Thisisthemaximumamountofcurrentthatcanflowthrough
theparticularLEDbeforeitburnsout.
MaterialsRequired
Inordertoperformtheexperimentslistedattheendofthetutorial,youwillneed:
Amultimeter
A9Voltbattery
A560Ohmresistor(orthenextclosestvalue)
AnLED
NOTE:LEDsarewhatsknownasanonohmicdevices.Thismeansthattheequationforthecurrent
flowingthroughtheLEDitselfisnotassimpleasV=IR.TheLEDintroducessomethingcalledavoltage
dropintothecircuit,thuschangingtheamountofcurrentrunningthroughit.However,inthis
experimentwearesimplytryingtoprotecttheLEDfromovercurrent,sowewillneglectthecurrent
characteristicsoftheLEDandchoosetheresistorvalueusingOhmsLawinordertobesurethatthe
currentthroughtheLEDissafelyunder20mA.
Forthisexample,wehavea9voltbatteryandaredLEDwithacurrentratingof20milliamps,or0.020
amps.Tobesafe,wedrathernotdrivetheLEDatitsmaximumcurrentbutratheritssuggestedcurrent,
whichislistedonitsdatasheetas18mA,or0.018amps.IfwesimplyconnecttheLEDdirectlytothe
battery,thevaluesforOhmslawlooklikethis:
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
7/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
therefore:
andsincewehavenoresistanceyet:
Dividingbyzerogivesusinfinitecurrent!Well,notinfiniteinpractice,butasmuchcurrentasthebattery
candeliver.SincewedoNOTwantthatmuchcurrentflowingthroughourLED,weregoingtoneeda
resistor.Ourcircuitshouldlooklikethis:
WecanuseOhmsLawintheexactsamewaytodeterminethereistorvaluethatwillgiveusthedesired
currentvalue:
therefore:
plugginginourvalues:
solvingforresistance:
So,weneedaresistorvalueofaround500ohmstokeepthecurrentthroughtheLEDunderthe
maximumcurrentrating.
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
8/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
500ohmsisnotacommonvalueforofftheshelfresistors,sothisdeviceusesa560ohmresistorinits
place.Hereswhatourdevicelookslikeallputtogether.
Success!WevechosenaresistorvaluethatishighenoughtokeepthecurrentthroughtheLEDbelow
itsmaximumrating,butlowenoughthatthecurrentissufficienttokeeptheLEDniceandbright.
ThisLED/currentlimitingresistorexampleisacommonoccurrenceinhobbyelectronics.Youlloften
needtouseOhmsLawtochangetheamountofcurrentflowingthroughthecircuit.Anotherexampleof
thisimplementationisseenintheLilyPadLEDboards.
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
9/10
3/15/2016
Voltage,Current,Resistance,andOhm'sLawlearn.sparkfun.com
Withthissetup,insteadofhavingtochoosetheresistorfortheLED,theresistorisalreadyonboardwith
theLEDsothecurrentlimitingisaccomplishedwithouthavingtoaddaresistorbyhand.
ResourcesandGoingFurther
Nowyoushouldunderstandtheconceptsofvoltage,current,resistance,andhowthethreearerelated.
Congratulations!Themajorityofequationsandlawsforanalyzingcircuitscanbederiveddirectlyfrom
OhmsLaw.Byknowingthissimplelaw,youunderstandtheconceptthatisthebasisfortheanalysisof
anyelectricalcircuit!
Theseconceptsarejustthetipoftheiceberg.Ifyourelookingtostudyfurtherintomorecomplex
applicationsofOhmsLawandthedesignofelectricalcircuits,besuretocheckoutthefollowing
tutorials.
Seriesvs.ParallelCircuits
ElectricPower
Analogvs.DigitalCircuits
Resistors
LEDs
HowtoUseaMultimeter
https://learn.sparkfun.com/tutorials/voltagecurrentresistanceandohmslaw
10/10