makingthings electronics

Upload: engineer-zeeshan-rasheed

Post on 12-Oct-2015

7 views

Category:

Documents


0 download

DESCRIPTION

electrical engineering books

TRANSCRIPT

  • BASICELECTRONICSMediaTheory&Practice

    BASICELECTRONICSDavidWilliams&MichaelShiloh

    2003MakingThingsLLC

  • BASICELECTRONICSMediaTheory&Practice

    OVERVIEWSession1

    Electricityiskindoflikewater

    TheComponentsInside

    TheBinaryMiracleSession2

    Switchescandoallthat?

    Arrangethemjustright,andyouhaveacomputer

    Thecomputerdoeswhatyousaymillionsoftimesasecond

    Reconnectingtotherealworld

  • BASICELECTRONICSMediaTheory&Practice

    ELECTRICITYISLIKEWATER

  • BASICELECTRONICSMediaTheory&Practice

    LEVELSOFUNDERSTANDINGHowmuchdoyouneedtoknow?

    Toownacaryoudonotneedtounderstandthedetailsofinternalcombustionengines,butthedetailsleakout:gasoline,oil,batteries

    Todoelectronicsyoudon'tneedadegreeinmaterialsscienceorsolidstatephysics,butthedetailssometimesleakout:voltage,current,OhmsLaw,etc.

    Thissessionandthenextarewhatwethinkyou'llneedtoknowtobegintohaveanintuitivegraspoverthefieldofelectronics.

  • BASICELECTRONICSMediaTheory&Practice

    ELECTRICITYThinkofelectricityflowinglikewaterinapipeTheanalogytowaterisnotperfect,butithelps.Electronsarepresentandquitemoveableineveryconductor.

    Electricityistheorderedflowofelectronsinaconductor.

  • BASICELECTRONICSMediaTheory&Practice

    VOLTAGEANDCURRENTVoltageislikewaterpressure

    MeasuredinVolts,VCurrentislikewatervolume

    MeasuredinAmps,A1/1000thofanAmpisamilliampmA

    PowerisVoltagexCurrentMeasuredinWatts,W1/1000thofaWattisamilliwattmW

  • BASICELECTRONICSMediaTheory&Practice

    RESISTANCEAlmosteverythingthatconductselectricityhasaresistance.Itdoesntconductitperfectly.

    ResistanceismeasuredinOhms()1000=1k1,000,000=1M

  • BASICELECTRONICSMediaTheory&Practice

    OHMSLAWRelatesVoltageandCurrentinasimplecircuit

    V=IRVolts=Current(I)xResistance(R)

    (thismeansI=V/RandR=V/I)

  • BASICELECTRONICSMediaTheory&Practice

    CIRCUITSWATERANDELECTRICITY

    Electricity,likewater,flowsonlywhenit

    can.

    Acircuitneedsacompletepath,andasourceof

    energy

  • BASICELECTRONICSMediaTheory&Practice

    CIRCUITDIAGRAMSICircuitDiagrams(alsocalledSchematics)areacompacteasywaytorepresentcircuits.

    Onlytheessentialdetailsarerepresented.

    LiketheLondonUndergrounddrawnforhumanuse

  • BASICELECTRONICSMediaTheory&Practice

    CIRCUITDIAGRAMSIIMorerealisticdiagram

    Vcc&GndConnectionsManypathsChip(LM555)Resistors,CapacitorsNonliterallineconnectionsOptionalparts

  • BASICELECTRONICSMediaTheory&Practice

    PRINTEDCIRCUITBOARDSWhenwiringupcircuitswithwiresistoomuchwork

    Eachtrace(thinstripofcopper)replacesonewire

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONCIRCUITSObjectives

    ShowasimplecircuitMeasurevoltages&current

    MaterialsBatteryandLampMultimeter

  • BASICELECTRONICSMediaTheory&Practice

    COMPONENTS

    Thecomponentsthatmakeupacircuit

  • BASICELECTRONICSMediaTheory&Practice

    CONDUCTORSConnectionsareveryimportant

    Manythingsareconductivecarchassis/saltywater

    Strandedvs.SolidCoreSolidcoreismuchmorelikelytobreakwhenflexed

    AWG(AmericanWireGauge)StandardAWG16LargerPowerConnectionsAWG18PowerConnectionsAWG22GoodInterconnectionSizeAWG30Veryfinebreakseasily

  • BASICELECTRONICSMediaTheory&Practice

    CELLS&BATTERIESChemicalReactionscreatingelectricityLeadacid(carbatteryapprox2V)Alkaline(regularcellsapprox1.5V)LithiumIon(latestrechargeableapprox3.6V)FuelCells(newtechnology)SolarCells(lightconvertedintoelectricity)Fruit!(lemonswithcopperandzincelectrodes)Canputtheminseries(endtoend)toincreasevoltageCanputtheminparallel(sidebyside)toincrease

    current

  • BASICELECTRONICSMediaTheory&Practice

    POWERSUPPLIESConnectto110VACtoprovideelectricityinadifferentform.

    Beverycarefulwith110V!Itcankillyou.Anythingover50Visdangerous.

  • BASICELECTRONICSMediaTheory&Practice

    SWITCHESANDPUSHBUTTONSConnectanddisconnectcircuits

  • BASICELECTRONICSMediaTheory&Practice

    RESISTORSAsthenamesuggeststendtopresentapartialbarriertoelectricityflow

    Recall,ResistanceismeasuredinOhms()1000=1k1,000,000=1MAlsoneedtonoteratedpower(e.g.1/8W,5W)

  • BASICELECTRONICSMediaTheory&Practice

    POTENTIOMETERSVariableResistors

    Havearesistancethatvariesaccordingtothemechanicalpositionofoneofitswiper.

  • BASICELECTRONICSMediaTheory&Practice

    LIGHTEMITTINGDIODES(LEDs)Tinylightsourcescomeinavarietyofcolors

    Requireverysmallcurrentbutwilltakeallyouofferalwaysusearesistor!Valuesbetween300and1Kareuseful.

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONLEDsObjectives

    ShowhowtouseanLEDShowhowitonlyworksonewayroundShowhowyouneedaresistorShowhowdifferentresistorsgivedifferentbrightnesses,potentiometers

    MaterialsSolderingiron/solder/wireLEDResistor/Potentiometer

  • BASICELECTRONICSMediaTheory&Practice

    CAPACITORSAsthenamesuggeststendtostoreelectricitylikeaminibattery

    MeasuredinFarads(F)0.000001F=1F0.000000001=1pF

    Alsoneedtonoteratedvoltage

    Charging

    Charged

    Discharging

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONCAPACITORSObjectives

    Toshowcharginganddischargingcapacitors

    ShowchargewithLED/resistorShowdischargewithLED/resistor

    MaterialsCapacitor(largevalue)2xResistor/LEDcomboSolderingIron,Solder

  • BASICELECTRONICSMediaTheory&Practice

    DIODESFamilyofcomponentswhichonlyletelectricityflowoneway

    Manydifferentkindseachwithdifferentcharacteristics

    Maincharacteristictonoteispower(W)

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONDIODESObjectives

    ToshowdiodesblockingcurrentMaterials

    PowersupplyDiode12VLampSolder/SolderingIron

  • BASICELECTRONICSMediaTheory&Practice

    SOLENOIDSElectromagnets

    Currentispassedthroughthecoilandamagneticfieldiscreated

    Usedtoreleaselatches,lockpartsinplace,etc.

  • BASICELECTRONICSMediaTheory&Practice

    MOTORSFamilyofcomponentsthatusesequencedelectricityandmagnetismtomakemovement

    Voltage,Current,Torque&RPMoftenspecified

  • BASICELECTRONICSMediaTheory&Practice

    RELAYSElectromechanicalSwitchesApplyacurrenttothecoilandtheconnectedswitchesareconnectedanddisconnected.

    Carsuserelaystoswitch12V,500A!

    SiliconRelaysalsoavailablewithnomovingparts

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONSOLENOIDS/MOTORS/RELAYS

    ObjectivesToshowsolenoids,motorsandrelaysrunning

    MaterialsSolenoid/Motor/RelayPowerSupply

  • BASICELECTRONICSMediaTheory&Practice

    VOLTAGEDIVIDERSISimpleandvitalpartofelectronics.Usedthroughout

    electronics.Vitalintheconnectionofsensorstocomputers.

    Takearesistorandconnectittoapowersource.

    Thevoltageononesideis5V,andontheotheris0V

    Whatwoulditbeinthemiddleoftheresistor?

  • BASICELECTRONICSMediaTheory&Practice

    VOLTAGEDIVIDERSIICansetthisup:

    Taketworesistorsofequalvalueinseriesandconnectthemtoapowersource.

    Wecanguessthatthevoltageatpis2.5Vifra=rb.Eachresistordoeshalfthework.

  • BASICELECTRONICSMediaTheory&Practice

    VOLTAGEDIVIDERSIIIAndtoextendthisfurther:

    Whatiftheresistorsarenotthesame?

    Wecanguessthatthevoltageatpwillbegreaterthan2.5Vifralessvoltagedrop

  • BASICELECTRONICSMediaTheory&Practice

    VOLTAGEDIVIDERSIVNowwehavesomethinguseful

    Whatifwesubstituteoneoftheresistorsforaresistivesensorofsomekind?

    Wecanguessthatthevoltageatpwillbedependentonthequalitysensed.

  • BASICELECTRONICSMediaTheory&Practice

    VOLTAGEDIVIDERSVVariableResistorscanworklikethistoo

    Withthiscircuit,wecansensetherotationalpositionofashaftoralinearposition

    Thevoltageatpwillbedependentonthepositionofthewiper.

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONVOLTAGEDIVIDERS

    ObjectivesTomirrortheforegoingvoltagedividerdiscussionwithvoltagedividerexamples

    MaterialsMultimeterSolderingIronandSolderResistorsResistiveSensors(Bend/Light)

  • BASICELECTRONICSMediaTheory&Practice

    TRANSISTORSIDevelopedtoswitchandamplify

    Comeinalargenumberofdifferentvarieties,shapesandsizes

  • BASICELECTRONICSMediaTheory&Practice

    TRANSISTORSIIMOSFETsaretransistorsthatmakeverygoodswitches

    Averysmallsignalonthegatecanswitchverylargeloadsonandoffthousandsoftimesasecond.

  • BASICELECTRONICSMediaTheory&Practice

    DEMONSTRATIONTRANSISTORSObjectives

    ToshowtheoperationofatransistorMaterials

    MultimeterSolderingIronandSolderMotor/HalogenBigMOSFETMOSFETdatasheet

  • BASICELECTRONICSMediaTheory&Practice

    BINARY

    Thegatewaytodigitalelectronics

  • BASICELECTRONICSMediaTheory&Practice

    THEDECIMALNUMBERSYSTEMAttheriskofstatingtheobvious

    Wecountbygoingthroughourlistofnumbersymbolsuntilwerunout

    0,1,2,3,4,5,6,7,8,9,

    Whenwerunout,wemarkthatfactwithadigitinanothercolumnandstartagain

    8,9,10,11,12,13,14,15,

    Whenwerunoutagain,weuseanothercolumn

    98,99,100,101,102,103,

  • BASICELECTRONICSMediaTheory&Practice

    THEBINARYNUMBERSYSTEMBinaryisidentical,exceptweonlyhave0and1

    Wecountbygoingthroughourlistofnumbersymbolsuntilwerunout

    0,1,

    Whenwerunout,wemarkthatfactwithadigitinanothercolumnandstartagain

    0,1,10,

    Whenwerunoutagain,weuseanothercolumn

    10,11,100,101,110,111,

  • BASICELECTRONICSMediaTheory&Practice

    JUSTLIKEAREALNUMBERINGSYSTEM

    Youcanconverttodecimal,sinceyouknowhowbigeachcolumnis32,16,8,4,2,1

    11002=1x8+1x4+0x2+0x1=1210

    Youcanaddandsubtractbinarynumbers(andallotherarithmeticaloperations)

    0010 1000+ 011001101000 0010

    Eachcolumniscalledabit.Eightbitsarecalledabyte.

  • BASICELECTRONICSMediaTheory&Practice

    THEBIGSTEPSowhatssocoolaboutanumberingsystemthatonlyhas2digits?

    Eachdigitcanbeunambiguouslyrepresentedbyavoltageonawire.

    Andyoucandowhateveryouwantwithit.

  • BASICELECTRONICSMediaTheory&Practice

    83Whatis8310or010100112?

  • BASICELECTRONICSMediaTheory&Practice

    MATERIALS

  • BASICELECTRONICSMediaTheory&Practice

    MaterialsPowerSupply1.5VCellWireSolderSolderingIronLEDsResistors(1K&500)PotentiometerDiodes(highishcurrent)BendSensor

    PhotocellBendsensorMOSFET&DatasheetMotorsHalogens