Difference between revisions of "An Introduction to Wearable Electronics"
Line 49: | Line 49: | ||
Also, note that a switch does not add any resistance to a circuit and simply adding a switch between power and ground will create a short circuit. | Also, note that a switch does not add any resistance to a circuit and simply adding a switch between power and ground will create a short circuit. | ||
+ | |||
+ | == Series Vs. Parallel == | ||
+ | [[file:Series-and-Parallel-Circuits-.jpg]] | ||
+ | |||
+ | There are two different ways in which you can wire things together called series and parallel.<br> | ||
+ | [[file:Series-parallel-circuits-connected.jpg]] | ||
+ | |||
+ | When things are wired in series, things are wired one after another, such that electricity has to pass through one thing, then the next thing, then the next, and so on. | ||
+ | |||
+ | In the first example, the lightbulbs, switch, and battery are all wired in series because the only path for electricity to flow is from one to the next, and to the next. | ||
+ | |||
+ | When things are wired in parallel, they are wired side by side, such that electricity passes through all of them at the same time, from one common point to another common point | ||
+ | |||
+ | In the next example, the motors are wired in parallel because the electricity passes through both motors from one common point to another common point. | ||
+ | |||
+ | in the final example the lightbulbs are wired in parallel, but the pair of parallel motors, the switch and batteries are all wired in series. | ||
+ | |||
+ | So, the current is split between the lightbulbs in a parallel fashion but still must pass in series from one part of the circuit to the next. | ||
+ | |||
+ | If this does not make sense yet, do not worry. When you start to build your own circuits, all of this will start to become clear. | ||
+ | |||
= Soft Materials = | = Soft Materials = |
Revision as of 05:41, 12 January 2020
Basic Introduction to Electronics
Electricity!
There are two types of electrical signals, those being alternating current (AC), and direct current (DC).
With alternating current, the direction electricity flows throughout the circuit is constantly reversing.
You may even say that it is an alternating direction. The rate of reversal is measured in Hertz, which is the number of reversals per second.
So, when they say that the US power supply is 60 Hz, what they mean is that it is reversing 120 times per second (twice per cycle).
With Direct Current, electricity flows in one direction between power and ground. In this arrangement,
there is always a positive source of voltage and ground (0V) source of voltage. You can test this by reading a battery with a multimeter.
Speaking of voltage, electricity is typically defined as having a voltage and a current rating.
Voltage is obviously rated in Volts and current is rated in Amps. For instance,
a brand new 9V battery would have a voltage of 9V and a current of around 500mA (500 milliamps).
Electricity can also be defined in terms of resistance and watts. We will talk a little bit about resistance in the next step,
but I am not going to be going over Watts in depth. As you delve deeper into electronics you will encounter components with Watt ratings.
It is important to never exceed the wattage rating of a component, but fortunately, that Wattage of your DC power supply can easily be calculated
by multiplying the voltage and current of your power source.
If you want a better understanding of these different measurements, what they mean, and how they relate,
check out this [informative video] on Ohm's Law.
Circuits
A circuit is a complete and closed path through which electric current can flow. In other words, a closed-circuit would allow the flow of electricity between power and ground. An open circuit would break the flow of electricity between power and ground.
Anything that is part of this closed system and that allows electricity to flow between power and ground is considered to be part of the circuit.
Resistance & short circuits
In the circuit above, the motor that electricity is flowing through is adding resistance to the flow of electricity. Thus, all of the electricity passing through the circuit is being put to use.
In other words, there needs to be something wired between positive and ground that adds resistance to the flow of electricity and uses it up. If a positive voltage is connected directly to the ground and does not the first pass through something that adds resistance, like a motor, this will result in a short circuit. This means that the positive voltage is connected directly to the ground.
Likewise, if electricity passes through a component (or group of components) that does not add enough resistance to the circuit, a short will likewise occur (see Ohm's Law video).
Shorts are bad because they will result in your battery and/or circuit overheating, breaking, catching on fire, and/or exploding.
It is very important to prevent short circuits by making sure that the positive voltage is never wired directly to the ground.
That said, always keep in mind that electricity always follows the path of least resistance to ground. What this means is that if you give positive voltage the choice to pass through a motor to ground, or follow a wire straight to ground, it will follow the wire because the wire provides the least resistance. This also means that by using the wire to bypass the source of resistance straight to the ground, you have created a short circuit. Always make sure that you never accidentally connect positive voltage to the ground while wiring things in parallel.
Also, note that a switch does not add any resistance to a circuit and simply adding a switch between power and ground will create a short circuit.
Series Vs. Parallel
There are two different ways in which you can wire things together called series and parallel.
When things are wired in series, things are wired one after another, such that electricity has to pass through one thing, then the next thing, then the next, and so on.
In the first example, the lightbulbs, switch, and battery are all wired in series because the only path for electricity to flow is from one to the next, and to the next.
When things are wired in parallel, they are wired side by side, such that electricity passes through all of them at the same time, from one common point to another common point
In the next example, the motors are wired in parallel because the electricity passes through both motors from one common point to another common point.
in the final example the lightbulbs are wired in parallel, but the pair of parallel motors, the switch and batteries are all wired in series.
So, the current is split between the lightbulbs in a parallel fashion but still must pass in series from one part of the circuit to the next.
If this does not make sense yet, do not worry. When you start to build your own circuits, all of this will start to become clear.