Projects / Ideas / Touch light switch for a desk lamp

Touch light switch for a desk lamp

BeginnerLightingIdeaReviewed
In short

How do you build a touch light switch for a desk lamp?

A capacitive touch pad toggles a 12 V LED strip and long-press dims it, with no moving parts. You need Arduino Nano, Touch sensor module (TTP223), 12 V LED strip warm white (5 m, 2835), MOSFET IRLZ44N and 12 V 2 A DC adapter.

Level
Beginner
Time
About 90 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Use a touch sensor to toggle and dim a light.

How to build it

  1. Read the touch pin
  2. Detect short and long press
  3. Toggle on a short press
  4. Ramp brightness on a long press
  5. Remember the level after a power cut

Related projects

Common questions

What parts do I need for the touch light switch for a desk lamp?

Arduino Nano, Touch sensor module (TTP223), 12 V LED strip warm white (5 m, 2835), MOSFET IRLZ44N and 12 V 2 A DC adapter.

How long does the touch light switch for a desk lamp take to build?

About 90 minutes for a beginner maker.