Professional Documents
Culture Documents
Electrical Engineering Full Day
Electrical Engineering Full Day
Circuits
1
What Do Engineers Do?
Study the forces of nature
Apply them to do useful things
Example:
Water Wheel
What are the forces?
How is it useful?
2
Water Wheels
+ =
Turn on a light
Water Electricity
River Battery
Pipes Resistors, Wires
Wheel Light Bulb
5
What do you need
to make a Light Bulb Work?
Electricity Makes everything work
Battery Source of flowing Electricity
Resistors, Wires To direct the
electricity where you want it to go and
regulate the flow
Light Bulb To convert the force of the
flowing electricity into light
6
Terminology
Electric Potential like the height of the water
Symbol (V)
Units (Volts - V)
8
Light-Emitting Diode (LED)
Emits light when current
flows through it
Current can only flow in
one direction, from + to -
(like a water wheel that
wont go in reverse)
Long lead (+)
Short lead (-)
9
Resistor
New term:
Resistance how easy is it for
current to flow
Symbol (R)
Unit (Ohm )
NOTE: V=I*R
New circuit element
Resistor
Regulates the flow of current
Like a pipe for electric current to flow
Resistance ~ 1/cross-section-area
A wire is like a resistor with a very
10
low Resistance
Breadboard
Seperate Connected
Node
Breadboards are
One Node used to connect
things quickly
Not
Connected
11
Exercise
Use the battery, the
breadboard, the resistor,
and the LED to make
the LED turn on. 9Volt
10 k
Battery
Follow the LED Circuit
in your handout.
Why is the resistor
necessary?
12
Capacitor
14
Exercise
Go to http://falstad.com/circuit/
Choose Circuits 555 Timer Chip Square
Wave Generator
Build the circuit shown
Use the output to power the LED Circuit from
first exercise
555 Timer Circuit in your handout gives the
circuit, for convenience
Question: Which capacitor makes the LED
blink faster? Why?
15
555 Timer Circuit
9 Volt Battery + lead Tips:
Follow the rough
10 k
layout shown here
555
on your bread-
Timer board
GND
TRIG
VCC
DIS Use the black wire
OUT THRSH
RESET CTRL
10 k
and left rails for
ground
Use the red wire
10 k and right rails for
555
Timer
Output
the 9V battery +
lead
16
Digital Circuits
Analog Circuits
What weve seen up to now
can have any voltage
(in our case, anything between 0V and 9V)
Useful for interfacing to the real world
Digital Circuits
can have only two voltages: high & low
(in our case, only 0V and 5V)
Useful for processing information reliably
17
Transistors
Basically a switch
Two types that we will look at NMOS PMOS
Go to http://falstad.com/circuit
Choose Circuits Logic Families
CMOS CMOS Inverter L L
18
Logic Gates
Can be used to build up
NOT NAND complex functions
Exercise
Go to
in out in1 in2 out
http://falstad.com/circuit
0 1 0 0 1
Choose Circuits Logic
1 0 0 1 1
Families CMOS
1 0 1 CMOS NAND
1 1 0
Click to toggle inputs.
What happens to the
output?
19
Flip-Flops
Used to implement memory in a circuit
Allows behavior to change over time
Exercise
Go to http://falstad.com/circuit
Choose Circuits Sequential Logic
Flip-Flops Master-Slave Flip-Flop
Click to toggle input D. When does the
output Q change?
20
Counters
Counts up from zero to a certain number and
starts over
Binary arithmetic is used
An example of a more complex digital circuit
Exercise
Go to http://falstad.com/circuit
Choose Circuits Sequential Logic Counters 4-
bit Ripple Counter
Watch the output change. What is the highest count
value?
What is the input CLK? What does it remind you of?
21
7493 Counter Chip
Combines all that we
have discussed into
one easy-to-use
package
Refer to the 7493
Counter Circuit in your
handout
CKB CKA
R0(1) NC
R0(2) QA
NC QD
VCC GND
NC QB
22 NC QC
The Need for Voltage Regulators
23
Zener Diode
Current flowing from
+ to - is clamped at
0.8 V
Current flowing from
- to + is clamped at -
5.1 V
lead w/o stripe (+)
+ -
lead with stripe (-)
24
Voltage Regulator Circuit
9Volt 250
Battery 5.1 Volt
Regulator
Output
5.1 Volt
Zener
Diode
Note!
Opposite
direction
from the LED!
25
Exercise
Go to http://falstad.com/circuit
Choose Circuits Diodes Zener Diodes
Voltage Reference
Right click on voltage source Edit
DC Offset = 9V
Right click on 600 resistor Edit
resistance = 250
Right click on zener diode Edit
Zener voltage = 5.1 V
What is the lowest value of resistance for the
second resistor that keeps the voltage at 5V?
What does this mean?
26
Putting it all together
Voltage 9Volt
Battery
250 5.1 Volt
Regulator
Tips
Regulator
Follow the rough
5.1 Volt
Zener
Circuit
Diode
Output
10 k
layout shown here on
555
Timer
your bread-board
Use the black wire and
GND VCC
TRIG DIS
Timer
Circuit 10 k
555 left rails for ground
Timer
Output Use the red wire and
7493
Counter
one right rail for the 9V
CKB
R0(1)
R0(2)
NC
CKA
NC
QA
QD
battery + lead
Use the orange wire
VCC GND
NC QB
7493 NC QC
Counter
Circuit
and the other right rail
10 k
27