Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School...

55

Transcript of Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School...

Page 1: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.
Page 2: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Presented by

Tim Surtell

in association with

E LECTRONICS M ECCANO IN

Computer & Software Services Limited

Kelsey Park School Electronics Club

Page 3: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Lecture Outline

In this lecture we’ll look at…

• The ‘black box’ concept• Using the 555 timer IC• Three 555 timer circuits• Practical matters

After the break…

• Hands-On session:Build your 555 monostable circuit

Page 4: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The ‘Black Box’ of Electronics

Input(s) Process

Power

Output(s)

Page 5: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The Block Diagram

Input Process 1 OutputProcess 2 Process 3

Page 6: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

555

The 555 Timer – A Black Box!

• Eight connections called ‘pins’

1

2

3

4

8

7

6

5

• Little white dot and dimple denote pin 1

Page 7: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The 555 Timer – A Black Box!

• The 555 uses a 3 – 18V DC power supply

0V 1

2

3

4

8 Vs

7

6

55

55

Page 8: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The 555 Timer – A Black Box!

• The Trigger and Reset inputs

0V 1

Trigger 2

3

Reset 4

8 Vs

7

6

55

55

Page 9: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Switches

0V

Switch

Trigger input

• Connecting a switch to the Trigger input: 1st attempt!

Page 10: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Switches

Vs

0V

Switch

Trigger input

• Connecting a switch to the Trigger input: 2nd attempt!

Bang!

Page 11: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Switches

• Connecting a switch to the Trigger input of the 555 using a pull-up resistor

Vs

1kΩ resistor

0V

Switch

Trigger input

Page 12: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The 555 Timer

• The 555 Output

0V 1

Trigger 2

Output 3

Reset 4

8 Vs

7

6

55

55

Page 13: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Lamps

• Connecting a lamp to the 555 Output by ‘sourcing’ current

0V

Lamp

Output

Page 14: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Lamps

Vs

LampOutput

• Connecting a lamp to the 555 Output by ‘sinking’ current

Page 15: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Light Emitting Diodes (LEDs)

0V

LED

Output

Resistor R

0.02

2-s

VR

Page 16: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Relays

0V

Diode

Output

RelayCoil

Vs

0V

Motor

RelaySwitch

M

Page 17: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The 555 Timer

• Connections for the timing components

0V 1

Trigger 2

Output 3

Reset 4

8 Vs

7 Discharge

6 Threshold

5 Offset5

55

Page 18: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

555 Timer Circuits

Three basic circuits…

• The bistable• The monostable• The astable

Page 19: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Bistable Block Diagram

Trigger Input555 Output

Reset Input

• The bistable Output is stable in both states, high and low

Page 20: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Bistable Timing Diagram

Trigger Input

Output

Reset Input

Bistable Triggered

Bistable Reset

Page 21: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Monostable Block Diagram

Trigger Input 555 Output

Timing Components

• The monostable Output is stable in the low state only

• Triggering makes the Output go high for a set length of time

Page 22: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Monostable Timing Diagram

Trigger Input

Output

Monostable Triggered

Time period T

Page 23: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The Timing Components

Vs

0V

Resistor R

Capacitor C

1.1RC T

1.1C

T R

Page 24: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Astable Block Diagram

555 Output

Timing Components

• The astable Output is not stable at all.

It repeatedly goes high for a set time and then low for a set time

Page 25: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Astable Timing Diagram

Output Tmark Tspace Tmark Tspace

Page 26: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The Timing Components

Vs

0V

Resistor R1

Capacitor C

Resistor R2

Page 27: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The Timing Components

C2

0.7Rspace

T

)C2

R1

0.7(Rmark

T

)C2

2R1

(R

1.44F

Page 28: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Practical Matters

Three ways to build circuits…

• Breadboard for prototypes• Stripboard to produce final design• Printed Circuit Board (PCB) to produce

final design

Page 29: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Breadboard

Page 30: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Stripboard

Page 31: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Printed Circuit Board (PCB)

Page 32: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Lecture Summary

What you have learned…

• How to treat a system as a ‘black box’ with inputs, a process, and outputs

• How to break a problem into small blocks• How to use the 555 timer IC inputs and

outputs• What the bistable, monostable and

astable circuits do• How to test and construct circuits

Page 33: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.
Page 34: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Resistors

• Resistance is measured in Ohms (Ω)• Most resistors have four coloured bands

Band 22nd Digit

Band 3Multiplier

Band 4Tolerance

Band 11st Digit

Page 35: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

The Resistor Colour CodeColour Band 1

1st Digit

   Band 22nd Digit

   Band 3Multiplier

   Band 4Tolerance

      Black 0 0 x 1 -

      Brown 1 1 x 10 1%

      Red 2 2 x 100 2%

      Orange 3 3 x 1,000 -

      Yellow 4 4 x 10,000 -

      Green 5 5 x 100,000 -

      Blue 6 6 x 1,000,000 -

      Violet 7 7 - -

      Grey 8 8 - -

      White 9 9 - -

      Gold - - - 5%

      Silver - - - 10%

Page 36: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Resistors

The 1kΩ resistors

Brown Black Red Gold

5% 1 0 00

Page 37: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Resistors

Resistors R1 and R2: 1kΩ (brown, black, red, gold)

Page 38: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Resistors

The 820Ω resistor

Grey Red Brown Gold

5% 8 2 0

Page 39: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Resistors

Resistor R3: 820Ω (grey, red, brown, gold)

Page 40: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Diodes

• Diodes only let current flow through them in one direction

1N4001 Rectifier Diode

+ -

1N4148 Signal Diode

+ -

Page 41: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Diodes

Diode D1: 1N4001 (black with grey band)

Page 42: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Diodes

Diodes D2 and D3: 1N4148 (orange with black band)

Page 43: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Light Emitting Diodes (LEDs)

• Like diodes, current only flows through them in one direction

• Three ways of identifying negative lead:

• The shortest lead

-

+

• Largest ‘triangle’ inside the LED

• Flat on the LED package

Page 44: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The LED

LED D4: Green 3mm LED

Page 45: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The 555 Timer

IC1: 555 IC Holder

IC1

Page 46: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Jumper Pins

J1 and J2: ‘Smoothing’ and ‘Relay’ jumpers

Page 47: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Capacitors

Metallised Polyester Capacitors

Electrolytic Capacitors (polarised)

-+

Page 48: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – Capacitors

Capacitors C1 and C2: 0.01μF (blue)

Page 49: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – Capacitors

Capacitor C3: 220μF (smallest black)

Page 50: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – Capacitors

Capacitor C4: 1000μF (largest black)

Page 51: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – Variable Resistor

Variable Resistor VR1: 100kΩ

Page 52: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – Terminal Blocks

Terminal Blocks TB1 and TB2

Page 53: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Construction – The Relay

Relay RL1

RL1

Page 54: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.

Time to Power Up!

+12V0V

Button

M

Motor

Page 55: Presented by Tim Surtell in association with Computer & Software Services Limited Kelsey Park School Electronics Club.