15
So You Want to Build a Circuit? Bryan Hughes, Ph.D. @nebrius Frontend Dev at Rdio

So You Want to Build a Circuit

Embed Size (px)

Citation preview

Page 1: So You Want to Build a Circuit

So You Want to Build a Circuit?Bryan Hughes, Ph.D.

@nebrius Frontend Dev at Rdio

Page 2: So You Want to Build a Circuit

Voltage and CurrentVoltage is the potential difference

between two points, and current is the flow rate of electrons between them

-

e-

e-

e-

+

Page 3: So You Want to Build a Circuit

Basic Components

• Resistor

• Capacitor

• Inductor

• Battery

• Diode

• LED

• VCC

• GND

Page 4: So You Want to Build a Circuit

(1) V = I ·R

(2) P = V · I =

V 2

RSeries resistors

(3) V1 = V · R1

R1 +R2

Parallel resistors

(4) I = V · R1 ·R2

R1 +R2

LED resistor

(5) R =

V � Vdrop

Iideal

1

Ohm’s Law

Resistor: Battery: Ground:

V = I ·R (1)

V = voltage (V)

I = current (A)

R = resistance (⌦)

(2)

P = V · I =

V 2

R(3)

P = power (W)

(4)

Series resistors

V1 = V · R1

R1 +R2(5)

Parallel resistors

I = V · R1 ·R2

R1 +R2(6)

LED resistor

R =

V � VLED

I(7)

1

Page 5: So You Want to Build a Circuit
Page 6: So You Want to Build a Circuit

(1) V = I ·R

(2) P = V · I =

V 2

RSeries resistors

(3) V1 = V · R1

R1 +R2

Parallel resistors

(4) I = V · R1 ·R2

R1 +R2

LED resistor

(5) R =

V � Vdrop

Iideal

1

Power Usage

Resistor: Battery: Ground:

V = I ·R (1)

V = voltage (V)

I = current (A)

R = resistance (⌦)

(2)

P = V · I =

V 2

R(3)

P = power (W)

(4)

Series resistors

V1 = V · R1

R1 +R2(5)

Parallel resistors

I = V · R1 ·R2

R1 +R2(6)

LED resistor

R =

V � VLED

I(7)

1

Page 7: So You Want to Build a Circuit

(1) V = I ·R

(2) P = V · I =

V 2

RSeries resistors

(3) V1 = V · R1

R1 +R2

Parallel resistors

(4) I = V · R1 ·R2

R1 +R2

LED resistor

(5) R =

V � Vdrop

Iideal

1

Series Resistors

Resistor: Battery: Ground:

Page 8: So You Want to Build a Circuit

(1) V = I ·R

(2) P = V · I =

V 2

RSeries resistors

(3) V1 = V · R1

R1 +R2

Parallel resistors

(4) I = V · R1 ·R2

R1 +R2

LED resistor

(5) R =

V � Vdrop

Iideal

1

Parallel Resistors

Resistor: Battery: Ground:

Page 9: So You Want to Build a Circuit

Light Emitting Diodes

(1) V = I ·R

(2) P = V · I =

V 2

RSeries resistors

(3) V1 = V · R1

R1 +R2

Parallel resistors

(4) I = V · R1 ·R2

R1 +R2

LED resistor

(5) R =

V � VLED

I

1

Resistor: Battery: Ground:LED:

Page 10: So You Want to Build a Circuit

Volta

ge

0

1

2

3

4

5

Time

Voltage Low Threshold High Threshold

Digital LogicLow: -0.5V to 0.2⋅Vcc

High: 0.7⋅Vcc to Vcc + 0.5V

Page 11: So You Want to Build a Circuit

SwitchesPull Down Resistors stabilize the voltage while the switch is open

Page 12: So You Want to Build a Circuit

RelaysSoftware controllable switches

Page 13: So You Want to Build a Circuit

TransistorsAt the heart of almost every signal conversion circuit, such as power boosting and voltage level shifting

Page 14: So You Want to Build a Circuit

Power concerns

• Everything has power limits

• Exceeding those limits == damage

• Microcontrollers have low limits

• Key to great hardware is making everything happy

Page 15: So You Want to Build a Circuit

Thank YouBryan Hughes

@nebrius