electrical engineering full day

Upload: er-raghvendra-singh

Post on 06-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/18/2019 Electrical Engineering Full Day

    1/27

    11

    Electricity andCircuits

    Developed by Dr. Rhett Davis

    (NCSU) and Shodor

  • 8/18/2019 Electrical Engineering Full Day

    2/27

    22

    What Do Engineers Do?

    • Study the forces of nature• Apply them to do useful thin s

    • !"ample#$ater $heel %$hat are the forces& %'o is it useful&

  • 8/18/2019 Electrical Engineering Full Day

    3/27

    33

    Water Wheels

    • $ater heels are *echanical !n ineerin

    • +oday, e-ll loo at !lectrical !n ineerin

    + =

  • 8/18/2019 Electrical Engineering Full Day

    4/27

    44

    What do you need

    to make a Water Wheel Work?• $ater % *a es everythin or

    • River % Source of flo in ater • /ipes % +o direct the ater here you

    ant it to o and re ulate the flo

    • $heel % +o convert the force of theflo in ater into force to rind the

    heat

  • 8/18/2019 Electrical Engineering Full Day

    5/27

    55

    What’s a similar Electrical

    Engineering Problem?

    • +urn on a li ht %$ater 0 !lectricity %River 0 1attery %/ipes 0 Resistors, $ires %$heel 0 2i ht 1ulb

  • 8/18/2019 Electrical Engineering Full Day

    6/27

    66

    What do you need

    to make a Light Bulb Work?• !lectricity % *a es everythin or

    • 1attery % Source of flo in !lectricity• Resistors, $ires % +o direct the

    electricity here you ant it to o and

    re ulate the flo• 2i ht 1ulb % +o convert the force of the

    flo in electricity into li ht

  • 8/18/2019 Electrical Engineering Full Day

    7/27

    77

    Terminology

    • Electric Potential % li e the hei ht of the ater % Symbol (3) % Units (3olts 3)

    • Current % li e the number of allons of ater that floevery second % Symbol (4) % Units (Amperes % A)

    • Power % li e the amount of heat that can be roundeach second, or bri htness of li ht % Symbol (/) % Units ($atts % $) % N5+!# /6473

  • 8/18/2019 Electrical Engineering Full Day

    8/27

    88

    Battery

    • Source of constant potential (8 3)• 9 lead (red ire) % outflo from hi h potential

    • lead (blac ire) % inflo to lo potential

  • 8/18/2019 Electrical Engineering Full Day

    9/27

    99

    Light Emitting Diode !LED"

    • !mits li ht hen currentflo s throu h it

    • Current can only flo inone direction, from 9 to (li e a ater heel that

    on-t o in reverse) % 2on lead (9) % Short lead ( )

  • 8/18/2019 Electrical Engineering Full Day

    10/27

    1010

    #esistor

    • Ne term# % Resistance % ho easy is it for

    current to flo

    % Symbol (R) % Unit (5hm % :) % N5+!# 3647R

    • Ne circuit element % Resistor % Re ulates the flo of current % 2i e a pipe for electric current to flo % Resistance ;

  • 8/18/2019 Electrical Engineering Full Day

    11/27

    1111

    Breadboard

    • 1readboards areused to connect

    thin s >uic ly

    • ?ou can proto typecircuits >uic ly

  • 8/18/2019 Electrical Engineering Full Day

    12/27

    1212

    E$ercise

    • Use the battery, thebreadboard, the resistor,

    and the 2!D to ma ethe 2!D turn on.• @ollo the 2!D CircuitB

    in your handout.• $hy is the resistor

    necessary&

  • 8/18/2019 Electrical Engineering Full Day

    13/27

    1313

    Ca%acitor

    • 2i e a lass that holds ater % +op of lass (9) lon lead (no stripe), should al ays be at hi h

    potential % 1ottom of lass ( ) short lead ( ith stripe), should al ays be at

    lo potential

    • +he more electricity flo s in, the hi her the volta e( ater level)

    • A lar e capacitor is li e a ide lass % Needs more ater (electricity) to et to the same hei ht (volta e)

  • 8/18/2019 Electrical Engineering Full Day

    14/27

    1414

    &&& Timer Chi%

    • Used to oscillate bet een a hi h (3cc) and lo( ND) volta es

    • Stays hi h until +hreshold rises above =E 3cc, then

    s itches lo and lets current flo in throu hDischar e pin• Stays lo until +ri er falls belo

  • 8/18/2019 Electrical Engineering Full Day

    15/27

    1515

    E$ercise

    • o to http#==falstad.com=circuit=• Choose Circuits 0 FFF +imer Chip 0 S>uare

    $ave enerator • 1uild the circuit sho n• Use the output to po er the 2!D Circuit from

    first e"ercise

    • FFF +imer CircuitB in your handout ives thecircuit, for convenience• Guestion# $hich capacitor ma es the 2!D

    blin faster& $hy&

    http://falstad.com/circuit/http://falstad.com/circuit/

  • 8/18/2019 Electrical Engineering Full Day

    16/27

    1616

    &&& Timer Circuit

    • +ips# % @ollo the rou h

    layout sho n hereon your breadboard

    % Use the blac ireand left rails for

    round

    % Use the red ireand ri ht rails forthe 83 battery 9lead

  • 8/18/2019 Electrical Engineering Full Day

    17/27

    1717

    Digital Circuits

    • Analo Circuits % $hat e-ve seen up to no

    % can have any volta e(in our case, anythin bet een H3 and 83)

    % Useful for interfacin to the real orldB

    • Di ital Circuits % can have only t o volta es# hi h I lo

    (in our case, only H3 and F3) % Useful for processin information reliably

  • 8/18/2019 Electrical Engineering Full Day

    18/27

    1818

    Transistors

    • 1asically a s itch• + o types that e ill loo at

    % N*5S % closed hen input is hi h % /*5S % closed hen input is lo

    • !"ercise % o to http#==falstad.com=circuit % Choose Circuits 0 2o ic @amilies

    0 C*5S 0 C*5S 4nverter % Clic to to le input. $hat

    happens to the output&

  • 8/18/2019 Electrical Engineering Full Day

    19/27

    1919

    Logic 'ates

    • Can be used to build upcomple" functions

    • !"ercise % o to

    http#==falstad.com=circuit % Choose Circuits 0 2o ic

    @amilies 0 C*5S 0

    C*5S NAND % Clic to to le inputs.$hat happens to theoutput&

  • 8/18/2019 Electrical Engineering Full Day

    20/27

    2020

    (li% (lo%s

    • Used to implement memoryB in a circuit• Allo s behavior to chan e over time• !"ercise

    % o to http#==falstad.com=circuit %Choose Circuits 0 Se>uential 2o ic 0

    @lip @lops 0 *aster Slave @lip @lop %Clic to to le input DB. $hen does theoutput GB chan e&

  • 8/18/2019 Electrical Engineering Full Day

    21/27

    2121

    Counters

    • Counts up from Jero to a certain number andstarts over

    • 1inary arithmetic is used• An e"ample of a more comple" di ital circuit• !"ercise

    % o to http#==falstad.com=circuit % Choose Circuits 0 Se>uential 2o ic 0 Counters 0 K

    bit Ripple Counter % $atch the output chan e. $hat is the hi hest count

    value& % $hat is the input C2LB& $hat does it remind you of&

  • 8/18/2019 Electrical Engineering Full Day

    22/27

    2222

    )* , Counter Chi%

    • Combines all that ehave discussed intoone easy to usepac a e

    • Refer to the MK8ECounter Circuit in your

    handout

  • 8/18/2019 Electrical Engineering Full Day

    23/27

    2323

    The -eed .or /oltage #egulators

    • *ost Di ital 2o ic runs on F3 or less• +he MK8E Counter Chip on-t or ith

    our 83 battery• +o ma e it or , e need to re ulateB

    the volta e from 83 to F3

  • 8/18/2019 Electrical Engineering Full Day

    24/27

    2424

    0ener Diode

    • Current flo in from9 to is clamped at

    H.O 3• Current flo in from

    to 9 is clamped atF.< 3

    % lead =o stripe (9) % lead ith stripe ( )

  • 8/18/2019 Electrical Engineering Full Day

    25/27

    2525

    /oltage #egulator Circuit

    Note5ppositedirectionfrom the 2!D

  • 8/18/2019 Electrical Engineering Full Day

    26/27

    2626

    E$ercise

    • o to http#==falstad.com=circuit• Choose Circuits 0 Diodes 0 Pener Diodes 0

    3olta e Reference

    • Ri ht clic on volta e source 0 !dit 0DC 5ffset 6 83• Ri ht clic on QHH : resistor 0 !dit 0

    resistance 6 FH :• Ri ht clic on Jener diode 0 !dit 0

    Pener volta e 6 F.< 3• $hat is the lo est value of resistance for the

    second resistor that eeps the volta e at F3&$hat does this mean&

  • 8/18/2019 Electrical Engineering Full Day

    27/27

    2727

    Putting it all together

    • +ips % @ollo the rou h

    layout sho n here onyour bread board

    % Use the blac ire andleft rails for round

    % Use the red ire andone ri ht rail for the 83battery 9 lead

    % Use the oran e ireand the other ri ht railfor the F.