π‘ Electronics Guide
Complete reference for electronic components, circuit design, soldering, and troubleshooting.
π’ Essential Formulas & Equations
β‘ Ohm's Law
π‘ Power Formula
π Series Resistance
π Parallel Resistance
π Complete Electronics Formulas
DC Circuit Formulas
| Ohm's Law: | V = I Γ R | I = V Γ· R | R = V Γ· I |
| Power: | P = V Γ I | P = IΒ² Γ R | P = VΒ² Γ· R |
| Energy: | E = P Γ t (Joules = Watts Γ seconds) | ||
Voltage Divider Formula
Vin
β
ββ΄β
β β R1
ββ¬β
βββββ Vout
ββ΄β
β β R2
ββ¬β
β
GND
Capacitor Formulas
| Charge: | Q = C Γ V | Charge (Coulombs) = Capacitance Γ Voltage | |
| Capacitance: | C = Ξ΅ Γ A Γ· d | Parallel plate capacitor | |
| Series: | 1/Ct = 1/Cβ + 1/Cβ + ... | For two: Ct = (CβΓCβ)/(Cβ+Cβ) | |
| Parallel: | Ctotal = Cβ + Cβ + Cβ + ... | ||
RC Time Constant Formulas
R = resistance in Ohms
C = capacitance in Farads
V(t) = Vfinal Γ [1 - e^(-t/Ο)]
V(t) = Vinitial Γ e^(-t/Ο)
| Time Constant | Charged | Discharged |
|---|---|---|
| 1Ο | 63.2% | 36.8% |
| 2Ο | 86.5% | 13.5% |
| 3Ο | 95.0% | 5.0% |
| 5Ο | 99.3% | 0.7% |
Inductor Formulas
| Energy: | E = Β½ Γ L Γ IΒ² | Joules = Β½ Γ Henry Γ AmpsΒ² |
| Inductive Reactance: | XL = 2ΟfL | Ohms = 2Ο Γ frequency Γ inductance |
| Time Constant: | Ο = L Γ· R (RL circuit) | |
Filter Circuit Formulas
Low Pass Filter
Input
β
ββ΄β
β β R
ββ¬β
βββ Output
ββ΄β
β β C
ββ¬β
β
GND
High Pass Filter
Input
β
ββ΄β
β β C
ββ¬β
βββ Output
ββ΄β
β β R
ββ¬β
β
GND
LED Current Limiting Resistor
Vsupply = supply voltage
Vf = LED forward voltage (typically 1.8-3.3V)
If = desired forward current (typically 10-20mA)
R = (5 - 2.1) Γ· 0.02 = 2.9 Γ· 0.02 = 145Ξ© (use 150Ξ© standard value)
Transistor Formulas
| BJT Current Gain: | Ξ² = IC Γ· IB | Typical: 50-300 |
| BJT Base Resistor: | RB = (Vin - VBE) Γ· (IC Γ· Ξ²) | VBE β 0.6-0.7V |
| MOSFET Switch: | RGS = 10kΞ© typical (gate to source) | |
555 Timer Formulas
Astable Mode (Oscillator)
f = 1.44 Γ· [(Rβ + 2Rβ) Γ C]
D = (Rβ + Rβ) Γ· (Rβ + 2Rβ) Γ 100%
Time Low: tlow = 0.693 Γ Rβ Γ C
Power Supply Formulas
| Transformer Rectification: | VDC = VAC Γ β2 - 2Vf | Full wave bridge |
| Ripple Voltage: | Vripple = I Γ· (2fC) | Full wave rectifier |
| Capacitor Size: | C = I Γ· (2fVripple) | |
Decibel (dB) Formulas
| Power Ratio: | dB = 10 Γ log10(Pβ/Pβ) |
| Voltage Ratio: | dB = 20 Γ log10(Vβ/Vβ) |
| Common Values: |
3dB = 2Γ power 6dB = 2Γ voltage 10dB = 10Γ power 20dB = 10Γ voltage |
Introduction to Electronics
Electronics is the science of controlling electrical energy using active components (transistors, diodes, ICs) and passive components (resistors, capacitors, inductors). This guide covers everything from basic principles to advanced circuit design.
β‘ Voltage
Electrical potential difference
π Current
Flow of electrical charge
π‘οΈ Resistance
Opposition to current flow
π‘ Power
Rate of energy transfer
Essential Tools
π§ Basic Toolkit
- Multimeter: Digital (Fluke, Uni-T) or analog for measuring voltage, current, resistance
- Soldering Iron: Temperature controlled (60W recommended) with stand and sponge
- Solder: 60/40 or 63/37 rosin-core, 0.8mm diameter for general work
- Desoldering Tools: Solder wick (braid) and solder sucker
- Wire Strippers: Automatic stripping tool for 20-30 AWG wires
- Cutters: Diagonal flush cutters for component leads
- Tweezers: Anti-static tweezers for SMD components
- Screwdrivers: Precision set (Phillips, flat, Torx)
- Third Hand: Helping hand tool with magnifying glass
- Breadboard: Solderless prototyping board
π¬ Advanced Tools
- Oscilloscope: Digital storage scope (50MHz minimum)
- Logic Analyzer: For digital signal debugging
- Function Generator: Waveform generator for testing
- Bench Power Supply: Variable voltage/current regulated supply
- Hot Air Station: For SMD rework and desoldering
- ESD Protection: Anti-static mat, wrist strap, bags
Basic Components
π Passive Components
Resistors
Function: Limit current flow, divide voltage, pull-up/pull-down
Types: Carbon film, metal film, wirewound, SMD
Color Code: 4-band (5%, 10%) or 5-band (1%, 2%)
Example: Brown Black Red Gold
1 (Brown) 0 (Black) Γ 100 (Red) = 1000Ξ© Β±5% (Gold)
Common Values: 10Ξ©, 100Ξ©, 1kΞ©, 10kΞ©, 100kΞ©, 1MΞ©
Capacitors
Function: Store electrical energy, filter noise, timing circuits
Types:
- Ceramic: Small values (pF to ΞΌF), non-polarized, decoupling
- Electrolytic: Larger values (ΞΌF to mF), polarized, power filtering
- Tantalum: Medium values, polarized, stable, expensive
- Film: Audio applications, non-polarized
Reading Values: 104 = 10 Γ 10β΄ pF = 100,000 pF = 0.1 ΞΌF
Inductors
Function: Store energy in magnetic field, filter high frequencies
Types: Air core, ferrite core, toroidal, SMD
Applications: Power supplies (DC-DC converters), RF circuits, filters
π‘ Active Components
Diodes
Function: Allow current flow in one direction only
Types:
- Rectifier: 1N4001-1N4007 (1A), 1N5400-1N5408 (3A)
- Zener: Voltage regulation (3.3V, 5.1V, 12V common)
- LED: Light Emitting Diode (forward voltage 1.8-3.3V)
- Schottky: Low forward voltage drop, fast switching
- TVS: Transient Voltage Suppression for protection
LED Calculation: R = (Vsupply - Vf) / If
Example: 5V supply, 2.1V LED, 20mA β R = (5-2.1)/0.02 = 145Ξ© (use 150Ξ©)
Transistors
Function: Amplify signals or act as electronic switches
BJT (Bipolar Junction Transistor)
- NPN: 2N2222, BC547, 2N3904 (general purpose)
- PNP: 2N2907, BC557, 2N3906
- Configuration: Common emitter (amplifier), emitter follower (buffer), switch
MOSFET
- N-Channel: IRFZ44N, 2N7000, IRLZ44N (logic level)
- P-Channel: IRF9Z34N
- Advantages: Voltage controlled, very high input impedance
Integrated Circuits (ICs)
Op-amps
- LM358: Dual op-amp, single supply
- LM741: Classic general purpose
- TL072/082: Low noise, JFET input
- Applications: Amplifiers, filters, comparators, oscillators
Timers
- NE555: Classic timer IC
- Modes: Astable (oscillator), monostable (one-shot), bistable (flip-flop)
Voltage Regulators
- Linear: 78xx series (positive), 79xx series (negative)
- LDO: LM1117, AMS1117 (Low Dropout)
- Switching: LM2596, XL4015 (buck), MC34063 (boost/buck)
Microcontrollers
- Arduino: ATmega328P (Uno), ATmega2560 (Mega)
- ESP32/8266: WiFi/Bluetooth capable
- STM32: ARM Cortex-M series
- PIC: PIC16, PIC18 series
Wires and Connectors
π Wire Types
| AWG | Diameter (mm) | Current Capacity | Typical Use |
|---|---|---|---|
| 30 | 0.255 | 0.86A | Signal, jumpers |
| 24 | 0.511 | 3.5A | General purpose |
| 20 | 0.812 | 11A | Power, motors |
| 16 | 1.291 | 22A | High current |
| 12 | 2.053 | 41A | Automotive, mains |
π Connectors
- Header Pins: 0.1" spacing, male/female, single/dual row
- JST: PH (2.0mm), XH (2.5mm), SM (2.5mm) - secure connections
- DuPont: 0.1" spacing, breadboard compatible
- USB: Type A/B/C, Mini, Micro
- Barrel Jack: 2.1Γ5.5mm common for power supplies
- Screw Terminal: 3.5mm, 5mm, 10mm for secure connections
- BNC: RF connections for oscilloscopes
ποΈ Switches and Buttons
Switch Types
SPST
Single Pole Single Throw
SPDT
Single Pole Double Throw
DPDT
Double Pole Double Throw
Push Button
Momentary contact
Switch Characteristics
- Rating: Voltage (AC/DC) and current capacity
- Action: Momentary (spring return) or maintained (stays in position)
- Mounting: Panel mount, PCB mount, through-hole, SMD
- Debouncing: Mechanical switches need hardware (RC circuit) or software debouncing
π© Soldering Guide
Soldering Equipment Setup
1. Set iron temperature: 350Β°C for through-hole, 300-320Β°C for SMD
2. Clean tip with damp sponge or brass wool
3. Tin the tip with fresh solder
4. Ensure proper ventilation (fume extractor or fan)
5. Use lead-free solder for health, leaded for easier work
Through-Hole Soldering
1. Insert component through PCB
2. Bend leads slightly to hold in place
3. Heat both pad and lead for 1-2 seconds
4. Apply solder to joint (not iron tip)
5. Remove solder, then iron
6. Joint should be shiny and concave
7. Trim excess lead with flush cutters
SMD Soldering
Method 1: Hand soldering with iron
1. Apply flux to pads
2. Tin one pad with small amount of solder
3. Position component with tweezers
4. Reflow tinned pad to secure component
5. Solder remaining pins
Method 2: Hot air rework station
1. Apply solder paste to pads
2. Position components
3. Heat evenly at 300-350Β°C until paste reflows
4. Allow to cool naturally
Common Soldering Issues
π Circuit Design Principles
Ohm's Law and Power Calculations
V = I Γ R (Voltage = Current Γ Resistance) I = V Γ· R (Current = Voltage Γ· Resistance) R = V Γ· I (Resistance = Voltage Γ· Current) P = V Γ I (Power = Voltage Γ Current) P = IΒ² Γ R (Power = CurrentΒ² Γ Resistance) P = VΒ² Γ· R (Power = VoltageΒ² Γ· Resistance)
Voltage Dividers
Vin
β
ββ΄β
β β R1
ββ¬β
βββββ Vout
ββ΄β
β β R2
ββ¬β
β
GND
Vout = Vin Γ (R2 Γ· (R1 + R2))
RC Time Constant
Ο = R Γ C (Time constant in seconds) Where: R = resistance in ohms C = capacitance in farads Charging: Vc = Vin Γ (1 - e^(-t/Ο)) Discharging: Vc = V0 Γ e^(-t/Ο)
Filter Circuits
Low Pass Filter
Input
β
ββ΄β
β β R
ββ¬β
βββ Output
ββ΄β
β β C
ββ¬β
β
GND
Passes low frequencies, blocks high
High Pass Filter
Input
β
ββ΄β
β β C
ββ¬β
βββ Output
ββ΄β
β β R
ββ¬β
β
GND
Passes high frequencies, blocks low
π Troubleshooting Guide
Systematic Troubleshooting Steps
1. Visual Inspection
- Check for broken connections
- Look for burnt components
- Verify component orientation
- Check for solder bridges
2. Power Supply Check
- Measure input voltage
- Check regulator outputs
- Look for excessive current draw
- Verify grounding
3. Signal Tracing
- Use oscilloscope to follow signals
- Check clock signals (frequency, amplitude)
- Verify data lines
- Test control signals
4. Component Testing
- Test diodes in circuit (diode mode)
- Check transistor junctions
- Measure resistor values in circuit (power off)
- Test capacitors with ESR meter
5. Substitution
- Replace suspected components
- Test with known good modules
- Swap ICs if socketed
Common Problems and Solutions
| Problem | Likely Cause | Solution |
|---|---|---|
| Circuit doesn't power on | Reverse polarity, short circuit, blown fuse | Check polarity, look for shorts, replace fuse |
| IC gets hot | Short circuit, wrong voltage, damaged IC | Check for shorts, verify Vcc, replace IC |
| Oscillator doesn't start | Wrong crystal loading caps, damaged crystal | Check datasheet for correct capacitors |
| Digital noise/interference | Poor decoupling, ground loops, EMI | Add decoupling caps, star grounding, shielding |
| Analog signal distortion | Impedance mismatch, insufficient bandwidth | Match impedances, check op-amp specs |
π Resources and References
- The Art of Electronics (Horowitz & Hill) - Comprehensive textbook
- Practical Electronics for Inventors (Scherz & Monk) - Hands-on guide
- EEVblog (YouTube) - Electronics tutorials and teardowns
- GreatScott! (YouTube) - DIY electronics projects
- All About Circuits (website) - Tutorials and forums
- Digi-Key/ Mouser - Component databases with datasheets
- LTspice/ KiCad - Free circuit simulation and PCB design
π Component Identification Cheat Sheet
Resistors: Brown Black Red Gold = 1000Ξ© Β±5%
Yellow Violet Orange Gold = 47kΞ© Β±5%
Capacitors: 104 = 10 Γ 10β΄ pF = 100nF = 0.1ΞΌF
473 = 47 Γ 10Β³ pF = 47nF = 0.047ΞΌF
Inductors: 101 = 10 Γ 10ΒΉ ΞΌH = 100ΞΌH
2R2 = 2.2ΞΌH
Diodes: 1N4001 = 1A 50V rectifier
1N4148 = Fast switching diode
Transistors: 2N2222 = NPN general purpose
BC557 = PNP general purpose
ICs: LM358 = Dual op-amp
NE555 = Timer IC
74HC00 = Quad NAND gate
β οΈ Safety First!
β’ Always disconnect power before working on circuits
β’ Use personal protective equipment (safety glasses)
β’ Be cautious with high-voltage capacitors (they can hold charge)
β’ Work in well-ventilated areas when soldering
β’ Use ESD protection when handling sensitive components (ICs, MOSFETs)
β’ Understand circuit before applying power