Lab: Components

Edited 18 July 2014 by Benedetta Piantella

Introduction

In this lab you will find some of the components you’ll use frequently when making electronic circuits. For more on any given component, please check out its datasheet.

Video: Schematics 5 – Review

A datasheet or spec sheet is a document (printed or .pdf) that describes the technical characteristics of a sensor, electronic component, product, material or other. It includes details on how to use the component in a circuit and other useful design info on how to integrate it into a system together with specifications on performance and other characteristics that are important to know.

Video: Datasheets

Voltage Regulator

5V voltage regulator

Related Video
Related Video

Voltage regulators take a range of DC voltage and convert it to a constant voltage. For example, this regulator, a 7805 regulator, takes a range of 8 – 15 volts DC input and converts it to a constant 5-volt output.

Note the label on the regulator that reads “7805”. Check the label on every component. This physical form factor, called the package, is used by many different components, and not all of them are voltage regulators. This is a TO-220 package.

Related Video
Related Video

The 7800 series regulators come in many different voltages. 7805 is a 5-volt regulator. 7809 is a 9-volt regulator. 7812 is a 12-volt regulator. All the regulators of this family have the same pin connections. In the image above, the left leg is connected to the input voltage. The middle leg is connected to ground. The right leg is the output voltage.

Link to 7805 datasheet

3.3V voltage regulator

3.3V regulators are also common. Note that these ones don’t have the same pin configuration as the 7805 regulators!

LED

LEDs

Related Video

LEDs, or Light Emitting Diodes, are diodes that emit light when given the correct voltage. Like all diodes, they are polarized, meaning that they only operate when oriented correctly in the circuit. The anode of the LED connects to voltage, and the cathode connects to ground. The anode in the LEDs in this photo is the longer leg on each LED. LEDs come in many different packages. The packages above have built-in lenses.

Related Video

These LEDs are the cheapest you can buy, and they’re not very bright. You can get superbright LEDs as well, which are much brighter. If you’re working on applications that need very small light sources, you can also get LEDs in a surface mount package.

LEDs can only handle a limited amount of current and voltage. The details should be covered in each LED’s datasheet, but if not, here’s a link to a handy LED current calculator. For most common LEDs running at 5 volts, a resistor between 220 and 1K ohms will do the job.

Solderless Breadboard

Solderless breadboard

Related Video

Solderless breadboards are reusable prototyping tools for electronics that allow you to build and experiment with circuits simply by plugging components in and out of its rows and columns. They come in different shape and sizes.

Resistors

Resistors

Related Video

Resistors resist the flow of electrical current. When placed in series, they reduce the voltage, and limit the current. The bands on a resistor indicate the resistor’s value. Here’s a handy resistor color code calculator.

Potentiometers

Potentiometers

Related Video

Potentiometers are variable resistors. The two outside terminals act as a fixed resistor. A movable contact called the wiper moves across the resistor, producing a variable resistance between the center terminal and either of the two sides.

Related Video
Related Video

Trimmer potentiometers

Trimmer potentiometers are designed to be mounted on a circuit board, difficult to turn, so you can use them to adjust a circuit. They’re handy to use as physical variables, to tune your project.

Switches

Momentary switches

Related Video
Related Video

Switches are one form of digital input. There are many kinds of switches. The two most useful categories are momentary switches, which remain closed only when you press them, and toggle switches, which stay in place after you switch them.

Toggle switches

Photocells

Photocell

Related Video

Photocells are variable resistors whose resistance changes as the light hitting them changes.

Thermistors

Thermistor

Thermistors are variable resistors whose resistance changes as the temperature changes.

Capacitors

Related Video

Capacitors store electrical energy while there’s energy coming in, and release it when the incoming energy stops. They have a variety of uses. One common use is to smooth out the dips and spikes in an electrical supply. This use is called decoupling.

Related Video

Ceramic capacitors

Ceramic capacitors are cheap and unpolarized. They generally have very small capacitance values. They’re useful decoupling caps in a low-current circuit. You often see them used to decouple the power going into a microcontroller or other integrated circuit.

The number on a ceramic cap gives you its value and order of magnitude. For example, 104 indicates a 0.1 microfarad (uF) cap. 103 indicates a 0.01 microfarad cap.

Electrolytic capacitors

Electrolytic capacitors can generally store more charge than ceramic caps, and are longer lasting and more expensive. They’re usually polarized, meaning that they have a positive leg and a negative leg. This is because current flows more efficiently through them one way than the other.

Electrolytic capacitor detail

An electrolytic cap will have a + or – on one side, as shown here.

Diodes

1N4001 diodes

Related Video

Diodes permit voltage to flow in one direction and block it in the other direction. LEDs are a type of diode, as are the 1N4001 diodes shown here. They’re useful for stopping voltage from going somewhere you don’t want it to go.

Zener diodes

Zener diodes have a breakdown voltage past which they allow current to flow in both directions. They’re used to chop off excess voltage from a part of a circuit.

Transistors

Transistors

Video: Schematics 3 – Transistors

Transistors act as electronic switches. When you put a small voltage across the base and emitter, the transistor allows a larger current and voltage to flow from the collector to the emitter.

Related Video

Power Jacks

DC power jack disassembled
DC power jack

Battery Holders

AA battery holder
9V battery snap

Motors

Servo Motor

Servo motor

Video: Analog Output: Servo

A servo motor is paired with an encoder (e.g. an Arduino) to provide position/speed readings and control messages in a feedback loop. This loop is used to precisely control of the servo’s degree of rotation.

DC Motor

DC motor

Related Video

DC motors utilize induction (an electromagnetic field generated by current flowing through a wire coil) to rotate a central shaft. You can reverse the direction that the shaft rotates by reversing the leads powering it.

Gear Kit

Gearbox kit

Gears can be used to change the speed and torque of motors.

H-Bridge

H-bridge

An H bridge is an electronic circuit that enables a voltage to be applied across a load in either direction. They are often used to control the direction of DC motors.

Electromechanical Relay

Electromechanical relay

Like transistors, relays are electronic switches. Electromechanical relays contain a small coil that, when energized, creates a magnetic field that moves a small metal armature to open or close an electrical contact. Relays can handle higher current than transistors and can be used for AC or DC loads. However, because they rely on a physical mechanism, they are slower and more prone to wearing out. If you want to control a relay with the Arduino, you will need to use a transistor as an intermediary because most relays draw more current than the Arduino’s output pins can supply.

Screw Terminal

Screw terminals

Screw terminals are electrical connectors that hold wires in place with a clamping screw. They allow for a more secure connection than female headers and more flexibility than soldering a wire in place.