Intro to Electronics Week 2 Intro to Electronics, Week 2 Last - - PowerPoint PPT Presentation

intro to electronics
SMART_READER_LITE
LIVE PREVIEW

Intro to Electronics Week 2 Intro to Electronics, Week 2 Last - - PowerPoint PPT Presentation

Intro to Electronics Week 2 Intro to Electronics, Week 2 Last updated Oct. 17, 2012 1 Build a simple power supply TODAYS P PROJECT Intro to Electronics, Week 2 Last updated Oct. 17, 2012 2 BUT F FIRST: Intro to Electronics, Week 2


slide-1
SLIDE 1

Intro to Electronics

Week 2

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 1

slide-2
SLIDE 2

TODAY’S P PROJECT

Build a simple power supply

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 2

slide-3
SLIDE 3

BUT F FIRST:

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 3

slide-4
SLIDE 4

TEST E EQUIPMENT

How to measure what your circuit’s doing

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 4

slide-5
SLIDE 5

Multimeter

  • Measures all kinds of things

– Voltage – Current – Resistance – Other fancy things

  • Tests continuity
  • Some can give diode and transistor properties
  • etc.

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 5

slide-6
SLIDE 6

Choosing a measurement

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 6

slide-7
SLIDE 7

Try it on last week’s project

  • Measure voltage

across resistor

  • Measure resistance of

resistor

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 7

slide-8
SLIDE 8

Try it on last week’s project

  • Measure current going into LED

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 8

slide-9
SLIDE 9

Try it on last week’s project

  • When getting ready

to measure current, look on the meter

– Leads often have to be connected to different jacks than for voltage or resistance measurements

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 9

slide-10
SLIDE 10

POWER S SUPPLIES

On to building new stuff

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 10

slide-11
SLIDE 11

The problem

  • Some circuits need specific voltages to work
  • Exact voltage we need isn’t always available
  • Solution: Convert what we have into what

we need

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 11

slide-12
SLIDE 12

Voltage divider

  • Easy way to get from one voltage to a lower

voltage

  • Quick and dirty

– Not too stable – Need to be able to predict your input voltage and output resistance

  • But it’s cheap!

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 12

slide-13
SLIDE 13

! = !

!"

!1 + !2 !

!"# = ! ∗ !2

!

!"# = ! !" ∗

!2 !1 + !2

The idea

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 13

Vin Vout R1 R2 I

slide-14
SLIDE 14

!"# = 6!! ∗! 1!!Ω 360!Ω + 1!!Ω! ! !"# = 4.4!!!

Try it

6 V 360 1 k

Out

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 14

slide-15
SLIDE 15

Try it

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 15

slide-16
SLIDE 16

Two problems

  • Vout directly depends on Vin

– Unstable input = unstable output

  • If Vout is connected to anything, it could

change!

– Why is this?

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 16

slide-17
SLIDE 17

Combining resistances

  • Remember how batteries could be

connected in series or in parallel?

  • Remember how they added up differently in

each case?

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 17

slide-18
SLIDE 18

Combining resistances

  • Series
  • Parallel

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 18

!!"!#$ = !! + !!!

!!"!#$ = !! ∥ !! = 1 1 !! + 1 !! !

slide-19
SLIDE 19

What happens here?

6 V 360 1 k

  • Last updated Oct. 17, 2012

Intro to Electronics, Week 2 19

slide-20
SLIDE 20

!

!"# = 6!! ∗

1!!Ω! ∥ !220!Ω 360!Ω + (1!!Ω! ∥ !220!Ω) 1!!Ω! ∥ !220!Ω =! 1!!Ω ∗ 220!Ω 1!!Ω + 220!Ω = 180.3!Ω 6!! ∗! 180.3!Ω 360!Ω + 180.3!Ω = 2!!

What happens here?

6 V 360 1 k

  • Last updated Oct. 17, 2012

Intro to Electronics, Week 2 20

:(

slide-21
SLIDE 21

What else can we do?

  • Use a voltage regulator

– Inexpensive (usually) chip – Handles all of this stuff for you

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 21

slide-22
SLIDE 22

What else can we do?

  • Use a voltage regulator

– Some are more complicated than others – Some let you set the output voltage you want – Some just lower voltage; others raise it

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 22

slide-23
SLIDE 23

How do they work?

  • Details? Outside the scope of this class
  • But let’s find out how to use one!

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 23

slide-24
SLIDE 24

Integrated circuits (ICs)

  • What people generally mean by “chip”
  • Usually black plastic with some metal pins

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 24 http://en.wikipedia.org/wiki/ File:Three_IC_circuit_chips.JPG http://www.flickr.com/photos/

  • skay/6328929468/

http://en.wikipedia.org/wiki/File:TO-220_ Package_Four_Different_Projections.jpg

slide-25
SLIDE 25

Problem

  • They can sort of look the same

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 25 http://www.flickr.com/photos/ ronybc/1713396200/

slide-26
SLIDE 26

Datasheet

  • Manufacturer’s instructions on how to use it
  • Can be a page or hundreds

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 26

slide-27
SLIDE 27

Example

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 27

slide-28
SLIDE 28

LM317 adjustable regulator

  • Adjustable

– Easy to set — just add two resistors

  • Cheap (maybe $0.50)
  • Can regulate either voltage or current
  • Can take anywhere from 1.2 V to 37 V

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 28

slide-29
SLIDE 29

LM317 adjustable regulator

  • Not very efficient

– Good chance you’ll need a heatsink (We won’t in this class)

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 29

slide-30
SLIDE 30

In the datasheet…

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 30

http://www.ti.com/lit/ds/ symlink/lm117.pdf

slide-31
SLIDE 31

!

!"# = 1.25!! ∗ 1 + !2

!1 + 0.0001!! ∗ !2!

In other words…

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 31

  • Vout doesn’t depend
  • n Vin!
slide-32
SLIDE 32

Try it

6 V 360 1 k

Adj Vin Vout Out LM317

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 32

!

!"# = 1.25!! ∗ 1 + 1!!Ω

360!Ω + 0.0001!! ∗ 1!!Ω = 4.82!V!

slide-33
SLIDE 33

Try it

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 33

slide-34
SLIDE 34

Capacitors

  • Store energy in an electric field
  • Can be used to smooth out noisy signals
  • Also useful for:

– Filters for audio and RF – Reaching high voltages

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 34

slide-35
SLIDE 35

Capacitors

  • Some can be used in

either direction

– These generally look like discs

  • Others blow up if you

put them in backward

– These generally look like cans

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 35 http:// www.flickr.com/ photos/ dj-dwayne/ 5584102517/ http:// www.flickr.com/ photos/ zero-waste/ 4117130831/

slide-36
SLIDE 36

Let’s add one

6 V 360 1 k

Adj Vin Vout Out LM317

0.1 µF

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 36

slide-37
SLIDE 37

The difference

  • Probably won’t notice one here

– Battery powered, no load

  • Generally good practice

– Helps keep things a bit more predictable – Datasheets can help provide guidance

  • LM317 said it’s useful on the input but unnecessary
  • n the output

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 37

slide-38
SLIDE 38

Oscilloscope

  • What if we want to look at the difference?
  • Oscilloscope shows voltage waveforms
  • ver time

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 38

Time me Volt ltage

slide-39
SLIDE 39

Oscilloscope

  • Sort of expensive

– Hundreds of dollars to tens of thousands

  • Really handy, though

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 39

slide-40
SLIDE 40

That’s it for tonight

  • Next week

– Lights (both making and detecting) – Transistors – Maybe some digital logic

Last updated Oct. 17, 2012 Intro to Electronics, Week 2 40