Changes

Jump to navigation Jump to search

Workshop: Introduction to electronics

912 bytes added, 00:51, 26 February 2020
m
Learning Objectives
''(Generally, this workshop is offered at least once a week on a rotating basis. Check the [http://designandbuildlab.com/?page_id=445/ Lab calendar] for up-to-date availability!)''{{Workshop header}}
==Introduction==
Welcome to Basic Electronics! This workshop is designed as a primer on the field of electronic circuits. You will be introduced to the fundamental concepts of electrical engineering, including both signal flow and basic circuit analysis. Breadboards are introduced, and you will then experiment with simple components and build several simple circuits. Finally, you will learn the basics of soldering, and assemble a permanent first prototype of your circuit!
==='''What concepts are we going to cover?==='''
*Electricity and Ohm’s Law
*Making a permanent first build
==='''In what context are we going to be covering them?==='''
*Breadboards
*Printed Circuit Boards (PCBs)
==='''What am I expected to know before taking this Workshop?===''' 
Nothing! This course is designed as an absolute introductory primer in the field of electronics.
==='''Where can I go from here?===''' 
DaBL has a series of Workshops designed to the teach the fundamentals of modern low-power electronics. This Workshop is the first step in that process. After mastering this material, there are two paths which can be taken, either separately or concurrently:
===Breadboards are the best===
[[File:Breadboard 1.png|alt=breadboard|thumb|Top face and the internal connections of blackboard]]
We’ll be using three components (a 9V battery, an LED, and a resistor), plus a very special piece of equipment: the breadboard. The '''breadboard''' is an incredibly handy tool used to rapidly assemble and modify a circuit; to '''prototype''' without the need to solder. A series of isolated metal rails are mounted inside a plastic housing, which can be accessed through holes on the breadboard's front face. The rails themselves allow you to electrically connect components, and the holes in the plastic housing hold the components in place. Take a look at the top face and the internal connections:
'''Setting it up'''
Let’s set up your breadboard so that you can conveniently access power from either side. Grab your '''jumper''' pack and pull out two wire jumpers, each about two inches long. On the right end of the board, use one of the wires to connect the top blue rail to the bottom blue rail, and the other to connect the top red rail to the bottom red rail, like so:.
Push those legs in all the way! Now you have access to power from both the top and bottom of the breadboard. You won’t always need to do this; in fact, you may encounter projects which require more than one source of power, in which case you most assuredly will ''not'' want to do this. But since we’ll only be using one source of power in this course (the 9V battery), wiring the same power to both the top and the bottom makes building the circuits easier.
===Connecting the components===
The first circuit you’re going to hook up only has the three aforementioned components: a 9V battery, a 220Ω resistor, and an LED. A full explanation of their functionality is coming, but for now recognize that the goal is to get the LED to light up - ''without'' burning it out! To do so successfully, you’ll use your breadboard to connect:
{| class="wikitable"
|1. the positive rail to the long leg of the LED
|}
Your complete circuit should now look something like this:
[[File:LED circuit.png|alt=LED circuit|center|thumb|LED circuit]]
and your LED should be lit! Here’s another important note: as long as you’re correctly following the internal connections of the breadboard, it’s up to you where on the breadboard you wire up your circuit. It also doesn’t matter which order you place your resistor and LED in: since there is only one path for the current to take, the current is the same everywhere, and it makes no difference which component comes first. So you could also connect your circuit in a different way and it would function exactly the same:
===Aside: Uh oh, something went wrong…===
 ===='''Problem: the LED is not lit.===='''<blockquote>'''Cause''': your circuit is not complete; your LED is in backward; or your battery is dead. </blockquote><blockquote>'''Solution''': trace your circuit to see if the current can flow in a loop; switch the direction of the LED; or swap the battery. ====</blockquote>'''Problem: the green LED turned orange, then turned off. Something smells funny.===='''<blockquote>'''Cause''': you’ve hooked up the LED directly across the battery, skipping the resistor. Congratulations - you’ve burnt out an LED! </blockquote><blockquote>'''Solution''': unplug the battery, ''carefully'' pull out the dead LED (it will be hot), grab a new one, and fix your circuit.</blockquote>
==Activity 2: Schematics and components==
===Voltage Source===
[[File:Battery schematic.png|alt=battery|thumb|150x150px|battery]]
A voltage source creates a potential difference; in the analogy, it is the pump pushing water up to the top floor of the house. There are many types of voltage sources; the most common is the battery. Batteries are represented in schematics as such:
===LEDs===
[[File:LED schematic.png|alt=LED|thumb|161x161px|LED]]
The '''LED''' is a special type of diode that emits light when current flows through it. “That’s great!”, you’ll say, “But what in the world is a diode?” A '''diode''' is a ''one-way voltage-controlled current gate''. We won’t get into the semiconducting properties of the materials which make up diodes; you can simply think of them as a valve in the water analogy - one that only works if the pump pushes water high enough into the system. The diode '''insulates''' when there isn’t enough voltage across it; no current will flow through. When enough voltage ''is'' dropped across is (called the ''forward voltage''), it opens up and allows current to flow through - it '''conducts'''. In the case of a light emitting diode, when the gate opens and current is flowing, part of the energy of that flowing current is converted into photons; light!
===Resistor===
[[File:Resistor schematic.png|alt=Resistor|thumb|200x200px|Resistor]]Resistors oppose the flow of electrons. Their schematic symbol varies depending on if you’re in the United States or somewhere else. This course will use the international version., which is on the right in the image:
Resistors are not polarized; you can connect them in either direction, and they will function the same. Their ''nominal resistance'' is stated in Ohms (Ω).
If you look at a resistor, however, you’ll notice no print on the side; only colored bands. They are used to indicate the nominal resistance value! Take a look at Appendix A [[Resistance#Resistor color coding|resistor color coding]] for more information.
===Going further===
Based on what you’ve just seen, the three quantities of electricity which we introduced earlier - voltage, current, and resistance - are clearly tied together somehow. It turns out that they’re actually mathematically related - and that relation is very easy! The equation, called '''Ohm’s Law''', will be one of the most important tools in your toolkit:
<math>V=IR</math>
'''V''' is the variable for voltage, '''I''' is for current, and '''R''' is for resistance. If you know two of the variables, you can solve for the third! Let’s do a simple calculation. We actually know the total ''V'' for the system: 9V. The LDRs you are using have a minimum resistance of 3kΩ, so we also know ''R''! All we need to do is solve for ''I''.  
<math>V = IRmin I = VRmin I = 93kΩ I =3mAIR_{min}</math>
Great! The LDRs have a ''maximum'' resistance of 200kΩ. Find the current when resistance is maximized.<math>I=\frac{V}{R_{min}}</math>
<math> I=VRmax\frac{9V}{3k \Omega}</math>
<math>I=____________mA3mA</math>
For those who want to explore further, there is an expanded analysis of Ohm’s Law in Appendix B. You should see now, however, why Why did the LED in the last activity burnt burn out: you weren’t limiting the current!? ADD CONTENT HERE.
==Activity 4: Potentiometers, and series vs parallel==
You already know that changing the resistance of part of a circuit also changes the current; more resistance equals less current, and less resistance equals more current. So by extension, varying ''the resistance between two paths should change their currents as well''. Congratulations: you’ve just made a current crossfader!
For a more detailed explanation of series and parallel, see Appendix C: Series Versus Parallel[[Resistance#Resistors in series and parallel|resistors in series and parallel]].
==Activity 5: Soldering==
The PCB also has a layer on top of the copper called the '''solder mask''', which protects the internal traces from damage. On this board, it is purple. Usually on top of the solder mask, the PCB will also have a '''silk screen''', which contains text and images helpful to anyone looking at the board. This is the circuit you’ll be soldering together:
 
         
You’ll notice that it’s just a combination of two of the circuits you’ve already built, with one addition: a '''switch'''. This switch has a single '''pole''' which can only connect to one other pole; it is said to only have one way to be '''thrown'''. Therefore, this is a '''S'''ingle '''P'''ole, '''S'''ingle '''T'''hrow switch; '''SPST'''.
Congratulations; you have just made a permanent prototype of your first circuit! Test it out to make sure everything works.
Now turn off your iron, and return all the tools back to their rightful positions in the shop - ''but be mindful of the iron, cradle, and station''. The iron needs to cool down before storing it. Let it sit for five to ten minutes, and then pack it up as well.==Workshop checklist=====Learning Objectives===By the end of this Workshop, you should: #understand the relationship between voltage, current, and resistance.#know how to identify different electronic components.#understand the difference between series and parallel systems.#understand how a breadboard works.#recognize the dangerous elements of the soldering station.#understand how to solder ===Measurable Outcomes===By the end of this Workshop, you should be able to: #apply Ohm's Law to solve for an unknown quantity.#identify circuit elements in series and in parallel.#use a breadboard to connect various components.#use a soldering station to solder components onto a basic printed circuit board.
137
edits

Navigation menu