Lighting and lighting controls lesson plan
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.
Objectives and materials
By the end, students can
- A filament and a power LED: current, forward voltage, and what burns.
- An LM317 holds 0.69 A from any supply with headroom, and gets hot doing it.
- PWM from a knob, and how 0-10 V and phase dimmers compare.
- An LDR divider switches a lamp at dusk, and why hysteresis matters.
- A PIR, daylight hold-off, a relay and a time delay.
- A Python time clock with sunrise and sunset offsets.
- A hallway controller: photocell, PIR, SSR, LM317 driver, your delay and power.
Materials for the whole unit
- Arduino Uno R3
- Bench power supply
- D4184 dual MOSFET switch module
- DC jack and adapter
- Filament lamp
- Half breadboard
- LED
- Light sensor
- LM317 regulator
- MOSFET
- Motion sensor
- Multimeter x 2
- Photoresistor sensor module
- Potentiometer
- Power LED, 1 W or 3 W star
- Pushbutton
- Raspberry Pi 4 Model B
- Relay module
- Resistor x 2
- Solid-state relay, SSR-25DA / G3MB-202P
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
Lamps and LEDs
A filament and a power LED: current, forward voltage, and what burns.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 50 min |
|
Materials
- Bench power supply
- Filament lamp
- Multimeter
- Power LED, 1 W or 3 W star
- Resistor x 2
Check for understanding
Each student finishes "Lamps and LEDs: what each one wants" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Too little resistance".
Drivers
An LM317 holds 0.69 A from any supply with headroom, and gets hot doing it.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 50 min |
|
Materials
- Bench power supply
- LM317 regulator
- Multimeter x 2
- Power LED, 1 W or 3 W star
- Resistor
Check for understanding
Each student finishes "Drivers: an LM317 that holds the current" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "The heat".
Dimming methods
PWM from a knob, and how 0-10 V and phase dimmers compare.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 45 min |
|
Materials
- Arduino Uno R3
- D4184 dual MOSFET switch module
- DC jack and adapter
- Filament lamp
- Potentiometer
Check for understanding
Each student finishes "Dimming methods: PWM and the rest" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Off".
Photocells
An LDR divider switches a lamp at dusk, and why hysteresis matters.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 50 min |
|
Materials
- Bench power supply
- Filament lamp
- Light sensor
- MOSFET
- Multimeter
- Resistor
Check for understanding
Each student finishes "Photocells: light turns on the light" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Predict: trim the switch point".
Occupancy sensors
A PIR, daylight hold-off, a relay and a time delay.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 45 min |
|
Materials
- Arduino Uno R3
- DC jack and adapter
- Filament lamp
- Half breadboard
- Motion sensor
- Photoresistor sensor module
- Relay module
Check for understanding
Each student finishes "Occupancy sensors: light when someone is there" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "The time delay".
Schedules
A Python time clock with sunrise and sunset offsets.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 50 min |
|
Materials
- Half breadboard
- LED
- Raspberry Pi 4 Model B
- Resistor
Check for understanding
Each student finishes "Schedules: a time clock in Python" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Back to December".
Boss build
A hallway controller: photocell, PIR, SSR, LM317 driver, your delay and power.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 70 min |
|
Materials
- Arduino Uno R3
- Bench power supply
- Light sensor
- LM317 regulator
- Motion sensor
- Power LED, 1 W or 3 W star
- Pushbutton
- Resistor x 2
- Solid-state relay, SSR-25DA / G3MB-202P
Check for understanding
Each student finishes "Boss: a hallway controller" on their own, without opening the hints. The simulator checks 8 of its 8 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Your change: half power".
Teach this unit as a class
Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.