The Promise + Safety · #1 of 20
Safety & Tools
ESD, LiPo Hazards, Multimeter Basics
Why it matters
Electronics can hurt you (burns, shocks) and hurt your components (ESD, overcurrent). Learn the rules before you touch anything.
The idea
ESD (Electrostatic Discharge)
Your body builds up static charge (walking on carpet, removing a sweater). When you touch a component, \ that charge can destroy sensitive ICs instantly — even if you don't feel a shock. <strong>Rules:</strong>
<ul>
<li>Touch a grounded metal surface before handling components</li>
<li>Work on an anti-static mat if possible</li>
<li>Store ICs in anti-static bags</li>
</ul>
<h3>LiPo Battery Hazards</h3>
Lithium polymer batteries are <strong>dangerous</strong> if mishandled:
<ul>
<li><strong>Never</strong> short-circuit (can cause fire)</li>
<li><strong>Never</strong> overcharge (use a proper charger)</li>
<li><strong>Never</strong> puncture or crush</li>
<li>If a battery swells, stop using it immediately</li>
</ul>
<h3>Current Limiting</h3>
GPIO pins can only source/sink ~40mA on ESP32. Driving motors, LEDs, or other loads directly can \
<strong>damage the chip</strong>. Always use transistors/MOSFETs or driver ICs for high-current loads.
<h3>Multimeter Basics</h3>
Your multimeter is your best friend:
<ul>
<li><strong>Voltage mode</strong>: Measure voltage across components (parallel)</li>
<li><strong>Current mode</strong>: Measure current through a circuit (series, break the circuit)</li>
<li><strong>Resistance mode</strong>: Measure resistor values (power off!)</li>
<li><strong>Continuity mode</strong>: Check if wires are connected (beeps)</li>
</ul>
<h3>Wiring Discipline</h3>
Messy wiring causes bugs:
<ul>
<li>Use color coding (red = power, black = ground)</li>
<li>Keep wires short to reduce noise</li>
<li>Double-check connections before powering on</li>
<li>Use a breadboard power supply with current limiting</li>
</ul>
Demo
Safety is about habits, not demos. Review this lesson before every lab session.
Key takeaways
- ESD can destroy ICs — always discharge yourself first
- LiPo batteries are dangerous if mishandled — use proper chargers
- GPIO pins have current limits — use drivers for high-current loads
- Multimeters measure voltage (parallel), current (series), resistance (power off)
Going deeper
Professional labs use ESD wrist straps connected to ground. For hobby projects, touching a grounded metal surface (like a computer case) before handling components is usually sufficient. For LiPo safety, always use a protection circuit (DW01) and a proper charger (TP4056).
Math details
Power dissipation in a component:
P = I² × R (for resistors)
P = V × I (general)
Example: GPIO driving LED with 220Ω resistor at 3.3V:
I = V / R = 3.3V / 220Ω = 15mA
P_resistor = I² × R = (0.015A)² × 220Ω = 0.0495W (safe)
P_LED = V × I = ~2V × 15mA = 0.03W (check LED rating)
ESP32 GPIO max: ~40mA source, ~28mA sink
Implementation
Essential Tools
- Multimeter — $20-50, measures voltage/current/resistance
- Breadboard — $5-10, for prototyping without soldering
- Jumper wires — $5, male-to-male for breadboards
- Resistor kit — $10, common values (220Ω, 1kΩ, 10kΩ, etc.)
- LEDs — $2, for visual feedback
- Breadboard power supply — $10-20, with current limiting
Safety Checklist
- Discharge static before handling components
- Verify power supply voltage before connecting
- Check for short circuits with multimeter continuity mode
- Use current-limiting power supply when possible
- Never leave LiPo batteries unattended while charging