0Pricing
Arduino & IoT Academy · Lesson

Automatic Night Light

Turn on an LED when it gets dark and motion appears.

The Project Goal

Now combine your skills into one device: an automatic night light that switches an LED on when it is dark and someone moves.

Two Inputs, One Output

You will read two inputs, the LDR for light and the PIR for motion, then drive one output: an LED.

All lessons in this course

  1. Read a PIR Motion Sensor
  2. Measure Light with an LDR
  3. Set a Light Threshold
  4. Automatic Night Light
← Back to Arduino & IoT Academy