All paths

Lighting and lighting controls

Lamps and LEDs, constant-current drivers, dimming, photocells, occupancy sensors and schedules, ending in a hallway controller you wire and tune, all at low voltage.

Free7 lessons6 h7 chapters1,652 XPElectrical · Intermediate+150 XP

0 of 7 done

Start the course freeLamps and LEDs: what each one wantsLesson plan for teachers
What you will build

0 projects, built step by step

7 lessons in 7 chapters, about 6 hours on a simulated breadboard. Free, in your browser, every step checked by the simulator.

The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Lamps and LEDs

A filament and a power LED: current, forward voltage, and what burns.

  1. Open236 XP

    Lamps and LEDs: what each one wants

    A 12 V filament lamp and a 3 W power LED side by side: the lamp's current, the LED's forward voltage, why an LED needs something to set its current, how each behaves when the supply sags, and what too little resistance does.

    0 of 6 steps

4 questions, graded as you go.
Chapter 2

Drivers

An LM317 holds 0.69 A from any supply with headroom, and gets hot doing it.

  1. Locked236 XP

    Drivers: an LM317 that holds the current

    An LM317 with one resistor becomes a constant-current LED driver: 1.25 V across the set resistor, the same 0.69 A from 12 V or 15 V, the headroom it needs, a 350 mA setting, and the heat a linear driver makes.

    0 of 6 steps

4 questions, graded as you go.
Chapter 3

Dimming methods

PWM from a knob, and how 0-10 V and phase dimmers compare.

  1. Locked205 XP

    Dimming methods: PWM and the rest

    An Uno dims a 12 V lamp by switching it on and off 490 times a second: the duty from a knob, the pin flickering faster than a filament can follow, and how PWM, constant-current reduction, 0-10 V and phase dimmers compare.

    0 of 5 steps

3 questions, graded as you go.
Chapter 4

Photocells

An LDR divider switches a lamp at dusk, and why hysteresis matters.

  1. Locked236 XP

    Photocells: light turns on the light

    An LDR and a resistor make a divider that drives a MOSFET: off in daylight, on in the dark, the narrow gray zone where it switches, trimming the switch point, and why real photocontrols snap with hysteresis.

    0 of 6 steps

4 questions, graded as you go.
Chapter 5

Occupancy sensors

A PIR, daylight hold-off, a relay and a time delay.

  1. Locked205 XP

    Occupancy sensors: light when someone is there

    A PIR, a photocell module and a relay on an Uno: daylight hold-off, motion that switches a 12 V lamp, the click of the relay, and the time delay that turns it off when the room is empty.

    0 of 5 steps

4 questions, graded as you go.
Chapter 6

Schedules

A Python time clock with sunrise and sunset offsets.

  1. Locked236 XP

    Schedules: a time clock in Python

    A Raspberry Pi runs a porch light's day in Python: fixed times and sunrise and sunset offsets, the summer bug where a morning on-time lands after sunrise, the fix, and the hours and kWh a schedule costs.

    0 of 6 steps

4 questions, graded as you go.
Chapter 7

Boss build

A hallway controller: photocell, PIR, SSR, LM317 driver, your delay and power.

  1. Locked298 XP

    Boss: a hallway controller

    Wire an LM317 driver for a 3 W LED, then run a hallway controller: a photocell with hysteresis holds it off in daylight, a PIR and a wall switch turn it on through an SSR, a vacancy delay turns it off, and you set the delay and the power.

    0 of 8 steps

4 questions, graded as you go.
Syllabus

Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Lamps and LEDs

  1. Lamps and LEDs: what each one wantsA 12 V filament lamp and a 3 W power LED side by side: the lamp's current, the LED's forward voltage, why an LED needs something to set its current, how each behaves when the supply sags, and what too little resistance does.
Chapter 2

Drivers

  1. Drivers: an LM317 that holds the currentAn LM317 with one resistor becomes a constant-current LED driver: 1.25 V across the set resistor, the same 0.69 A from 12 V or 15 V, the headroom it needs, a 350 mA setting, and the heat a linear driver makes.
Chapter 3

Dimming methods

  1. Dimming methods: PWM and the restAn Uno dims a 12 V lamp by switching it on and off 490 times a second: the duty from a knob, the pin flickering faster than a filament can follow, and how PWM, constant-current reduction, 0-10 V and phase dimmers compare.
Chapter 4

Photocells

  1. Photocells: light turns on the lightAn LDR and a resistor make a divider that drives a MOSFET: off in daylight, on in the dark, the narrow gray zone where it switches, trimming the switch point, and why real photocontrols snap with hysteresis.
Chapter 5

Occupancy sensors

  1. Occupancy sensors: light when someone is thereA PIR, a photocell module and a relay on an Uno: daylight hold-off, motion that switches a 12 V lamp, the click of the relay, and the time delay that turns it off when the room is empty.
Chapter 6

Schedules

  1. Schedules: a time clock in PythonA Raspberry Pi runs a porch light's day in Python: fixed times and sunrise and sunset offsets, the summer bug where a morning on-time lands after sunrise, the fix, and the hours and kWh a schedule costs.
Chapter 7

Boss build

  1. Boss: a hallway controllerWire an LM317 driver for a 3 W LED, then run a hallway controller: a photocell with hysteresis holds it off in daylight, a PIR and a wall switch turn it on through an SSR, a vacancy delay turns it off, and you set the delay and the power.
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Lighting and lighting controls

Is Lighting and lighting controls free?

Yes. All 7 lessons of Lighting and lighting controls are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need any parts?

No. Every circuit is built on a simulated breadboard, and the simulator checks each step as you go. When you want to build it for real, the same parts and wiring work on a real bench.

How long does Lighting and lighting controls take?

About 6 hours: 7 lessons in 7 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

Where do I start?

With "Lamps and LEDs: what each one wants", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.