lightboxnano

Public

timgremalm/lightboxnano

Loading…

Description

Imported from GitHub: TimGremalm/LightBoxNano · commit cd6c817 · license GPL-3.0

Description

a generic PCB for controlling LED's both LED strip and WS2812

README

LightBoxNano

a generic LED controller that can be populated for either RGBW LED strip or addressable LED strip like WS2812.

It has the option for populating a pair of potentiometer, and a 5 way slider switch for controlling light modes.

An Arduino Nano is mounted using ordinary 2.54mm pitch pin headers. Optionally a ESP32 Pico Kit can be mounted instead of the Nano, this is much more expensive it is a more powerful MCU and have WiFi.

A RS485 receiver and a pair of XLR connectors can also transform the LED controller into a DMX driver.

Power Supply and voltage rails

Input rail

The input voltage to LightBoxNano are called VIN and can range from 5 to 30V. Make sure to only feed LightBoxNano with a voltage that the LED strip can handle. The maximum voltage is limited by the maximum voltage of the IRLML6344 Mosfets and of what the LED strip can handle.

If using 5V on Vin you need to read "Logic rail" to populate it correctly.

RGBW rail

The positive rail for the LED strip driver is directly fed from VIN, it's usually 12V.

Addressable rail

The positive rail for the addressable LED strip driver is directly fed from VIN, it's usually 5V.

Logic rail

The logic rail should be 5V and feed the micro controller.

There is 2 options for the logic rail:

  • Use buck, when Vin is greater than 5.5V.
  • Use direct jumper link when Vin is 5V.

Note that the logic rail bypasses Vin_fused.

The buck converter using TI's guide: https://webench.ti.com/power-designer/switching-regulator/select

https://webench.ti.com/appinfo/webench/scripts/SDP.cgi?ID=572687AF787DDED1

Protection circuit

There is 2 options for input protection:

  • A classic fuse
  • Highside High Current Power Switch

Classic Fuse

A much cheaper option then the high side switch, but one time use only. Populate with a appropriate 1206 fast blow fuse. Example: Fuse Fast Blow 10A 1206 MCCFB1206TFF/10

No reverse polarity protection exist when using a classic fuse.

Highside High Current Power Switch

The Infineon BTS50055-1TMC is a highside high current power switch with buildt in reverse polarity and temperature protection.

It's also used to measure current consumption; Current_Feedback as analog output. To enable the high power switch Enable_Vin_fused must be driven low.

Both Current_Feedback and Enable_Vin_fused goes to the MCU so it can act on over current and act as a resettable fuse.

Vin_fused

ChannelArduino NanoESP32
Current_FeedbackA0 (PC0)IO38
Enable_Vin_fusedD13 (PB5)IO37

RGBW driver

This is made for LED strip that have red, green, blue and white channels that have a common positive rail like +12V. The LED driver can drive 4 output channels in constant voltage mode at 5A each. The channel can drive up to 10A current if an optional IRLML6344 is mounted. One color channel on a 5m LED strip consisting of 300 LED's will draw 6A (20mA x 300px) when fully lit. A full RGB strip 18A, and a RGBW strip 24A.

ChannelArduino NanoESP32
RedD5 (PD5)IO26
GreenD6 (PD6)IO27
BlueD9 (PB1)IO13
WhiteD10 (PB2)IO15

Addressable LED driver

Addressable LED strip is hooked up directly to VIN and the data pin is going to micro controller via a 1k resistor.

ChannelArduino NanoESP32
AddressableD3 (PD3)IO25

Control interface

Two potentiometers can optionally be mounted. They are pulled up to 3.3V, so you won't get the full range on the Nano.

ChannelArduino NanoESP32
POT_1A1 (PC1)IO26
POT_2A2 (PC2)IO27

A 10 position rotary coded switch can optionally be mounted for selecting different modes.

ChannelArduino NanoESP32
SwCode1D7 (PD7)IO14
SwCode2D8 (PB0)IO12
SwCode4D11 (PB3)IO2
SwCode8D12 (PB4)IO4

10 position switch is coded in binary.

Code0123456789
1*****
2****
4****
8**

Also a pin header of the Arduino Nano will be easily assessable for hooking up random stuff.

DMX Tranceiver

A RS-485 transceiver can optionally be mounted for sending and receiveing DMX512. It uses ADM2687E which isolates the RS-485 bus from the low voltage micro controller side. This is important as electrical errors down the bus can propagage along the bus. ADM2687E also isolates the power on the bus side by a buildt in DC to DC converter.

The tranceiver can be set to send DMX data if the jumper links "Link_DriverOutputA1" and "Link_DriverOutputB1" is soldered.

JumperDescription
Link_DriverOutputA1Links the Z (Driver Inverting Output) to DMX+
Link_DriverOutputB1Links the Y (Driver Noninverting Output) to DMX-
Receiver_Disable1Pulls RE (Receiver Enable) to High which disables receiver
Receiver_Enable1Pulls RE (Receiver Enable) to Low which enables receiver
Driver_Enable1Pulls DE (Driver Enable) to High which enables sender
Driver_Disable1Pulls DE (Driver Enable) to Low which disables sender
Link_TransceiverGnd_To_DMXgnd1Links DMX bus Gnd to ADM2687E Gnd2
Link_DMXgnd_To_DMXchassignd1Links DMX ground shield to ADM2687E Gnd2

DMX Send and Receive can be hooked up to UART channels on a MCU. Receiver Enable and Driver Enable can also be driven by the micro controller (only ESP32).

ChannelArduino NanoESP32
DMX_SendD1 TX (PD0)IO21
DMX_ReceiveD0 RX (PD1)IO22
DMX_ReceiveEnableN.CIO19
DMX_DriveEnableN.CIO23

MCU

An Arduino Nano V3 (ATmega328) is selected because it's cheap, available and have enough power for most applications.

Another option is to mount a ESP32 Pico Kit instead which is much more powerful and have built in WiFi.

BOM (Bill Of Material)

AmountManufacturerDescriptionArticle NumberURL
1ArduinoMCU Arduino Nano 3 ATmega328A000005https://se.farnell.com/arduino-org/a000005/arduino-nano-utv-rd-kort/dp/1848691
1EspressifMCU ESP32 Pico Kit V4ESP32-PICO-KIThttps://www.digikey.com/product-detail/en/espressif-systems/ESP32-PICO-KIT/1904-1030-ND/9381703
8InfineonMosfet N-Ch 5A SOT-23IRLML6344TRPBFhttps://se.farnell.com/infineon/irlml6344trpbf/mosfet-n-kan-30v-5a-sot23/dp/1857299
1InfineonHighside High Current Power Switch 34V 17A 6.0 mΩBTS500551TMCATMA1https://se.farnell.com/infineon/bts500551tmcatma1/effektbelastning-h-s-34v-to-220/dp/2480566
1Analog DevicesRS485 Transceiver IsolatedADM2687EBRIZhttps://se.farnell.com/analog-devices/adm2687ebriz/transceiver-iso-rs485-16soic/dp/2008784
1MulticompFuse Fast Blow 10A 1206MCCFB1206TFF/10https://se.farnell.com/multicomp/mccfb1206tff-10/s-kring-ytmont-10a-snabb-1206/dp/2850011
1LittelfuseSchottky 200V 10AMBRD10200CThttps://se.farnell.com/littelfuse/mbrd10200ct/schottky-rect-200v-10a-to-252/dp/2773825
1NexperiaESD protection diode 5V 1.55pFPESD5V0X1UAB,115https://se.farnell.com/nexperia/pesd5v0x1uab-115/diode-esd-low-capacitance-sod523/dp/2069370
1Vishay-DaleInductor 47µH 42.7mΩIHLP6767GZER470M11https://se.farnell.com/vishay/ihlp6767gzer470m11/inductor-47uh-8-6a-20/dp/1845598
1Texas InstrumentsBuck 5V 3ALM2596SX-5.0/NOPBhttps://se.farnell.com/texas-instruments/lm2596sx-5-0-nopb/dc-dc-conv-buck-150khz-to-263/dp/2781829
1KingbrightLED Red 20mA 0603KP-1608SURCKhttps://se.farnell.com/kingbright/kp-1608surck/led-red-80mcd-630nm-smd/dp/2449786
2MulticompCap 10nF 50V 0603MCU0603R103KCThttps://se.farnell.com/multicomp/mcu0603r103kct/cap-0-01-f-50v-10-x7r-0603/dp/9406182RL
4MulticompCap 100nF 16V 0603MC0603B104J160CThttps://se.farnell.com/multicomp/mc0603b104j160ct/cap-0-1-f-16v-5-x7r-0603/dp/2320813
1AVXCap 4.7µF 10V 1.4Ω 1206 Solid ElectrolyteTPSA475K010R1400https://se.farnell.com/avx/tpsa475k010r1400/cap-4-7-f-10v-10-1206-smd/dp/1135104
2Taiyo YudenCap 10µF 10V 0603LMK107BBJ106MALThttps://se.farnell.com/taiyo-yuden/lmk107bbj106malt/cap-10-f-10v-20-x5r-0603/dp/2113070
1PanasonicCap 18µF 50V 35mΩ Aluminium Electrolytic50SVPF18Mhttps://se.farnell.com/panasonic/50svpf18m/cap-18-f-50v-20-radial/dp/2354813
1KemetCap 100µF 50V 27mΩ Aluminium ElectrolyticA767MU107M1HLAE027https://se.farnell.com/kemet/a767mu107m1hlae027/kond-alu-polymer-100-f-50v-rad/dp/2614195RL
1Knitter-SwitchRotary Coded Switch 10 PositionDRR4010https://se.farnell.com/knitter-switch/drr4010/rotary-switch-pcb-bcd/dp/807620
2Alps AlpinePot 10k Linear29 0001https://se.farnell.com/alps/29-0001/potentiometer-10k-20-0-05w/dp/1191735
1MulticompResistor 120R 0603MC0100W06031120Rhttps://se.farnell.com/multicomp/mc0100w06031120r/motst-tjockfilm-120r-1-0-063w/dp/2845766
1MulticompResistor 300R 0603MC0100W06031300Rhttps://se.farnell.com/multicomp/mc0100w06031300r/motst-tjockfilm-300r-1-0-063w/dp/2845860
8MulticompResistor 1k 0603MC0100W060311Khttps://se.farnell.com/multicomp/mc0100w060311k/motst-tjockfilm-1k-1-0-063w-0603/dp/2845750
8MulticompResistor 10k 0603MC0100W0603110Khttps://se.farnell.com/multicomp/mc0100w0603110k/motst-tjockfilm-10k-1-0-063w-0603/dp/2845751
1NeutrikXLR 3-pole female Horizontal PCB mountNC3FAAH2https://se.farnell.com/neutrik/nc3faah2/socket-xlr-pcb-horizontal-3pole/dp/1310023
1NeutrikXLR 3-pole male Horizontal PCB mountNC3MAAHhttps://se.farnell.com/neutrik/nc3maah/plug-xlr-pcb-horizontal-3pole/dp/1310044
1Phoenix ContactConnector Male 2 pin MSTBA 2,5/ 2-G-5,081757242https://se.farnell.com/phoenix-contact/1757242/header-right-angle-5-08mm-2way/dp/3705171
1Phoenix ContactConnector Male 3 pin MSTBA 2,5/ 3-G-5,081757255https://se.farnell.com/phoenix-contact/1757255/connector-header-tht-ra-5-08mm/dp/3705183
1Phoenix ContactConnector Male 5 pin MSTBA 2,5/ 5-G-5,081757271https://se.farnell.com/phoenix-contact/1757271/header-right-angle-5-08mm-5way/dp/3705201
1Phoenix ContactConnector Female 2 pin MSTB 2,5/ 2-ST-5,081757019https://se.farnell.com/phoenix-contact/1757019/terminal-block-pluggable-2pos/dp/3705353
1Phoenix ContactConnector Female 3 pin MSTB 2,5/ 3-ST-5,081757022https://se.farnell.com/phoenix-contact/mstb2-5-3-st-5-08/terminal-block-pluggable-3pos/dp/3705365
1Phoenix ContactConnector Female 5 pin MSTB 2,5/ 5-ST-5,081757048https://se.farnell.com/phoenix-contact/1757048/terminal-block-pluggable-5pos/dp/3705389
1MulticompBarrel Jack Switch 5A 2mmSPC21364https://se.farnell.com/multicomp/spc21364/connector-power/dp/1654842
1MulticompEnclosure 120x120x60mm ABS IP65MC001076https://se.farnell.com/multicomp/mc001076/l-da-ip65-abs-gr-/dp/2544917
Comments

No comments yet. Be the first to ask about this board.

Askabout this board