basics: introduction to circuits - iowa state...

7
EE 185 Lab Basics: Introduction to Circuits The TI Launchpad has numerous capabilities. Let’s start with the most basic usage and simply use its electrical power to make circuits. Setup and Preparation Item List TI LaunchPad MSP430G2 Breadboard M/F Jumper Wires (2) M/M Jumper Wires (2) 3-5 Resistors (Any value) An LED Banana-to-Breadboard cables (2) Preparing the breadboard 1. Connect the TI Launchpad to the computer with the USB cable. a. An LED on the LaunchPad should illuminate to signal that it is powered. 2. Using the 2 male-to-female jumper wires, connect the positive (VCC) and negative (GND) pins on the LaunchPad to the positive (red) and negative (blue) rails on the breadboard. (Figure 1) NOTE! - There are multiple VCC and GND pins on the LaunchPad; use the correct ones. Figure 1: Powering the breadboard with the TI LaunchPad

Upload: tranhanh

Post on 17-Apr-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

EE185Lab

Basics:IntroductiontoCircuitsTheTILaunchpadhasnumerouscapabilities.Let’sstartwiththemostbasicusageandsimplyuseitselectricalpowertomakecircuits.

SetupandPreparation

ItemList• TILaunchPadMSP430G2• Breadboard• M/FJumperWires(2)• M/MJumperWires(2)• 3-5Resistors(Anyvalue)• AnLED • Banana-to-Breadboardcables(2)

Preparingthebreadboard1. ConnecttheTILaunchpadtothecomputerwiththeUSBcable.

a. AnLEDontheLaunchPadshouldilluminatetosignalthatitispowered.2. Usingthe2male-to-femalejumperwires,connectthepositive(VCC)andnegative(GND)pinson

theLaunchPadtothepositive(red)andnegative(blue)railsonthebreadboard.(Figure1)NOTE!-TherearemultipleVCCandGNDpinsontheLaunchPad;usethecorrectones.

Figure1:PoweringthebreadboardwiththeTILaunchPad

Page 2: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

PreparingtheMulti-MeterAboveyourdesk,youhaveadigitalmulti-meterwhichcanbeusedtomeasureusefulquantitiesincircuits,likevoltage.Pluginyourbanana-to-breadboardcablesintothetoprightsocketsshowninFigure2.Thelocationofthevoltmeterandohmmetersettingsisalsoshown.

Figure2:Agilent34401ADigitalMulti-meter

TipsonBreadboardingThebreadboardhasapatternofmetallicrailsunderneaththesockets,whichelectricallyconnectwiresinsertedintothebreadboard.Onlycertainsocketsareconnected(Figure3).Noticethatthepowerrailsrunallthewaydownthebreadboard,contrarytotheterminalstripsinthemiddle.

Yourpowerrailsmaynotextendthefulllengthofbreadboard.Examinethered/bluelinestobesure.

Figure3:HiddenConnectionsoftheBreadboard

MeasuringVoltageTutorialIfyouhaven’tusedavoltmeterbefore,openthetutorialMeasuringVoltagewithaVoltmeteronthelabwebsite.Youmayfindthistutorialhelpfulasyouprogressthroughthislabmaterial.

Page 3: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

Circuit1:LED

Createandtestthefollowingcircuit(Figure4)withasmallvalue(around100Ω)ofR1.

Figure4:AnLEDcircuit

ThingstoConsider• NotethatthewirescomingoutoftheLEDhavedifferentlengths.Thisisdeliberate.• Tryusingthemulti-metertomeasurethevoltagedropacrosstheLED.Thenacrosstheresistor.

o Comparetothevoltagedropacrossallthecomponents(fromVCCtoGND).• YoucandeterminethecurrentflowingthroughthecircuitusingOhm’sLaw.• Anarticleaboutvoltage,current,resistance,andOhm’slawcanbefoundatthefollowinglink:

o https://learn.sparkfun.com/tutorials/voltage-current-resistance-and-ohms-law

Page 4: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

Circuit2:TwoResistors

Createandtestthiscircuit(Figure5)withdifferentvaluesforR1andR2.

Figure5:Tworesistorsinseries

ThingstoConsider• Thecolorsontheresistorsrepresentthevalueoftheresistance.• Whenaresistorisnotinthecircuit,youcanmeasureitsvalueofresistancebyconnectingthe

ohmmeterleadstobothendsoftheresistor.(Thebreadboardcouldhelpwiththis).• Oncethecircuitisassembled,thevoltagedropacrossaresistorcanbefoundbyconnectingthe

voltmeterleadstobothendsoftheresistor.• YoucandeterminethecurrentthrougheachresistorbyusingOhm’sLaw.

Page 5: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

Circuit3:ThreeResistors

Createandtestthiscircuit(Figure6)withdifferentvaluesforR1,R2,andR3.

Figure6:Threeresistorsinseries

ThingstoConsider• Considerthevoltagedropacrosseachresistor,andcompareitwiththevoltagedropacrossall

theresistorsatonce(therailvoltage).• YoucancalculatethecurrentsthrougheachresistorusingOhm’sLaw,andthencomparethe

currents.

Page 6: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

Circuit4:Button

Createandtestthiscircuit(Figure7)usingalargevalueforR1.

Figure7:ButtonwithPull-downResistor

Thingstoconsider• Youcanuseamulti-metertoobservethevoltageatdifferentpointswhenthebuttonisused.• Youcandeterminehowthe4pinsofthepushbuttonareconnectedwithacontinuitytest.

Page 7: Basics: Introduction to Circuits - Iowa State Universityclass.ece.iastate.edu/ee185/pdfs/basics/Circuits_Intro.pdfPreparing the Multi-Meter Above your desk, you have a digital multi-meter

Review

Afterthislab,youshouldhaveagoodunderstandingofthefollowingtopics.Ifyou’renotsureaboutsomeofthem,gobackthroughthelabandtrytoafindagoodplacetoexplorethetopic.

Youshouldbeabletodothefollowing• Powertherailsofabreadboard,anddesigncircuitsbetweentherails• Readandmeasuretheresistanceofaresistorwithanohmmeter• Measurethevoltagedropacrosstwopointsinacircuitwithavoltmeter• DeterminethecurrentflowingthroughacircuitwithresistorsusingOhm’sLaw• Designacircuit,suchthatadesiredvoltageappearsatsomepointinthecircuit

o Example:Usingonlyresistors,designacircuitsuchthat2.5VappearsonthevoltmeterwhenmeasuringthevoltagefromGNDtosomepoint(severaldesignscouldwork)

• LightupanLEDinacircuit

Application

Tryapplyingtheskillsyoulearnedfromthislab.Youcancomeupwithyourownprojectideaortryonefromtheflowchart.