16
Centre for Innovation Indian Institute of Technology Madras Basics of electronics Created by: Kunal Grover [email protected]

Basics of Electronics in Robotics

Embed Size (px)

DESCRIPTION

Electronics basics from iBot club, IITM

Citation preview

  • CentreforInnovationIndianInstituteofTechnologyMadras

    Basicsofelectronics

    Createdby:[email protected]

    mailto:[email protected]
  • CentreforInnovationIndianInstituteofTechnologyMadras

    Whatiselectronicsandwhatitcando?Electronicshasrevolutionizedtheworld,seearoundandeverythingneedselectronics.

    DevelopmentinelectronicsWehavecomealongway

    Funfact:TheApollocomputershadlessprocessingpowerthanacellphone!! Funfact:"Moore'slaw"istheobservationthat,overthehistoryofcomputing

    hardware,thenumberoftransistorsinadenseintegratedcircuitdoublesapproximatelyeverytwoyears.

    http://en.wikipedia.org/wiki/History_of_computing_hardwarehttp://en.wikipedia.org/wiki/History_of_computing_hardwarehttp://en.wikipedia.org/wiki/Transistorhttp://en.wikipedia.org/wiki/Integrated_circuit
  • CentreforInnovationIndianInstituteofTechnologyMadras

    Digitalcircuits

    Inthisdomain,weconsider2voltagelevelsas0and1.Generally,weconsider1as5V

    Q:Wellwhatis3.5Vthen????:PA:Itisconsidered1(actuallyanythinggreaterthan2.5Vwillbeconsidered1)

    Analogcircuits

    Wehavesignalswhicharevaryinginmagnitudebetweentheextremevalues.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    Letslookatsomeelectronicscomponents:

    Breadboard:Breadboardisaplatformforquickprototypingofelectricalcircuitswithoutusingthesolderingiron.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    Thehorizontalholesoneachsideofthebreadboardareconnectedtogether.Anythingpluggedintotheseholeswillbeconnectedtogether.Thehorizontalholesononesidearenotconnectedtothoseontheother.Thefirstfiveandthelastfiveverticalstripsareelectricallyconnected.Theouterstripisusuallyusedas5VandtheinneronesasGND.Usuallythefirstfiveandthelastfivestripsarejoinedbywire.Someconventionsthatweusuallyfollow. Singlestrandwiresareusedforconnections. Connectionsmustbetight. Nowirewithoutinsulationmustbeseenonthebreadboard. 5VconnectionsareinRed. GNDconnectionsareinBlack. Otherconnectionsareinanyothercolour.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    7805TICisusedforsteppingdownvoltages.The05indicatesthatitstepsitdownto5V.Seetheimageforthepinoutdiagramgiveninthedatasheetforthe7805TIC.Whenonelooksatitwithbulgeonittowardsthem,theleftpinistheinputoftheinputvoltage,thecentregroundandtherightpinoutputof5V.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    LogicgatesTheseareveryhelpfulincircuits.Asthenamesuggests,theyhelptobringlogictocircuits.

    Inthetruthtable,actually1means5Vand0means0V.Q:Now,whywouldIneedthem??A: Imagine 2 smoke sensors connected to A and B. A fire alarm is connected to F and should goon(HIGH)wheneitherofthe2sensorsareHigh.Sowhatdoyouusehere?AnORgate.Imagine a situation where your sensors are highly unreliable ie they out of a sudden give HIGH output. What to do then? Use AND gate to make the alarm go on(HIGH) only when both are high.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    TheyareavailableasICsinthe74xxseries.Eg6NOTgatesinthisIC

    CrystalOscillatorCrystals are used to repeatedly generate signals with a constant frequency. The signals are nothing but alternate Lows and Highs. We need them to get a sense of time in circuits. For instance a microcontroller needs to know for how much time to execute something. There, we needCrystals.

    CapacitorsYoualreadyknowaboutthem,theystorecharge.Twotypes:

    Electrolytic

  • CentreforInnovationIndianInstituteofTechnologyMadras

    Ceramic

    These2typesaredifferentinthewaytheyaremanufacturedandused.Electrolyticcapacitorshaveanorientationie+veandveterminals.PotentiometersVariableresistorsTheyareusedtogetvoltagesdividedusingtheprincipleofresistancebeingproportionaltothewirelength

  • CentreforInnovationIndianInstituteofTechnologyMadras

    DiodesTheseusuallyplacedtostopreversecurrents.Technically,thereisasmallreversecurrent,butpractically,wejustusethemasreversecircuitprotectionagents.

    Thereisasmallvoltagedropacrossdiodes.Wecanusuallymodelthemasabove.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    LEDEveryoneknowswhatitis.SeethepinconfigurationforanLED.LEDsneed3Vforpoweringup,andmaygetdamagedat5V.Soalwaysusearesistorinseries(1kohmwillbeagoodvaluetostartwith,changeitifyouwanttomodifythebrightness)

    7segmentdisplayYouhaveseenthisindigitalsignboards,watchesetc.Itsreallysimpletouse!!Everydisplaylinehasauniquepinwhichcanbepoweredtomakeitturnonandoff.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    MOSFETsandTransistorsMOSFETsandtransistorsaretheheartofelectronicsaroundus.Practically,theyareemployedinonefundamentalapplication,asaswitch,anelectronicallycontrolledone.Here,Imeanthatasignalcontrolstheactioninsteadofamechanicalswitchaction.MOSFETsandtransistorsaredifferentMOSFETsareusedforheavyloadapplications.Theyarecurrentcontrollediethecurrentgivenatthegatedecideswhethertheswitchconductsorno

    Transistorsontheotherhandarecurrentcontrolled.Thecurrententeringthebasedecideswhetheritconductsorno.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    TimerICTimerICisanICusingwhichwecangenerateticksofvariousfrequencies,byjustmodifyingthecircuit.

    Forexample,youcancheckouthowtogenerate1secticksusingitherehttp://electrotech4u.blogspot.in/2012/01/one1secondtimedelayfordigital.htmlThereisalotyoucandowiththisIC,sinceyougetatimeelementintoyourcircuitsusingthisIC.Youcanbuildclocks,timers,stopwatches.ThedifferencebetweenthisICandanoscillatoristhatyoucangetanyfrequencywiththis,butwithanoscillator,youcangetonlyspecificfrequencies.

    http://electrotech4u.blogspot.in/2012/01/one-1-second-time-delay-for-digital.html
  • CentreforInnovationIndianInstituteofTechnologyMadras

    OptoCoupler

    Thisisaninterestingcircuitelement,usingthiswecanisolatecircuitsieseparateHighloadandLowloadcircuits.Itisanotherswitch,similartohowTransistorsandMOSFETswork,buttheadvantagethatwegethereisthatthe2circuitshavenowaytointeractdirectly,sinceitworkswhenlightgeneratedbypluggingintoonecircuitdrivestheothercircuit.ThisiscalledOptoisolation.

  • CentreforInnovationIndianInstituteofTechnologyMadras

    Sometoolsthatyouwillneed:

    Wirestripper

    DigitalMultimeterHereisalistofbasicfunctionsthatyoucandowithamultimeterhttp://www.thomasnet.com/articles/engineeringconsulting/digitalmultimeters

  • CentreforInnovationIndianInstituteofTechnologyMadras

    Whattodonext?Thesimplestwaytostartintoelectronicsistogoinanddosomething,getyourhandsdirty.Sogetstarted,buildyourfirstcircuit.Somebasiccircuitswhichyoucanstartwith:

    http://www.eleccircuit.com/simpleelectroniccircuits/ http://www.circuitstoday.com/simpleelectronicsprojectsandcircuits

    Allthecomponentsinthesecircuitsmightntbediscussedhere,thisistojustgiveyouaheadstart!Allthebest!

    http://www.eleccircuit.com/simple-electronic-circuits/http://www.circuitstoday.com/simple-electronics-projects-and-circuits