Home › Builds › 12. 555 timer: stay on after they pass

12. 555 timer: stay on after they pass

Bench build · Fundamentals · Beginner · about 30 minutes

Step 12 of the automatic light: The PIR now drives Q2 as an inverter, pulling TRIG low while it sees movement (R8 keeps TRIG high otherwise). U3’s output drives Q3, which replaces Q2 in the AND below Q1. R9 100 k × C4 100 µF × 1.1 = 11 s: the lamp stays on 11 s after the trigger, much longer than the PIR’s own hold. Component 12 of 14: the 555 timer. The 555 is the classic timer chip. As a monostable, a pulse on TRIG (pulled below ⅓ of the supply) sets its output high, and it stays high until a capacitor charging through a resistor reaches ⅔ of the supply: t = 1.1 × R × C, whatever the trigger does after that.

12. 555 timer: stay on after they pass: the finished build running on the simulator's bench

Build it in the labGuided build, test sheet and fault finding, free in your browser.

Parts list

Test procedure

Each test has an expected value and a pass range, like a factory test sheet:

  1. Dark and movement: lamp on
  2. Still on 8 s later (the PIR has long dropped)
  3. Off again after the timer

How it works

The 555 timer. The 555 is the classic timer chip. As a monostable, a pulse on TRIG (pulled below ⅓ of the supply) sets its output high, and it stays high until a capacitor charging through a resistor reaches ⅔ of the supply: t = 1.1 × R × C, whatever the trigger does after that.

Reading it. DIP-8: 1 GND, 2 TRIG, 3 OUT, 4 RESET (tie high), 5 CTRL (10 nF to ground), 6 THR, 7 DIS, 8 VCC. Runs on 4.5–16 V; the output can drive 200 mA.

Testing it. Powered, short TRIG to ground for a moment: OUT goes high (near the supply) and comes back low after 1.1·R·C. If it never goes low, check the timing capacitor; if it never goes high, check RESET.

In the build. The PIR now drives Q2 as an inverter, pulling TRIG low while it sees movement (R8 keeps TRIG high otherwise). U3’s output drives Q3, which replaces Q2 in the AND below Q1. R9 100 k × C4 100 µF × 1.1 = 11 s: the lamp stays on 11 s after the trigger, much longer than the PIR’s own hold.

Builds on lesson 11: everything from before is still there.

Next: lesson 13, buzzer.

Things to try

  1. Click the PIR at night and time how long the lamp stays on.
  2. Change C4 to 47 µF: about 5 s.

Background

One circuit, built up one part at a time: by lesson 14 it is a solar-powered, dusk-sensing, motion-triggered timed lamp with an alarm.

More builds: fundamentals