Unit 1: Introduction to Hardware (Electronic Components)
This unit introduces the basic electronic components that make up all hardware. You will learn to identify, test, and troubleshoot passive components (resistors, capacitors, inductors), active components (diodes, LEDs, transistors, ICs, MOSFETs), connectors, switches, relays, and more. We also cover safety, datasheets, packaging, and practical testing using a multimeter.
1.1 Introduction to Electronics & Safety
Electronics is the branch of physics and engineering that deals with the flow of electrons (current) through devices like resistors, transistors, and integrated circuits. Safety is paramount when handling electronic components and circuits.
Lab Safety Rules (must know)
- Always disconnect power before assembling or modifying a circuit.
- Use a multimeter to check for voltage before touching any component.
- Wear safety glasses when soldering or cutting leads.
- Keep your work area dry and clean; avoid liquids near electronics.
- Do not exceed component ratings (voltage, current, power).
- Identify polarised components (LEDs, electrolytic capacitors, diodes) before connecting.
Basic Electronics Kit – Typical Contents
- Resistors (various values), capacitors (ceramic, electrolytic), inductors.
- Diodes (1N4007, 1N4148), LEDs (red, green, blue), transistors (BC547, 2N2222).
- ICs (555 timer, op‑amp LM358), breadboard, jumper wires.
- Multimeter, battery holder, switches, buzzers.
Let's Break It Down
Think of electricity like water. Voltage = water pressure. Current = flow rate. Resistance = pipe diameter. Safety means not opening a high‑pressure pipe without protection.
Summary
- Electronics = control of electron flow.
- Safety: power off first, check voltages, wear protection, respect ratings.
- Basic kit includes resistors, capacitors, diodes, transistors, ICs, breadboard, multimeter.
Exam Tip:
Short question: "List any four lab safety rules." Or "What is the purpose of a multimeter in a lab?"
1.2 Passive Components: Resistors, Capacitors, Inductors
Passive components do not require an external power source to operate; they cannot amplify or switch signals. The three main types are resistors (oppose current), capacitors (store energy in an electric field), and inductors (store energy in a magnetic field).
| Component | Symbol | Unit | Key Characteristic | Marking/ID |
|---|---|---|---|---|
| Resistor | Rectangle or zigzag | Ohm (Ω) | Limits current; follows Ohm's law V=IR | Color code (4,5,6 bands) or numeric code (SMD) |
| Capacitor | Two parallel lines | Farad (F) – µF, nF, pF | Stores charge; blocks DC, passes AC | Value printed (e.g., 104 = 100nF); electrolytic have polarity (+/-) |
| Inductor | Coiled loops | Henry (H) – mH, µH | Opposes change in current; passes DC, blocks AC | Color code or printed value; often a coil shape |
Resistor Color Code (4‑band)
| Color | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ×1 | – |
| Brown | 1 | ×10 | ±1% |
| Red | 2 | ×100 | ±2% |
| Orange | 3 | ×1k | – |
| Yellow | 4 | ×10k | – |
| Green | 5 | ×100k | ±0.5% |
| Blue | 6 | ×1M | ±0.25% |
| Violet | 7 | ×10M | ±0.1% |
| Grey | 8 | ×100M | ±0.05% |
| White | 9 | ×1G | – |
| Gold | – | ×0.1 | ±5% |
| Silver | – | ×0.01 | ±10% |
Example: Red, Red, Brown, Gold → 2,2, ×10 = 220Ω, ±5%
Using a Multimeter to Test Passive Components
- Resistor: Set to resistance (Ω) mode. Reading should be within tolerance.
- Capacitor: Use capacitance meter (or DMM with capacitance mode). For electrolytic, connect positive lead to positive probe.
- Inductor: Measure resistance – should be very low (near 0Ω). If open, it's faulty.
Let's Break It Down (Capacitor vs Inductor)
Capacitor = a bucket that stores water (charge). It resists voltage change. Inductor = a flywheel that resists current change. In DC, capacitor becomes open after charging; inductor becomes short.
Summary
- Resistors limit current; use color code to read value.
- Capacitors store charge (polarity matters for electrolytic).
- Inductors store magnetic energy; low DC resistance.
- Multimeter can test all three.
Exam Tip:
You will be asked to decode resistor color bands. Also, know the difference between ceramic (non‑polar) and electrolytic (polar) capacitors.
1.3 Active Components: Diodes, LEDs, Transistors, ICs
Active components can amplify, switch, or control current. They require an external power source. Key types: diodes (allow current one way), LEDs (light‑emitting diodes), transistors (amplify/switch), ICs (integrated circuits – many components on one chip).
Diodes and LEDs
| Component | Symbol | Orientation/Pinout | Forward Bias vs Reverse Bias |
|---|---|---|---|
| Diode (e.g., 1N4007) | Triangle with line (cathode) | Cathode (striped end) is negative side. | Forward bias (anode positive) conducts; reverse bias blocks (except small leakage). |
| LED | Diode symbol with arrows (light) | Anode (longer lead), cathode (shorter lead, flat side). | Same as diode, but also emits light when forward biased (needs current limiting resistor). |
Testing Diode/LED with Multimeter (Diode mode)
- Red probe to anode, black to cathode → forward voltage reading (0.6V for Si diode, 1.8‑3.3V for LED).
- Reverse probes → OL (over limit) or no reading → good.
- If both directions show 0 or OL, component is shorted or open.
Transistors (BJT – Bipolar Junction Transistor)
| Type | Pinout (TO‑92 package) | Operation | Example |
|---|---|---|---|
| NPN | Emitter (E), Base (B), Collector (C) – often left to right (EBC or ECB depending on part). | Small base current controls larger collector current (current amplifier). | BC547, 2N2222 |
| PNP | Similar, but currents flow opposite direction. | Base pulled low to turn on. | BC557, 2N2907 |
Testing Transistors with Multimeter (Diode mode)
- NPN: Base to Emitter (B‑E) and Base to Collector (B‑C) should read like forward diode (~0.6V) when red on base, black on E/C. Reverse should be OL.
- PNP: opposite polarity (black on base gives reading).
- Collector to Emitter (C‑E) should be OL (open) in both directions (unless shorted).
MOSFET (Metal‑Oxide‑Semiconductor Field‑Effect Transistor)
MOSFETs are voltage‑controlled switches. They come in N‑channel and P‑channel types. In logic circuits, they act as switches: N‑channel (NMOS) turns on with high gate voltage; P‑channel (PMOS) turns on with low gate voltage. CMOS (Complementary MOS) uses both NMOS and PMOS to build logic gates (NAND, NOR, etc.).
MOSFET Pinout (typical TO‑220)
- Gate (G), Drain (D), Source (S).
- N‑channel enhancement mode: VGS > threshold voltage → conducts from D to S.
Integrated Circuits (ICs)
- ICs contain many components (transistors, resistors, diodes) on a single chip.
- Common: 555 timer, op‑amp (LM358), logic gates (7400 series), microcontrollers (Arduino).
- Pin 1 identification: notch, dot, or beveled edge.
Let's Break It Down (Transistor as Switch)
Think of a transistor as a tap. Base = handle. Small turn of handle (base current) allows large water flow (collector current). For MOSFET, gate voltage = handle; no current flows into gate, just voltage.
Summary
- Diodes conduct one way; LEDs also emit light.
- BJT transistors: current‑controlled (NPN vs PNP).
- MOSFETs: voltage‑controlled switches; used in CMOS logic.
- ICs: multi‑component chips.
Exam Tip:
Know how to identify anode/cathode of diode and LED. Remember transistor test using multimeter diode mode. Difference between BJT and MOSFET.
1.4 Connectors, Switches, Relays, Buzzers, Crystals
These are electromechanical components that help interface, control, or indicate. Connectors join circuits. Switches make or break a connection. Relays are electromagnetic switches. Buzzers produce sound. Crystals generate precise clock frequencies.
| Component | Function | How to Test / Identify |
|---|---|---|
| Connectors (header pins, barrel jack, USB, screw terminal) | Mechanical connection between wires/PCBs. | Visual check for bent pins; continuity test with multimeter. |
| Switches (toggle, push button, slide, DIP) | Open or close a circuit manually. | Multimeter continuity mode: press switch – should beep (closed) or not (open). |
| Relay | Electromagnetic coil activates a mechanical switch (isolates control from high power). | Apply rated voltage to coil; listen for click; check continuity across contacts (NO/NC). |
| Buzzer (piezoelectric or magnetic) | Produces audible tone when voltage applied. | Connect to DC voltage (3‑12V) – should produce sound. Use multimeter continuity (passive buzzer may have low resistance). |
| Crystal (e.g., 16MHz, 32.768kHz) | Generates stable frequency for oscillators (microcontroller clock). | Cannot test with simple multimeter; use oscilloscope or frequency counter. Check for physical cracks. |
Let's Break It Down (Relay)
A relay is like a remote‑controlled switch. A small current through the coil creates a magnetic field that pulls a metal armature, closing or opening another circuit. This allows a low‑power signal (e.g., from Arduino) to control a high‑power device (e.g., a lamp).
Testing Switch/Buzzer Circuit
- Simple circuit: battery → switch → buzzer → back to battery. When switch closed, buzzer sounds.
- Use multimeter continuity to verify switch operation.
Summary
- Connectors join circuits; switches control flow; relays isolate and switch high power.
- Buzzers produce sound; crystals provide accurate timing.
- Test with continuity, voltage application, or visual inspection.
Exam Tip:
Explain the difference between NO (normally open) and NC (normally closed) contacts of a relay. How do you test a push button switch with a multimeter?
1.5 Reading Datasheets and Packaging Types
A datasheet is a manufacturer’s document that provides all technical specifications, pinouts, electrical characteristics, and application notes for a component. Learning to read datasheets is a critical skill for hardware engineers. Packaging types refer to the physical form factor of components.
What to Find in a Datasheet
- Pinout diagram: Shows each pin’s function (e.g., VCC, GND, IN, OUT).
- Absolute maximum ratings: Voltage, current, temperature limits – never exceed.
- Electrical characteristics: Typical operating conditions (e.g., forward voltage of LED, threshold voltage of MOSFET).
- Application circuits: Example schematics.
- Package dimensions: Physical size for PCB layout.
Common Packaging Types
| Package | Full Form | Description | Typical Components |
|---|---|---|---|
| DIP | Dual In‑line Package | Two rows of pins, through‑hole mounting, easy for breadboard. | 7400 logic ICs, 555 timer, op‑amps. |
| SMD/SMT | Surface Mount Device/Technology | Soldered directly onto PCB surface; smaller than through‑hole. | Resistors, capacitors, ICs (SOIC, QFP). |
| TO‑92 | Transistor Outline package | Small plastic case with three leads (flat or round). | BC547, 2N2222 transistors, voltage regulators (78L05). |
| TO‑220 | Transistor Outline, 220 style | Larger, with metal tab for heat sink; through‑hole. | Power transistors (TIP31), voltage regulators (7805). |
| SOIC | Small Outline Integrated Circuit | SMD version of DIP; gull‑wing leads. | Many modern ICs (op‑amps, microcontrollers). |
Let's Break It Down
Datasheet = user manual for a component. Before using a new transistor or IC, always check the datasheet for pinout and maximum ratings. Ignoring it can destroy the component.
Summary
- Datasheets provide pinout, ratings, and application info.
- Packaging: DIP (breadboard friendly), SMD (compact), TO‑92 (small transistor), TO‑220 (power transistor with heatsink).
Exam Tip:
Identify packages from images. Why is TO‑220 often used with a heat sink? (High power dissipation).
1.6 Testing and Troubleshooting Components
Troubleshooting involves identifying faulty components that cause a circuit to malfunction. You will use tools like a multimeter, component tester, and ESR meter (for capacitors) to distinguish between working and faulty parts.
| th>Component | Working Indication | Faulty Indication | Test Tool |
|---|---|---|---|
| Resistor | Measured value within tolerance. | Open (OL) or value far off (drifted). | Multimeter (Ω mode) |
| Capacitor (electrolytic) | Capacitance within ±20%; low ESR. | Shorted (0Ω), open (no capacitance), bulging top. | Capacitance meter, ESR meter |
| Diode/LED | Forward voltage (0.6V Si, 1.8‑3.3V LED); reverse OL. | Shorted (0V both ways) or open (OL both ways). | Multimeter (diode mode) |
| BJT Transistor | B‑E and B‑C diode junctions good; C‑E open. | Shorted (C‑E or B‑C reads 0), open junctions. | Multimeter (diode mode) or transistor tester |
| MOSFET | Gate isolated (OL to S/D); body diode present (D‑S forward drop). | Gate shorted to S/D, no body diode. | Multimeter (resistance/diode) |
| Switch/Relay | Continuity when actuated (NO) or deactuated (NC). | No continuity when should be closed, or always closed. | Multimeter (continuity beep) |
Tools Explained
- Digital Multimeter (DMM): Measures voltage, current, resistance, continuity, diode drop, often capacitance.
- Component Tester (e.g., LCR‑T4): Automatically identifies component type, values, pinout, and leakage.
- ESR Meter: Measures Equivalent Series Resistance of capacitors – high ESR indicates dried‑up electrolytic capacitor (common fault).
- Breadboard: Solderless prototyping board for building temporary circuits.
Mini Project / Component Identification Test (suggested)
- Given a mixed bag of components, identify each by sight (color code, markings, package).
- Test each with multimeter or component tester to verify if it is functional.
- Build a simple circuit (e.g., LED + resistor + battery) to test a switch and LED.
Let's Break It Down (ESR meter)
A capacitor should behave like a pure capacitor, but real ones have internal resistance (ESR). When ESR becomes high (e.g., due to age), the capacitor cannot filter properly, causing power supply ripple. An ESR meter measures this directly.
Summary
- Multimeter is the primary tool for testing resistors, diodes, transistors, continuity.
- Component testers give automatic identification.
- ESR meters diagnose faulty electrolytic capacitors.
- Troubleshooting = compare actual readings to expected values.
Exam Tip:
Be ready to describe step‑by‑step testing of a transistor using a multimeter. Also, what does an ESR meter measure and why is it useful?
Chapter Summary: Introduction to Hardware (Electronic Components)
- Safety first: Disconnect power, use multimeter, respect ratings, wear protection.
- Passive components: Resistors (color code, Ohm’s law), Capacitors (store charge, polarity), Inductors (store magnetic energy).
- Active components: Diodes/LEDs (one‑way conduction), BJT transistors (current‑controlled switch/amplifier), MOSFETs (voltage‑controlled, used in CMOS logic), ICs (chips with many components).
- Electromechanical: Connectors, switches, relays (electromagnetic isolation), buzzers, crystals (frequency reference).
- Datasheets & packaging: Datasheets give pinout, ratings, applications. Packages: DIP, SMD, TO‑92, TO‑220, SOIC.
- Testing & troubleshooting: Use multimeter (continuity, diode mode, resistance), component testers, ESR meters for capacitors. Know signs of faulty components (shorts, opens, bulging caps).
- Tools required: Digital multimeter, component tester, breadboard, jumper wires, component kits, datasheets.


