Electricity 101
Introduction
Electronics use electric current to power components and do something useful. A charge is produced in a material when electrons are added or removed from an electrically neutral material. When there are fewer electrons than neutral, then the material has a positive charge. When there are more electrons, then the material has a negative charge.
To create an electric current, you need a positive charge, a negative charge, and a conductive material along which electrons can flow. A charged battery, for example, uses chemical reactions to separate the positive and negative charges. Then, when you connect the positive to the negative terminal, electrons can flow from one to the other.
This difference in charges is called the potential difference, or the voltage. You can think of the voltage as the amount of work per unit charge that can be done by a power source such as a battery.
When you have an electrical component between the positive and negative terminals, then the component is driven to do work.
Materials
- TinkerCAD battery lamp circuit
- TinkerCAD Arduino lamp circuit
- TinkerCAD Arduino LED circuit
- 1.5V Battery
- 1.5V Lamp
- 2 x wires for positive and negative battery terminals
- Battery and Bulb Holder (use a viewer like 3D Viewer if you wish to view)
Activity
Learn about Electricity using TinkerCAD and Physical Demos
TinkerCAD is a program that will allow you to design and simulate circuits. The circuit for today's activity is available here. You should see the following image:
You can click on either simulation or sign up for a TinkerCAD account to run the simulation. We're going to build the same circuit in real life. The purpose of this activity is to introduce you both to TinkerCAD for design and siumulation, and the correspondence between the simulation and real life.
The model circuit
Take a battery and attach a component (such as a lamp) between the positive and negative terminals. You can see that it lights up.
This is your model circuit. All circuits work like this circuit, just at different levels of complexity. If you ever feel like you don't understand a circuit, model it in terms of this basic circuit of positive terminal, component, negative terminal.
When the circuit is closed, the lamp is on (often depicted as 1). When the circuit is open, the lamp is off (often depicted as a zero). When the voltage is HIGH (1), then work can be done, but when it is LOW (0), no work can be done.
Run the simulation, and compare to the physical components.
Electricity formulas
You can look at the engineering circuit diagram by clicking on the Schematic View button. You don't need to learn how to read circuit diagrams in this class, but some people want to.
The canonical electrical formula is Ohm's law: V=IR. This means that voltage (V) is equal to current (I) multiplied by resistance (R).
It's best to think of this as a mathematical statement about the relationship between voltage, current, and resistance. For example, Arduino uses either a 5 volt logic system or a 3.3.V logic system, so the left hand side of V=IR would be either 5V or 3.3V. I x R must equal 5V across a 5V Arduino circuit.
Arduino model circuit
Just like the battery, the Arduino has a positive pins (+5V and 3.3V) and ground pin(GND or 0V). You can drive an lamp circuit from these without any programming whatsoever.
Plug in your lamp from the 3.3V positive pin to the GND. Be careful! You may burn out the lamp if you use too high of a voltage.
On your own
Using LEDs for a model circuit
Look at the LED Arduino circuit on TinkerCAD.
The LED will use up about 2V by making the light, so the rest of the circuit needs to "use up" the 5V. Plugging in an LED directly between the 5V pin and ground (which is 0V), would drive the current I very high. That very high current will blow up an LED (luckily, it's usually not dangerous, just annoying).
Therefore, your LED circuits need to have resistors. By having more resistance in the circuit, the current will be lower, and more of the energy of the potential difference in the voltage will be converted to heat energy in the resistor instead of the LED.
Using ~300 Ohm resistor, LED, and the Arduino, create a model circuit. It will be just like your battery circuit, but using the Arduino as a power source.
When you've done this, add more LEDs one-by-one. How many LEDs can you drive off of your 5V pin? Do you have to change the number, position, or value of the resistors? What happens if you put the LEDs in series or in parallel?
Philosophical Connection
Although simple, this circuit can produce many interesting philosophical connections. The model circuit is a binary circuit: it's either on or off, 1 or 0, HIGH or LOW. It therefore can express truth values such as true or false. A more complex circuit can perform arbitrary computations. You are looking at the base unit of a computer. If you believe that there is a connection between computation and consciousness, then this is the base unit of that consciousness. How, then, do wires like these combine to make something conscious? Discuss with your group.