Skip to content
Tactiverge

Section 05 of 10 · 17 entries

Circuit fundamentals

Voltage, current, resistance and the laws that let you predict a low-voltage circuit before you build it.

Entries in Circuit fundamentals

  1. ADC resolutionAn n-bit analogue-to-digital converter splits its reference voltage into 2^n steps; one step, the least significant bit, is the smallest change it can detect.LSB = V_ref / 2^n
  2. Battery capacity and runtimeA battery's capacity in ampere-hours says how long it can supply a current; multiplied by its voltage it gives stored energy in watt-hours.runtime (h) = capacity (A·h) / average current (A)
  3. Diode forward voltageA diode conducts in one direction once the voltage across it reaches its forward voltage, after which its voltage stays roughly constant whatever the current.Conducting: V_diode ≈ V_f
  4. Electrical powerThe power transferred in a component is the voltage across it multiplied by the current through it. For a resistor this can also be written I²R or V²/R.P = V × Iinteractive demo
  5. Kirchhoff's current law (KCL)At any junction in a circuit, the total current flowing in equals the total current flowing out.Σ I_in = Σ I_out
  6. Kirchhoff's voltage law (KVL)Around any closed loop in a circuit, the sum of voltage rises equals the sum of voltage drops.Σ V around a closed loop = 0
  7. LED current-limiting resistorAn LED needs a series resistor to set its current, chosen so that the supply voltage minus the LED's forward voltage, divided by the resistance, gives the desired current.R = (V_supply − V_f) / I_LED
  8. Measuring with a multimeterA multimeter measures voltage across a component (in parallel), current through a branch (in series, by breaking the circuit), and resistance on an unpowered part.Typical spec: error = ±(p % of reading + n counts)
  9. Ohm's lawFor a resistor, the voltage across it equals the current through it multiplied by its resistance.V = I × Rinteractive demo
  10. Pull-up and pull-down resistorsA pull-up resistor connects an input pin to the supply so it reads high when nothing else drives it; a pull-down connects it to ground so it reads low.Current when pressed: I = V_supply / R_pull
  11. PWM average voltagePulse-width modulation switches a signal fully on and off quickly; the fraction of time it is on, the duty cycle, sets the average voltage delivered.duty D = t_on / T
  12. RC time constantWhen a capacitor charges or discharges through a resistor, the voltage changes exponentially with time constant τ = R × C.τ = R × C
  13. Resistor colour codeThrough-hole resistors show their value as coloured bands: digit bands, then a multiplier band, then a tolerance band.4-band: value = (10 × d1 + d2) × multiplierinteractive demo
  14. Resistors in parallelResistors connected across the same two nodes share the same voltage; the reciprocal of their total resistance is the sum of the reciprocals.1 / R_total = 1/R1 + 1/R2 + … + 1/Rn
  15. Resistors in seriesResistors connected end to end, with one path for current, have a total resistance equal to the sum of their resistances. The same current flows through each.R_total = R1 + R2 + … + Rn
  16. Short circuits and open circuitsA short circuit is an unintended near-zero-resistance path, which lets a large current flow; an open circuit is a break in the path, which stops current entirely.short: R → 0 ⇒ I = V / R becomes very large
  17. Voltage dividerTwo resistors in series across a supply produce, at their junction, a fraction of the supply voltage set by the ratio of the resistors.V_out = V_in × R2 / (R1 + R2)