Skip to the content
PCBKitNew board
2 layers74.9 × 49.5 mmLED strip, the printed circuit board in 3D

Controlling a RGBW-led strip from MySensors and OpenHab

Size
74.9 × 49.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
33
Pads
97
Tracks, vias
235, 5
Pours
3
Routed
Yes
KiCad
KiCad 4
Created
20 Oct 2017
Updated
20 Oct 2017

Overview

LED strip is an open-source printed circuit board by BGunnarB, from the BGunnarB/LED-strip repository on GitHub. It is a 2-layer board of 74.9 × 49.5 mm with 25 parts on 33 nets, routed with 235 tracks and 5 vias.

It is built around the NRF24L01, LM7805CT and IRLZ44N. Its parts include 11 capacitors, 4 resistors, 4 ICs, 4 transistors and 2 connectors. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

LED-strip

I created this project in order to control an RGBW-LED strip from OpenHab using MySensors. It is based on the sketch by @maghac and @DrJeff but I have taken away the Motion Sensor stuff, since I did not need that.

I implemented support for the W-channel as well so colour messages are now 4 words (aabbccdd) in hex format since this is what OpenHab sends.

There is an ALARM mode that slowly fades to reddish-white and back like “I see you”. The RELAX mode can now be programmed to fade between 8 settings, each being a 4 word hex state e.g.

ff000000 00ff0000 0000ff00 000000ff aa000000 00aa0000 0000aa00 000000aa

These are the messages that can be sent using MySensors API

Message type Payload Comment

2 V_STATUS 0 : 1 Off: On

3 V_PERCENTAGE 0 - 100 Dimmer value 0 - 100%

41 V_RGBW 90abcdef Fade to colour RGBW 90 ab cd ef

24 V_VAR1 0 - 2000 Fade speed. Higher number = lower speed

25 V_VAR2 0 : 1 : 2 0=Normal : 1= alarm : 2= relax

26 V_VAR3 naabbccdd Set row n in the relax matrix to aabbccdd 0 <= n <= 7

The LED-strip is driven on +24V using IRLZ44N MOSFETs I ordered the PCB from OSHPark. Since the design was done in KiCad I did not have to generate the Gerber files myself but just sent the .kicad_pcb file to them directly.

In the Arduino nano sketch I implemented some input parameter checking as to not receive nasty surprises from strange input.

In the picture of the circuit board the part on the right is just a +24V power unit based on an L200 and the heatsink for that IC.

Parts

25
QtyValueFootprintReferences
7100nCapacitors_ThroughHole:C_Rect_L13_W4_P10C1, C3, C5, C6, C7, C9, C10
42kResistors_ThroughHole:Resistor_Horizontal_RM10mmR1, R2, R3, R4
4IRLZ44NTO_SOT_Packages_THT:TO-220_Neutral123_VerticalQ1, Q2, Q3, Q4
222uCapacitors_ThroughHole:C_Radial_D8_L13_P3.8C4, C11
110uCapacitors_ThroughHole:C_Radial_D10_L13_P5C8
110u 63VCapacitors_ThroughHole:C_Radial_D10_L13_P5C2
1ArduinoProMinimysensors_arduino:pro_miniIC1
1CONN_01X06Connectors_Molex:Molex_NanoFit_1x06x2.50mm_AngledP1
1LE33ABZTO_SOT_Packages_THT:TO-92_Inline_WideU3
1LM7805CTPower_Integrations:TO-220U1
1NRF24L01mysensors_radios:NRF24L01U2
1Screw_Terminal_1x02mysensors_connectors:TerminalBlock2.54mmx2-kcswalterJ1

Questions

How big is the LED strip PCB?

It measures 74.9 × 49.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LED strip use?

25 parts, built around the NRF24L01, LM7805CT and IRLZ44N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the LED strip KiCad files?

From the BGunnarB/LED-strip repository on GitHub, at the commit this page was made from: the board is LED_strip.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the LED strip design in my own project?

Its repository states no licence, so its author keeps all rights: ask BGunnarB before reusing the design.

Similar boards

  • 2 layers173 × 85 mmAudio board, the printed circuit board in 3D

    Audio board

    EleonoreMizo/pedalevite

    Pédale Vite — DIY multi-FX pedalboard for guitar/bass/etc.

    268 parts101WTFPL
  • 2 layers169.3 × 128 mmPSU PCB, the printed circuit board in 3D

    PSU PCB

    ThomasVDD/SmartSupply

    SmartSupply is a digital battery powered lab powersupply. It is Arduino compatible and can be controlled via PC over USB.

    134 parts96
  • 2 layersT41-Main+RF board V012, the printed circuit board in 3D

    T41-Main+RF board V012

    DRWJSCHMIDT/T41

    This is the repository for the officially released V10, V11, and V12 versions of the T41 Software Defined Transceiver hardware and kits.

    255 parts66
  • 4 layers97.6 × 145.1 mmAnalog and ad9958, the printed circuit board in 3D

    Analog and ad9958

    balmerdx/BalmerDX_VNA

    Vector Network Analyzer 10 KHz - 180 MHz

    226 parts26BSD-2-Clause
  • 2 layers68 × 89 mmParanoiaBox, the printed circuit board in 3D

    ParanoiaBox

    profdc9/ParanoiaBox

    A standalone elliptic curve/AES file encryption and decryption device

    60 parts17
  • 2 layers100 × 49.7 mmNano PB, the printed circuit board in 3D

    Nano PB

    AntonioMR/Nano-Play-Board

    Placa para experimentar con el Arduino Nano

    142 parts12
  • 4 layers100 × 100 mmT41, the printed circuit board in 3D

    T41

    ai6ym/t41

    T41-EP SDT Files

    234 parts10