* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Breadboards and Circuits
Nanogenerator wikipedia , lookup
Lumped element model wikipedia , lookup
Schmitt trigger wikipedia , lookup
Operational amplifier wikipedia , lookup
Negative resistance wikipedia , lookup
Index of electronics articles wikipedia , lookup
Electric charge wikipedia , lookup
Integrated circuit wikipedia , lookup
Valve RF amplifier wikipedia , lookup
Power electronics wikipedia , lookup
Nanofluidic circuitry wikipedia , lookup
Resistive opto-isolator wikipedia , lookup
Electrical ballast wikipedia , lookup
Current source wikipedia , lookup
Surface-mount technology wikipedia , lookup
Switched-mode power supply wikipedia , lookup
Power MOSFET wikipedia , lookup
Current mirror wikipedia , lookup
Surge protector wikipedia , lookup
Rectiverter wikipedia , lookup
Opto-isolator wikipedia , lookup
BREADBOARDS, CIRCUITS, AND COMPONENTS (…OH MY) By Nicole Tobias Breadboards Image src: Sparkfun Breadboards: History Prior to the 1960s, A technique called wire-wrap would have been utilized. Wire wrap is a process that involves wrapping wires around conductive posts attached to a perfboard (a.k.a. a protoboard). Image src: Sparkfun via Wikipedia Breadboards: What’s in the name? • So why call these things breadboards? Image src: Sparkfun Breadboards: Why do we use them? • These solderless units are great for: • Making temporary circuits • Prototyping • Testing out new parts Prototyping is the process of testing out an idea by creating a preliminary model from which other forms are developed or copied, and it is one of the most common uses for breadboards Image src: Sparkfun Breadboards: Anatomy Overview of Schematic Symbols What is Electricity? • Electricity is the flow of charge. • Usually our charges will be carried by free-flowing electrons. • Negatively-charged electrons are loosely held to atoms of conductive materials. • free electrons from atoms made to flow in a generally uniform direction. • A closed circuit of conductive material provides a path for electrons to continuously flow. • The charges are propelled by an electric field. We need a source of electric potential (voltage), which pushes electrons from a point of low potential energy to higher potential energy What is Electricity? Common Electrical Units Quantity SI Unit Unit Abbreviation Electric Potential Difference (Voltage) volts V Electric Current ampere A Power watt W Energy/Work/Heat joule J Electric Charge coulomb C Resistance ohm Ω Capacitance farad F Inductance henry H Frequency hertz Hz Prefixes… Prefix (Symbol) Power Numeric Representation kilo (k) 103 1,000 hecto (h) 102 100 deka (da) 101 10 no prefix 100 1 unit deci (d) 10-1 0.1 centi (c) 10-2 0.01 milli (m) 10-3 0.001 Describing the Large… Prefix (Symbol) Power Numeric Representation yotta (Y) 1024 1 septillion zetta (Z) 1021 1 sextillion exa (E) 1018 1 quintillion peta (P) 1015 1 quadrillion tera (T) 1012 1 trillion giga (G) 109 1 billion mega (M) 106 1 million kilo (k) 103 1 thousand no prefix 100 1 unit Describing the small… Prefix (Symbol) Power Numeric Representation no prefix 100 1 unit milli (m) 10-3 1 thousandth micro (µ) 10-6 1 millionth nano (n) 10-9 1 billionth pico (p) 10-12 1 trillionth femto (f) 10-15 1 quadrillionth atto (a) 10-18 1 quintillionth zepto (z) 10-21 1 sextillionth yocto (y) 10-24 1 septillionth Circuit to illuminate a light bulb Circuit Basics • Electricity wants to flow from a higher voltage to a lower voltage • every source of electricity has two sides (often called terminals) A simple Circuit: Voltage, Current, Resistance, and Ohm’s Law Electrical Charge • Electricity is the movement of electrons. • The three basic principles: • Voltage • is the difference in charge between two points. • Current • is the rate at which charge is flowing. • Resistance • is a material’s tendency to resist the flow of charge (current). Grandpa John explains… Voltage, Current, Resistance, and Ohm’s Law When describing voltage, current, and resistance, a common analogy is a water tank. In this analogy, charge is represented by the water amount, voltage is represented by the water pressure, and current is represented by the water flow. So for this analogy, remember: Water = Charge Pressure = Voltage Flow = Current Consider a water tank at a certain height above the ground. At the bottom of this tank there is a hose. The pressure at the end of the hose can represent voltage. The water in the tank represents charge. The more water in the tank, the higher the charge, the more pressure is measured at the end of the hose. Voltage Voltage is the amount of potential energy between two points on a circuit. • Measured in volts • Denoted in equations as ‘V’ Current Current is the amount of charge flowing through the circuit over a period of time. • Measured in Amperes (usually just referred to as “Amps”). • An ampere is defined as 6.241*1018 electrons (1 Coulomb) per second passing through a point in a circuit. Amps are represented in equations by the letter “I”. • The higher the pressure, the higher the flow Resistance • In electrical terms, this is represented by two circuits with equal voltages and different resistances. The circuit with the higher resistance will allow less charge to flow, meaning the circuit with higher resistance has less current flowing through it. Ohm’s Law • Ohm defines the unit of resistance of “1 Ohm” as the resistance between two points in a conductor where the application of 1 volt will push 1 ampere, or 6.241×1018 electrons. • usually represented in schematics with the greek letter “Ω” • The formula (Ohm’s Law): 𝑉 =𝐼 ∗𝑅 Where • V = Voltage in volts • I = Current in amps • R = Resistance in ohms Ohm’s Law Experiment • http://www.us.kingbright.com/images/catalog/SPEC/WP7113LID.pdf • We will need the following things: • An LED (red) • Wires • Power Supply packet Hook up the Power-Barrel in the following way: Ohm’s Law Experiment (Cont.) • Why is the following design bad? Ohm’s Law Experiment (Cont.) We need to determine the appropriate sized resistor for the circuit… Looking at the Datasheet our LED is: • RED • 2mA, or 0.002 Amps Now let’s figure out the resistor… Ohm’s Law Experiment (Cont.) Use the Formula: Therefore, Using our values, Solving for resistance, 𝑉 =𝐼 ∗𝑅 𝑉 𝑅= 𝐼 9𝑉 𝑅= 0.002𝐴 𝑅 = 4500Ω *4.7k Ohms will be sufficient to use here Success! We’ve chosen a resistor value that is high enough to keep the current through the LED below its maximum rating, but low enough that the current is sufficient to keep the LED nice and bright. Ohm’s Law Experiment (Cont.) *4.7k Ohms will be sufficient to use here Now that we have mentioned a few of the major terms… let’s talk about the parts! Diodes • The key function of an ideal diode is to control the direction of current-flow. • Current passing through a diode can only go in one direction, called the forward direction. • Current trying to flow the reverse direction is blocked. They’re like the oneway valve of electronics. • As long as the voltage across the diode isn’t negative, it’ll “turn on” and conduct current. Current can flow from the anode end to the cathode, but not the other direction. Transistors • Transistors make our electronics world go ‘round. • Two basic types: bi-polar junction (BJT) and metal-oxide field-effect (MOSFET)… but we will mainly look at the BJT kind of which there are two versions: NPN and PNP Back to water analogy… LEDs • LEDs (that’s “ell-ee-dees”) are a particular type of diode that convert electrical energy into light. • LED stands for “Light Emitting Diode.” Capacitors • two-terminal, electrical component. • Along with resistors and inductors, they are one of the most fundamental passive components we use. • What makes capacitors special is their ability to store energy; they’re like a fully charged electric battery. • Measured in farads – unit of electrical capacitance (the ability of a body to store an electrical charge. Resistors • The most fundamental of circuit components and symbols! • Resistors on a schematic are usually represented by a few zig-zag lines, with two terminals extending outward. • Resistors are electronic components which have a specific, neverchanging electrical resistance. • They are passive components • they only consume power (and can’t generate it). • The electrical resistance of a resistor is measured in ohms. The symbol for an ohm is the greek capital-omega: Ω. Resistors Further Reading Resistors in Series • Sometimes you may calculate a resistor value that you need yet is not of the standard values that they are made in. • Sometimes going up a size of resistance is too much. • What can we do? • Put them in Series! • We simply add the values together N resistors in series. The total resistance is the sum of all series resistors. • So, for example, if you just have to have a 12.33kΩ resistor, seek out some of the more common resistor values of 12kΩ and 330Ω, and butt them up together in series. Resistor Color Code Chart What resistor is this? • Look at the colors and use chart on previous slide… Yellow = 4 Violet = 7 Brown = 1 Gold = (tol) +/- 5% Formula = first_second * 10^third So, 47*10^1 = 470 Ohms with a tolerance of +/- 5% Breadboards: Supply Power • At this point we should probably discuss Polarity… • This is something we have to consider with many of the components that we will be working with. Polarity Polarity indicates whether a circuit component is symmetric or not. • A non-polarized component – a part without polarity – can be connected in any direction and still function the way it’s supposed to function. • A polarized component – a part with polarity – can only be connected to a circuit in one direction. • If a polarized component was connected to a circuit incorrectly, • At best, it won’t work as intended. • At worst, an incorrectly connected polarized component will smoke, spark, and be one very dead part. For our components, it is generally the case that the short lead is ground and the long lead is power. We saw this earlier. Breadboards: Supplying Power <Pull out your kits and lets set up the power supplies.> You will need: 1. 9v Battery 2. Barrel and Connecter 3. Wires (1-3 probably already hooked up from the experiment) 4. Capacitors (100uF and 10 uF) 5. Regulator (3.3v) Breadboards: Supplying Power Breadboards: Supplying Power *Note: Our regulars are for 3.3V instead of 5V. Just be aware of that in the following diagrams Breadboards: Supply Power • Now we must add the Capacitors. • Blowing-up capacitors when you are not careful or reverse the polarity: • http://www.youtube.com/watch?v=3b7mjukhTyQ • http://www.youtube.com/watch?v=4yZxNKyd_lM *Note: Our regulars are for 3.3V instead of 5V. Just be aware of that in the following diagrams Breadboards: Supply Power • At this point we should probably discuss Polarity… Breadboards: Building your first circuit. • The circuit goes as follows: • There is a wire connecting the 3.3V power rail to one leg of an LED. • The other leg of the LED is connected to a ? resistor. (figure this out) • The resistor is then connected to a button. • When the button is pushed, it connects the circuit to ground completing the circuit and turning on the LED. Breadboards: Building your first circuit. • What resistor do we need? 3.3𝑉 𝑅= 0.002𝐴 Solving for resistance, 𝑅 = 1650Ω *Note: Our regulars are for 3.3V instead of 5V. Just be aware of that in the following diagrams Breadboards: Building your first circuit. Yet another video… • http://www.youtube.com/watch?v=k9jcHB9tWko Data Sheets • Transistors (2N3904) • Regulator 3.3V • Capacitors • 10uf • 100uf • LEDs • RED • Yellow • Green • AND Gate Chip • OR Gate Chip • Atmega168 Chip • Breadboard Intro N555 .pdf Let’s try some Logic Gates… • Not • AND • OR • NAND • NOR •… “Normal” Circuit Not Gate AND Gate OR Gate NAND Gate AND Gate (Chip) Example Slide Credit(s) • Sparkfun.com tutorials • Digikey.com datasheets • Nicole Tobias’s breadboard photos!