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

intro to electronics
SMART_READER_LITE
LIVE PREVIEW

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

Intro to Electronics Week 1 Intro to Electronics, Week 1 Last modified April 16, 2012 1 What is included? DIY E ELECTRONICS Intro to Electronics, Week 1 Last modified April 16, 2012 2 Lights http://www.flickr.com/photos/oskay/3423822454/


slide-1
SLIDE 1

Intro to Electronics

Week 1

Last modified April 16, 2012 Intro to Electronics, Week 1 1

slide-2
SLIDE 2

DIY E ELECTRONICS

What is included?

Last modified April 16, 2012 Intro to Electronics, Week 1 2

slide-3
SLIDE 3

Lights

Last modified April 16, 2012 Intro to Electronics, Week 1 3 http://www.flickr.com/photos/oskay/3423822454/

slide-4
SLIDE 4

Sounds

Last modified April 16, 2012 Intro to Electronics, Week 1 4 http://www.flickr.com/photos/createdigitalmedia/3701158293/

slide-5
SLIDE 5

Robots

Last modified April 16, 2012 Intro to Electronics, Week 1 5 http://www.instructables. com/id/Wendell-the-Robot/

slide-6
SLIDE 6

Whatever else you come up with

Last modified April 16, 2012 Intro to Electronics, Week 1 6 http://www.flickr.com/photos/itechgeek/6277427331/

slide-7
SLIDE 7

THE C CLAS ASS

How does this work?

Last modified April 16, 2012 Intro to Electronics, Week 1 7

slide-8
SLIDE 8

Six weeks, one night per week

  • Walk through building a new project each

session

– Light stuff, count stuff, provide power to stuff…

  • Learn about different parts and how to use

them

Last modified April 16, 2012 Intro to Electronics, Week 1 8

slide-9
SLIDE 9

TODAY’S P PROJECT

Light up an LED with batteries and a switch

Last modified April 16, 2012 Intro to Electronics, Week 1 9

slide-10
SLIDE 10

Breadboard

  • Temporarily build circuits

– Just plug stuff in!

Last modified April 16, 2012 Intro to Electronics, Week 1 10

slide-11
SLIDE 11

Breadboard

Last modified April 16, 2012 Intro to Electronics, Week 1 11

slide-12
SLIDE 12

Some sockets are connected

Last modified April 16, 2012 Intro to Electronics, Week 1 12

slide-13
SLIDE 13

Example breadboard connection

Last modified April 16, 2012 Intro to Electronics, Week 1 13

slide-14
SLIDE 14

What if I mess up?

  • Simple:

– Unplug stuff – Plug it back in

Last modified April 16, 2012 Intro to Electronics, Week 1 14

slide-15
SLIDE 15

Should I use this for everything?

  • Probably not

– Issues at high frequencies – Might melt at high power – Can get expensive – Not very permanent

Last modified April 16, 2012 Intro to Electronics, Week 1 15

slide-16
SLIDE 16

LED

  • Light-

Emitting

– Shiny

  • Diode

– Current only flows in one direction

Last modified April 16, 2012 Intro to Electronics, Week 1 16

slide-17
SLIDE 17

Hands-on: Plug it in

  • Put each lead in a different row
  • Add a wire from the flat side’s row to ground

Last modified April 16, 2012 Intro to Electronics, Week 1 17

Ground this side

slide-18
SLIDE 18

Batteries

  • Constant (sort of) voltage source
  • Voltage?

– Electric potential difference – Potential energy that can move charge around

  • Think about gravitational potential energy

Last modified April 16, 2012 Intro to Electronics, Week 1 18

slide-19
SLIDE 19

More on voltage

  • Common analogy: Water

– Current is like water flowing – Voltage is like the difference in water pressure

  • Water flows from high pressure to low pressure
  • Charges move from high potential to low potential

Last modified April 16, 2012 Intro to Electronics, Week 1 19

slide-20
SLIDE 20

Batteries

  • Voltage is supposed to be constant

– But it decreases over time – When it gets too low, the battery’s “dead”

Last modified April 16, 2012 Intro to Electronics, Week 1 20

slide-21
SLIDE 21

Combining batteries

  • Series

– Add all of the voltages together – Goes dead just as quickly

  • Parallel

– Takes longer to go dead – Voltage doesn’t increase

Last modified April 16, 2012 Intro to Electronics, Week 1 21

slide-22
SLIDE 22

Combining batteries

  • This explains your devices’ battery holders

Last modified April 16, 2012 Intro to Electronics, Week 1 22

slide-23
SLIDE 23

Combining batteries

  • This explains your devices’ battery holders

Last modified April 16, 2012 Intro to Electronics, Week 1 23

slide-24
SLIDE 24

Here you go

  • You have a battery

holder

  • Four AAs (~1.5 V) in

series = 6 V (ish)

  • Connect it to the

breadboard

Last modified April 16, 2012 Intro to Electronics, Week 1 24

slide-25
SLIDE 25

Switches

  • Connect or disconnect things

– Make or break circuits

  • Come in all shapes and sizes

Last modified April 16, 2012 Intro to Electronics, Week 1 25 http://www.flickr.com/photos/ hanifin/3404078789/ http://www.flickr.com/photos/ bichromephoto/3202095140/ http://www.flickr.com/photos/ harvypascua/46114061/

slide-26
SLIDE 26

Switches

  • Simplest: “Single pole, single throw”

– Just connects or disconnects the two ends – Most home light switches are like this

Last modified April 16, 2012 Intro to Electronics, Week 1 26

slide-27
SLIDE 27

Switches

  • Next one up: “Single pole, double throw”

– Connect one end (“common”) to either of two things on the other end – Useful for forward/reverse controls – You’ve got one of these

Last modified April 16, 2012 Intro to Electronics, Week 1 27

slide-28
SLIDE 28

Switches

  • These concepts scale up

– Triple pole, single throw:

Last modified April 16, 2012 Intro to Electronics, Week 1 28 http://commons.wikimedia.org/wiki/File:Tpst.jpg

slide-29
SLIDE 29

Here you go

  • You have an SPDT

slider switch

  • Add it to your

breadboard

  • Connect common

terminal (center pin) to +

Last modified April 16, 2012 Intro to Electronics, Week 1 29

slide-30
SLIDE 30

Resistor

  • Very basic circuit element
  • Can be used to control amount of current

– We can avoid burning out our LED!

Last modified April 16, 2012 Intro to Electronics, Week 1 30

slide-31
SLIDE 31

Ohm’s Law

  • V = I x R

– Voltage across an element is proportional to the current flowing through it

  • For a given voltage across an element:

– As current goes up, resistance goes down – As current goes down, resistance goes up

Last modified April 16, 2012 Intro to Electronics, Week 1 31

slide-32
SLIDE 32

Water analogy again

  • Think of resistance like your pipe diameter

– Narrower pipe = greater resistance

  • Less water flowing for the same pressure difference

Last modified April 16, 2012 Intro to Electronics, Week 1 32

slide-33
SLIDE 33

Using resistors with LEDs

  • An LED always maintains the same voltage

across it

– This one: 1.85 V

  • Battery voltage - LED voltage = resistor

voltage

– 6 V – 1.85 V = 4.15 V

Last modified April 16, 2012 Intro to Electronics, Week 1 33

slide-34
SLIDE 34

Using resistors with LEDs

  • How much current should go through this

circuit?

– LED manufacturer suggests 20 mA

  • Ohm’s Law: V = I x R (or R = V / I)

– 4.15 V / 0.02 A = 207.5 Ω

  • Don’t have this, so we’ll go with the next highest one

we’ve got (220 Ω)

Last modified April 16, 2012 Intro to Electronics, Week 1 34

slide-35
SLIDE 35

How do we find a 220 Ω resistor?

  • Color codes

– Each color has a different meaning – Look them up:

  • http://www.okaphone.nl/calc/resistor.shtml
  • http://www.bobborst.com/tools/resistor-color-codes/

Last modified April 16, 2012 Intro to Electronics, Week 1 35

= 220 Ω

slide-36
SLIDE 36

Plug it in!

  • Add one to your breadboard
  • Connect one end of your switch to the round

side of your LED

Last modified April 16, 2012 Intro to Electronics, Week 1 36

slide-37
SLIDE 37

Congratulations

  • You have a circuit!
  • Flip the switch a few times

– Watch the LED turn on and off

Last modified April 16, 2012 Intro to Electronics, Week 1 37

slide-38
SLIDE 38

Schematic

  • What if we want to write down how these are

connected?

– Refer to it later – Help describe it to a friend

  • Simplified diagram with symbols for each

component

Last modified April 16, 2012 Intro to Electronics, Week 1 38

slide-39
SLIDE 39

Today’s schematic

6 V 220

Last modified April 16, 2012 Intro to Electronics, Week 1 39

slide-40
SLIDE 40

That’s it for tonight

  • Next week

– Power supplies – Integrated circuits – How to use test equipment

  • If possible, keep tonight’s project assembled

Last modified April 16, 2012 Intro to Electronics, Week 1 40