LED light strip dimmer circuits

About

Here are two pulse width modulated dimmer circuits for RGB and monochrome LED light strips such as the Ikea DIODER series. The circuits turn on when the room lights turn on or when a person's presence is detected by a passive infrared sensor.
Comments are welcome, see the email link at the bottom of this page.

Schematics

Click to download:
RGB (3-channel) schematic
PDF
DIA
RGB (3-channel) board layout
PDF
DIA

Suggested parts

Resistors:

10× 1k 2W (R1-R10)
11× 1k 600mW (all others)
10k 600mW
100k 600mW
100k linear potentiometer with LED
Bournes PTL45-15O0-104B1

Capacitors:

470pF (C1)
3.3nF (C2)
10nF (C3)
47nF (C4)

Transistors:

KSD5041RTA NPN BJT 20V 5A
10× 2N3906BU PNP BJT 40V 200mA
SS8050CBU NPN BJT 40V 1.5A

Diodes:

1N4148-T general purpose

LEDs (diffused):

red (e.g. TLUR6400 15mcd 10mA)
green (e.g. TLHG5405 15mcd 10mA)
blue (e.g. TLHB5400 15mcd 10mA)
amber (e.g. SSL-LX5093AD 30mcd 30mA)

ICs:

LM555 timer
LM2903 dual analog comparator
8-pin socket (optional)

Power supply:

LD1117V50-DG 5V 800mA LDO
(non-LDO equivalent is OK)

Connectors:

right-angle pin header
2.1mm plug
2.1mm right-angle jack
(e.g. Adafruit 393)

Sensors:

Phototransistor (e.g. OED-PCC-9PS-1L)
PIR motion sensor (e.g. Adafruit 189)
(see separate schematic below)

Circuit boards:

Radioshack 276-168B
Radioshack 276-158B

Case:

Large hinged box
Container Store 10054860

Mounting hardware (all nylon):

⅝" 6/32 bolt (binding head)
⅜" 6/32 bolt (binding head)
6/32 hex nuts
⅛", 0.14" ID standoff
¼", 0.14" ID standoff

Wire:

22AWG stranded recommended for connecting the boards
All parts available from Mouser except where noted.
Monochrome (1-channel) schematic
PDF
DIA
Monochrome (1-channel) board layout
PDF
DIA

Suggested parts

Resistors:

1k 2W (R10-R13)
1k 600mW (all others)
2.2k 600mW
10k 600mW
100k 600mW
100k linear potentiometer with LED
Bournes PTL45-15O0-104B1

Capacitor:

3.3nF (C2)

Transistors:

KSD5041RTA NPN BJT 20V 5A
2N3906BU PNP BJT 40V 200mA
SS8050CBU NPN BJT 40V 1.5A

Diodes:

1N4148-T general purpose

LED (diffused):

amber (e.g. SSL-LX5093AD 30mcd 30mA)

ICs:

LM555 timer
LM2903 dual analog comparator
8-pin socket (optional)

Power supply:

LD1117V50-DG 5V 800mA LDO
(non-LDO equivalent is OK)

Connectors:

right-angle pin header
2.1mm plug
2.1mm right-angle jack
(e.g. Adafruit 393)

Sensors:

Phototransistor (e.g. OED-PCC-9PS-1L)
PIR motion sensor (e.g. Adafruit 189)
(see separate schematic below)

Circuit board:

Radioshack 276-168B

Case:

Large hinged box
Container Store 10054860

Mounting hardware (all nylon):

⅝" 6/32 bolt (binding head)
6/32 hex nuts
⅜", 0.14" ID standoff
All parts available from Mouser except where noted.
Passive infrared sensor schematic and board layout
Used by both the monochrome and RGB designs.
PDF
DIA

Suggested parts

Resistor:

10k 600mW

Transistor:

SS8050CBU NPN BJT 40V 1.5A

LEDs (diffused):

amber (e.g. LTL-1CHA)

Connectors:

right-angle pin header

Sensors:

PIR motion sensor (e.g. Adafruit 189)

Case:

Acrylic box, 2" × 2" × ¾"
Container Store 60220
All parts available from Mouser except where noted.
Depending on the transistors that you use, you may need to change the values of the pull-up and pull-down resistors and/or add additional ones.
In addition to the parts listed above, you'll need hookup wire, heatshrink tubing (for shrouding the ambient light sensor), and various female connectors. For the latter, cables recycled from computer cases work well.

Photos

Click to enlarge:

Monochrome mixer


RGB mixer


Passive infrared motion sensor


Legal

These designs are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
These designs are presented for educational purposes only. I make no warranty or representation, either express or implied, with respect to these designs, their quality, performance, accuracy, merchantability, or fitness for a particular purpose. These designs are provided 'as is', and you, by making use thereof, are assuming the entire risk.
I have no affiliation with any of the companies mentioned other than being a satisfied customer.
That said, I have built these circuits and they do function as described. I hope you find this information useful. Have fun!