Do you mean the 555 timer IC? If so, here’s a quick exam-style refresher and a worked example. Let me know if you want a different angle (theory, more problems, or a different mode).
Key facts about the 555 timer
- Pinout (8 pins): 1 GND, 2 Trigger, 3 Output, 4 Reset, 5 Control Voltage, 6 Threshold, 7 Discharge, 8 Vcc
- Modes:
- Astable: oscillator (no external trigger; continuously produces a square wave)
- Monostable: one-shot pulse (output goes high for a fixed time after a trigger)
- Bistable: flip-flop (output toggles with each trigger)
- Thresholds: internal comparators switch at 1/3 Vcc (trigger) and 2/3 Vcc (threshold)
- Reset pin (4): active low; must be high for normal operation
- Control Voltage pin (5): normally tied to a 0.01–0.1 µF cap to ground; can be used to modify the thresholds if you want to modulate timing
Formulas you’ll use
- Astable mode (continuous oscillation)
- Frequency: f = 1 / [0.693 * (RA + 2RB) * C] Equivalently: f = 1.44 / [(RA + 2RB) * C]
- High time (Ton): Ton = 0.693 * (RA + RB) * C
- Low time (Toff): Toff = 0.693 * RB * C
- Duty cycle ≈ Ton / (Ton + Toff) = (RA + RB) / (RA + 2RB)
- Monostable mode (one-shot)
- Pulse width: T = 1.1 * R * C
- Trigger on pin 2; threshold at 2/3 Vcc, reset not active
- General notes
- Supply voltage range for standard 555: typically 4.5 V to 15 V (check your part, e.g., CMOS variants like LMC555 have different ranges)
- Discharge transistor at pin 7 sinks current to ground to discharge the timing capacitor in astable
- Decoupling capacitor close to Vcc and GND is good practice
Worked design example (astable) Goal: 1 kHz square wave, using a 555 timer Choose C = 10 nF (0.01 µF). Compute RA and RB roughly:
- Required RA + 2RB = 1 / (0.693 * f * C) ≈ 1 / (0.693 * 1000 * 10e-9) ≈ 144 kΩ
- Pick RB = 40 kΩ; then RA ≈ 144 kΩ − 2*40 kΩ = 64 kΩ
- So use RA ≈ 64 kΩ, RB ≈ 40 kΩ, C = 10 nF
Resulting timings (check):
- Ton ≈ 0.693 * (RA + RB) * C ≈ 0.693 * (64k + 40k) * 10nF ≈ 0.72 ms
- Toff ≈ 0.693 * RB * C ≈ 0.693 * 40k * 10nF ≈ 0.277 ms
- Period ≈ 0.997 ms, f ≈ 1.00 kHz
- Duty ≈ Ton / Period ≈ 0.72 ms / 0.997 ms ≈ 72%
Monostable quick example Goal: 100 µs pulse
- Choose R = 10 kΩ, C = 10 nF
- T = 1.1 * R * C = 1.1 * 10k * 10nF = 110 µs
Practical tips
- Tie Reset (pin 4) to Vcc if you’re not using it
- Add a small decoupling capacitor (e.g., 0.1 µF) between Vcc and GND near the IC
- If you need variable frequency, you can vary RA or RB with a pot (be mindful of loading)
- For low-power apps, consider CMOS 555 variants (e.g., NE555 vs. LMC555)
Would you like:
- More practice problems (designs with different f, duty cycles, or C values)?
- A deeper dive into one of the modes (derivation of the equations)?
- A quick worked example with a different target frequency or a monostable case?