Physical Computing
with
Raspberry Pi
Lets get Physical! by the Raspberry Pi Foundation
Electric Circuits
What is electricity?
What is electrical current?
What is an electrical circuit?
Physical Computing with Raspberry Pi
The flow of electrons through a conductor is called electrical current.
Charged particles that move through a substance creates electricity.
Electric Circuits
which means "to go around."
circuit
> Latin circuitus
Physical Computing with Raspberry Pi
Electric Circuits
What is a circuit?
Physical Computing with Raspberry Pi
A closed loop that allows electrons to flow from
a power source, through components, and back to the
power source.
This closed loop of electrons allows the
electrical current to continue to flow.
If the loop is open, no electrons can flow.
Physical Computing with Raspberry Pi
Components
Breadboard
Light-emitting Diode (LED)
Resistor
Tactile Push Button
Jumper Wires
Physical Computing with Raspberry Pi
Components
Breadboard
Physical Computing with Raspberry Pi
Components
- passive components with a specific, never-changing, electrical resistance
- passive = consumes power (cannot generate power)
- resistance = limits the flow of electrons through a circuit
Resistors
Physical Computing with Raspberry Pi
Components
Resistors
- resistance is measured in ohms: Ω
- Ohm's Law: the current through a conductor between two points, is directly proportional to the voltage across the two points
- Named after Georg Simon Ohm
Physical Computing with Raspberry Pi
GPIO (General Purpose Input Output)
REMEMBER: Randomly plugging wires into your GPIO will kill your Pi!
These pins are a physical interface between the RPi and the outside world.
Think of the pins as switches that you can turn
on or off (input),
or that the RPi can turn on or off (output).
Physical Computing with Raspberry Pi
GPIO Physical Numbers
Randomly plugging wires into your GPIO will kill your Pi!
GPIO (General Purpose Input Output)
Physical Computing with Raspberry Pi
GPIO (General Purpose Input Output)
Randomly plugging wires into your GPIO will kill your Pi!
Source: http://pinout.xyz/
Circuit Playground
Source: Adafruit
Physical Computing with Raspberry Pi
Videos by
- Building on the Breadboard
- Build an LED Light Circuit
- Learn about Resistors
- Circuit & Breadboard Review
Source: EEME
Physical Computing with Raspberry Pi
- Introduction to Capacitors
- Large and Small Capacitors
- Capacitors in the Real World
- Measuring Resistance - Ohms
Lessons at eeme.co include:
Traffic Lights
Traffic Lights
Unicorn Rainbow Lights
Source: Raspberry Pi
1) Build your rainbow circuit
Unicorn Rainbow Lights
Source: Raspberry Pi
Unicorn Rainbow Lights
2) Light up your rainbow in Scratch 2
Source: Raspberry Pi
Unicorn Rainbow Lights
3) Make your rainbow blink in a pattern
Source: Raspberry Pi
Unicorn Rainbow Lights
4) Make your rainbow blink in a pattern
Source: Raspberry Pi
Physical Computing with Raspberry Pi
By zoidbergs
Physical Computing with Raspberry Pi
- 884