10W-RGB-LED-DRIVER: Difference between revisions

From doityourselfchristmas.com
Jump to navigation Jump to search
 
(97 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__FORCETOC__
[[Image:10W RGB Driver Top.jpg|right|Version G2]]
[[Image:10W RGB Driver Top.jpg|right|Version G2]]


Line 5: Line 6:
   
   
<p>
<p>
This circuit board is specifically designed to drive 10W RGB LED modules.
This circuit board is specifically designed to drive 10W RGB LED modules.<br>
It has the ability to drive a 10W RGB LED via a 5v DC PWM signal that will therefore allow
It has the ability to drive a 10W RGB LED via a 5v DC PWM signal that will allow
dimming of each individual color.
dimming of each individual color.<br>
As a separate 12V power source is applied to the board, three different connections are made to the board that can
As a separate LED driving power source is applied to the board, three additional connections are made to the board that can
control the brightness of each color separately.   
control the brightness of each color separately.   
These connections are typically the 5V DC output pins from a microcontroller.
These connections are typically the 5V DC output pins from a microcontroller.<br>
This board works with the Ren32/64/48LSD and most RGB strip controllers. <br>
Mostly through hole, inverted inputs (no software tweaks required,) and off when no signal.
The boards are designed to fit standard 10W LED flood light enclosures.
<br><br>
<br><br>


Line 17: Line 21:




This board was specifically designed for a commonly found 10W RGB LED.
This board was specifically designed for a commonly found 10W RGB, common anode, LED.
These square form factor LEDs can be found at many online stores, ebay and aliexpress.<br><br>
These square form factor LEDs can be found at many online stores, ebay and aliexpress.<br><br>
This board was designed to the dimensions shown in the picture to the right.<br><br>


'''Typically characteristics of these LEDs would be:'''<br>  
'''Typically characteristics of these LEDs would be:'''<br>  
Line 32: Line 38:
less than 1" square.<br>
less than 1" square.<br>
All three colors have a common Anode (+), and separate Cathodes (-) for each color.<br><br>
All three colors have a common Anode (+), and separate Cathodes (-) for each color.<br><br>
'''When using this LED with the 10W Driver board, you need to remove the bar along the anodes that tie them together.<br>
Do NOT snip the anodes themselves off.  Just the linking bar.  When you are done, both sides of the LED should look the same.'''<br><br>
Despite their size, do not be fooled into thinking these are like regular indicator LEDs that you see on circuit boards.<br>
Despite their size, do not be fooled into thinking these are like regular indicator LEDs that you see on circuit boards.<br>
These units can generate enough heat to burn themselves out if not attached to a heatsink.
'''These units can generate enough heat to burn themselves out if not attached to a heatsink.'''


== BOM - Bill of Materials ==  
== BOM - Bill of Materials ==  
[[Image:10W RGB Driver Bottom.jpg|right|Version G2]]


The BOM for this board uses both Surface mount(smd) and through-hole components.<br>
The BOM for this board uses both surface mount(smd) and through-hole components.<br>
The only mandatory smd part is the constant current driver IC, the PT4115.<br><br>
The only mandatory smd part is the constant current driver IC, the PT4115.<br><br>
The board can use either through-hole or smd inductors.  
The board can use either through-hole or smd inductors. The BOM shows through-hole inductors. 




Line 47: Line 57:
QTY    Board ID          Description
QTY    Board ID          Description
3      IC1,IC2,IC3        PT4115 by Powtech: 30V, 1.2A Step-down High Brightness LED Driver with 5000:1 Dimming
3      IC1,IC2,IC3        PT4115 by Powtech: 30V, 1.2A Step-down High Brightness LED Driver with 5000:1 Dimming
3      L1,L2,L3          100uH Inductor, 6x8mm, 700ma
3      L1,L2,L3          100uH Inductor, 6x8mm, 500ma
3      T1,T2,T3          Transistor  FJN3314R           
3      T1,T2,T3          Transistor  FJN3314R           
3      D1,D2,D3          Diode    1N5819
3      D1,D2,D3          Diode    1N5819
3      R1,R2,R3          Resistor, 1/4 Watt, 0.33 Ohm
3      R1,R2,R3          Resistor, 1/4 Watt, 0.33 Ohm, 5% or better, carbon or metal film
3      R4,R5,R6          Resistor, 1/4 Watt, 4.7K (4K7) Ohm
3      R4,R5,R6          Resistor, 1/4 Watt, 4.7K (4K7) Ohm, 5% or better, carbon or metal film
1      IC4                Voltage Regulator, 5V 78L05
1      IC4                Voltage Regulator, 5V 78L05
1      C1                Electrolytic Capacitor 100uF 35v (polarized)
1      C1                Electrolytic Capacitor 100uF 35v (polarized)
1      C2                MLCC Ceramic Capacitor .1uF  50v (monolithic)
1      C2                MLCC Ceramic Capacitor .1uF  50v (monolithic)


== Leaving out the LED Channel Indicators ==  
</pre>
 
== Assembly Tips ==
[[Image:10W non groupby version builtup.jpg|right|Version G2]]
 
Here is an assembly guide created by ''livermore-dad''.<br>
Click to download ->  [http://doityourselfchristmas.com/forums/attachment.php?attachmentid=25900&d=1417025346 Assembly Guide]
 
 
This board has only one part that will take some small amount of skill to install, the PT4115.<br>
While this is an smd part, it can be hand soldered successfully.<br>
To do so, you will need, some liquid flux.<br>
This is the only part that really needs the liquid flux, however, you may also find it useful when you solder the LED.<br><br>
 
The LED can be mounted to the top or the bottom of the board.  <br>
It may not seem like much, but this clearance difference can be a key to success when retrofitting this board into a repurposed LED Flood Light assembly.
 
'''Mounting the LED:'''<br>
The LED has it's Anodes to the top of the board (near the "10W RGB LED driver" silkscreen) and the Cathodes along the bottom (near the "RobG" silkscreen).
 
'''Soldering Sequence'''<br>
This is a pretty simple board with only a few components.<br>
However, if you do nothing else, solder the PT4115 IC's first.<br>
The trick to soldering these little fellows are to:<br>
1. Use some liquid flux on the pads<br>
2. Use a fine, clean, tip on your soldering iron<br>
3. Use VERY LITTLE SOLDER !  A fine gauge solder would be helpful<br>
You should concentrate on tacking down one of the the outermost pads (not the center pad) to hold the IC in place.<br>
Once you do this, the rest will be much easier.<br><br>
After that, simply follow the typical sequence of lowest to tallest components.
Do the resistors, the diodes, the transistors, the capacitors, the inductors and finally the LED.
 
== Wiring examples ==
 
'''Note !! This section is under assembly and will be greatly expanded'''<br><br>
'''General Notes'''<br><br>
 
The RGB inputs are strictly 5V DC Maximum only.<br>
So, that is a total of 3 * 5V power sources.<br>
These do NOT power the LED, they only trigger the IC to do its thing.<br>
These are labeled (on the back of the board) as: '''PWM/R G B'''<br><br>
The board also requires one DC power source to drive the LED. One for the whole board.<br>
This should be a 1A capable power source.<br>
This is labeled (on the back of the board) as: '''V+'''<br><br>
All of the grounds need to be tied together.  Namely, the 5V grounds, the 12V ground and the ground on the board.<br>
While there are two ground connections on the board, they are indeed tied together and are the same.<br>
There are two possible attachment points.<br>
These are labeled (on the back of the board) as: '''GND'''
 
'''REN48LSD connections'''<br><br>
[[Image:10W RGB REN48lsd hookup diagram.jpg|thumb|left|click on the picture for a larger version of the REN48LSD hookup diagram]]
 
 
 
 
 
 
 
 


'''I don't want the LED Indicators !'''<br><br>
If you don't want to install the LED indicators, that is just fine, the board was designed to accommodate that wish.


However, you do still need to install the resistors; BUT they need to go in different holes and have a different resistance value.


You will need to use a 680 ohm resistor instead of the 220 ohm resistor.
You would install this resistor with one lead in the top most resistor hole and then have it span the space down to the bottom most LED mounting hole.




== How to use LEDs of many colors for the Channel Indicators ==


'''Using other colors than red for the channel indicator'''<br><br>
.
The board was designed and silkscreened to use a 220 ohm resistor and red LED for the the channel indicator.
However, other colors can be used.


Red LEDs have a typical forward voltage (Vf) of 2.0 volts.  However, other colors, like green, have a Vf of 3.x volts.  Therefore, if you use a LED with a Vf in this range, you should replace the 220 ohm resistor connected to that LED with a 180 ohm resistor.
== Testing & Trouble Shooting your board ==


The basic equation is:
After your initial build, you can test your board with a 12V DC input and a jumper wire.<br>
<br>
Here is a link to a YouTube Video that shows this test.<br><br>
R = [V(supply) - Vf(opto) - Vf(LED) - Vol]/0.005
[https://www.youtube.com/watch?v=7VIRZ_iPhG4&feature=youtu.be Initial test video]
<br>
V(supply):  Supply voltage, in our case 5V
<br>
Vf(opto):  Forward voltage of the opto emitter, 1.5V max, 1.15 typ
<br>
Vf(LED):  Forward voltage of the LED, for the LEDs I use it is 2.0V
<br>
Vol: Low voltage output level, For the purposes of this calculation, a value of 0.33V max, 0.18V typical was used.
<br><br>
<br><br>
So R = [5 - 1.5 - 2.0 - 0.33]/0.005 = 234 ohms or the next lower standard value is 220 ohms
'''Sometimes, you will solder everything, but find that one color isn't working.'''<br>
The most common reasons for missing color:
Floating IC pin. Inspect each pin to make sure it is properly soldered.<br>
Wet pins. Sometimes flux will stay under the IC and will conduct just enough current to prevent IC from working correctly. <br>
Touch each pin with soldering iron for ~2-3 seconds... or just wait an hour or 2.<br>
Resin from the core of the solder: Some resins will conduct, so clean all remaining resin with rubbing alcohol.<br>
Shorted pins. Little droplets of solder can get stuck between pins (sometimes hidden by resin.) <br>
Wet with flux and touch with iron for ~2 sec. On occasion, solder will get under the IC. <br>
In that case, you can try flux several times and if that doesn't help, just desolder the IC. <br>
HOWEVER, Desoldering the IC may damage PCB, so skillet, oven or hot air is the best method.<br><br>
 
'''Here is another experience on how to fix initial trouble with a board:'''<br>
''I built ten boards. Four did not work originally. Three were solder issues with the PT4115. I fixed these by using a cue tip to add flux to both the PT4115 and solder wick and using a clean tip draw excess solder off the PT4115. They looked fine but this worked on three of the problem boards. On the fourth board I powered it on and then using a jumper cable started working backwards from the led. Turned out that I had a cold solder joint on the diode. Re-flowing from the bottom of the board did not fix it. I had to do a re-flow from the top.''
 
== Installation examples ==
[[Image:10W flood installation by livermore dad.jpg|thumb|left|click on the picture for a larger version of installation in a 10W Flood housing]]
[[Image:10w brd mounted.jpg|thumb|right|click on the picture for a larger version of installation in a 10W Flood housing]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.
 
== Schematic ==
 
'''Here is the Schematic diagram as captured from EAGLE.'''<br>
 
Click here to download the schematic as a pdf: [[File:10w fjn5 sch-1.pdf]]
<br><br>
<br><br>
This doesn't take into account the tolerances of the resistor but given the worst case values for the opto emitter and Vol this shouldn't matter.
[[Image:10W board xray.png|left|]]
<br>
 
So if we look at the typical case the current draw would be:
 
<br>
 
I = [5 - 1.15 - 2.05 - 0.18]/220 = 7.36 mA.
 
<br>
 
This is about 50% more current than the desired 5 mA but the SSR is guaranteed to fire even under the worst case.
 
<br>
 
If you are concerned about the current draw then you can increase the value of R based on the typical values (i.e. to either 270 or 300).  However, there is a concern that with the temperature extremes these devices are used in, this would push them closer to the max values and cause erratic behavior.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


== Construction Information ==


There are several 'how to build a PCB' self help guides both within this wiki and the web.


Here is a picture of a completed SSRneon-G2:  (The fuse cover has been removed)
[[Image:SSRneon_G2_LED_smaller.jpg]]


== Wiring The SSRneon ==


The pin-out for the RJ-45 network cable is the same for all of the Sean Bowf derivative SSRs:<br><br>
View looking down on the component side of the PCB:
<table>
<tr>
<td align="left">[[Image:Controller_output_pinout.jpg]]</td>


<td align="left" border="1">


Controller Output Pinout


{| border="1"
| Pin Number
| Connection
|-
| 1
| +5v DC Power
|-
| 2
| Channel 1 Signal
|-
| 3
| reserved
|-
| 4
| Channel 2 Signal
|-
| 5
| reserved
|-
| 6
| Channel 3 Signal
|-
| 7
| Ground
|-
| 8
| Channel 4 Signal
|}
</td>
</tr>
</table>


The following image shows how to connect wires to the SSRneon-G2-LED.


The AC line connects to the far left hand terminal block labeled: ''AC INPUT''


The other four terminal blocks are for the wires that will connect to your lights.
The connector labeled: ''HOT'' is for the 'hot' wire.
The connector labeled: ''NEU'' is for the 'neutral' wire.


Your network interface cable clicks into the RJ45 connector on the top right of the board.
If all is well, you should see both neon bulbs glowing signaling AC voltage is present and flowing through the fuse.  The LED should also be lit to indicate that 5 volts DC is being supplied by the lighting controller.




[[Image:Ssrneong2led.jpg‎|left|Version G2]]
.


== Where can I get one of these wonderful boards? ==


This board was created by Robert Gasiorowski.


He has allowed group buys from time to time on DIYC.  You can PM '''ukewarrior''' at DIYC to see if there is a group buy in process.


[[Category:SSRez]]
Where there is no group buy in progress, you can usually get this board in a full DIY kit at Rob's Tindie store.
[[Category:SSR]]
His store can be found at: [https://www.tindie.com/products/RobG/10w-rgb-led-driver-pcb/ Rob's Tindie Store page].
[[Category:DIYC Index]]

Latest revision as of 21:05, 6 March 2015

Version G2
Version G2


A Constant Current Driver Board for 10W RGB Modules

This circuit board is specifically designed to drive 10W RGB LED modules.
It has the ability to drive a 10W RGB LED via a 5v DC PWM signal that will allow dimming of each individual color.
As a separate LED driving power source is applied to the board, three additional connections are made to the board that can control the brightness of each color separately. These connections are typically the 5V DC output pins from a microcontroller.
This board works with the Ren32/64/48LSD and most RGB strip controllers.
Mostly through hole, inverted inputs (no software tweaks required,) and off when no signal. The boards are designed to fit standard 10W LED flood light enclosures.

10W RGB LED

small
small


This board was specifically designed for a commonly found 10W RGB, common anode, LED. These square form factor LEDs can be found at many online stores, ebay and aliexpress.

This board was designed to the dimensions shown in the picture to the right.

Typically characteristics of these LEDs would be:
Color: RGB
DC Forward Voltage (VF): Red 6-8V, Green 9-12V, Blue 9-12V
DC Forward current (IF): 300MA
Output Lumens: Red 120-150LM, Green 200-300LM, Blue 70-100LM
Wave Length : Red 620-625nm , Green 515-520nm, Blue 455-460nm
Beam Angel: 140 degrees
Life span: >50,000 hours

As you can see from the picture to the right, these LEDs are not very large, less than 1" square.
All three colors have a common Anode (+), and separate Cathodes (-) for each color.

When using this LED with the 10W Driver board, you need to remove the bar along the anodes that tie them together.
Do NOT snip the anodes themselves off. Just the linking bar. When you are done, both sides of the LED should look the same.

Despite their size, do not be fooled into thinking these are like regular indicator LEDs that you see on circuit boards.
These units can generate enough heat to burn themselves out if not attached to a heatsink.

BOM - Bill of Materials

Version G2
Version G2

The BOM for this board uses both surface mount(smd) and through-hole components.
The only mandatory smd part is the constant current driver IC, the PT4115.

The board can use either through-hole or smd inductors. The BOM shows through-hole inductors.


BOM for 12V DC power input:

QTY    Board ID           Description
3      IC1,IC2,IC3        PT4115 by Powtech: 30V, 1.2A Step-down High Brightness LED Driver with 5000:1 Dimming
3      L1,L2,L3           100uH Inductor, 6x8mm, 500ma
3      T1,T2,T3           Transistor  FJN3314R           
3      D1,D2,D3           Diode    1N5819
3      R1,R2,R3           Resistor, 1/4 Watt, 0.33 Ohm, 5% or better, carbon or metal film
3      R4,R5,R6           Resistor, 1/4 Watt, 4.7K (4K7) Ohm, 5% or better, carbon or metal film
1      IC4                Voltage Regulator, 5V 78L05
1      C1                 Electrolytic Capacitor 100uF 35v (polarized)
1      C2                 MLCC Ceramic Capacitor .1uF  50v (monolithic)

Assembly Tips

Version G2
Version G2

Here is an assembly guide created by livermore-dad.
Click to download -> Assembly Guide


This board has only one part that will take some small amount of skill to install, the PT4115.
While this is an smd part, it can be hand soldered successfully.
To do so, you will need, some liquid flux.
This is the only part that really needs the liquid flux, however, you may also find it useful when you solder the LED.

The LED can be mounted to the top or the bottom of the board.
It may not seem like much, but this clearance difference can be a key to success when retrofitting this board into a repurposed LED Flood Light assembly.

Mounting the LED:
The LED has it's Anodes to the top of the board (near the "10W RGB LED driver" silkscreen) and the Cathodes along the bottom (near the "RobG" silkscreen).

Soldering Sequence
This is a pretty simple board with only a few components.
However, if you do nothing else, solder the PT4115 IC's first.
The trick to soldering these little fellows are to:
1. Use some liquid flux on the pads
2. Use a fine, clean, tip on your soldering iron
3. Use VERY LITTLE SOLDER ! A fine gauge solder would be helpful
You should concentrate on tacking down one of the the outermost pads (not the center pad) to hold the IC in place.
Once you do this, the rest will be much easier.

After that, simply follow the typical sequence of lowest to tallest components. Do the resistors, the diodes, the transistors, the capacitors, the inductors and finally the LED.

Wiring examples

Note !! This section is under assembly and will be greatly expanded

General Notes

The RGB inputs are strictly 5V DC Maximum only.
So, that is a total of 3 * 5V power sources.
These do NOT power the LED, they only trigger the IC to do its thing.
These are labeled (on the back of the board) as: PWM/R G B

The board also requires one DC power source to drive the LED. One for the whole board.
This should be a 1A capable power source.
This is labeled (on the back of the board) as: V+

All of the grounds need to be tied together. Namely, the 5V grounds, the 12V ground and the ground on the board.
While there are two ground connections on the board, they are indeed tied together and are the same.
There are two possible attachment points.
These are labeled (on the back of the board) as: GND

REN48LSD connections

click on the picture for a larger version of the REN48LSD hookup diagram








.

Testing & Trouble Shooting your board

After your initial build, you can test your board with a 12V DC input and a jumper wire.
Here is a link to a YouTube Video that shows this test.

Initial test video

Sometimes, you will solder everything, but find that one color isn't working.
The most common reasons for missing color: Floating IC pin. Inspect each pin to make sure it is properly soldered.
Wet pins. Sometimes flux will stay under the IC and will conduct just enough current to prevent IC from working correctly.
Touch each pin with soldering iron for ~2-3 seconds... or just wait an hour or 2.
Resin from the core of the solder: Some resins will conduct, so clean all remaining resin with rubbing alcohol.
Shorted pins. Little droplets of solder can get stuck between pins (sometimes hidden by resin.)
Wet with flux and touch with iron for ~2 sec. On occasion, solder will get under the IC.
In that case, you can try flux several times and if that doesn't help, just desolder the IC.
HOWEVER, Desoldering the IC may damage PCB, so skillet, oven or hot air is the best method.

Here is another experience on how to fix initial trouble with a board:
I built ten boards. Four did not work originally. Three were solder issues with the PT4115. I fixed these by using a cue tip to add flux to both the PT4115 and solder wick and using a clean tip draw excess solder off the PT4115. They looked fine but this worked on three of the problem boards. On the fourth board I powered it on and then using a jumper cable started working backwards from the led. Turned out that I had a cold solder joint on the diode. Re-flowing from the bottom of the board did not fix it. I had to do a re-flow from the top.

Installation examples

click on the picture for a larger version of installation in a 10W Flood housing
click on the picture for a larger version of installation in a 10W Flood housing














.

Schematic

Here is the Schematic diagram as captured from EAGLE.

Click here to download the schematic as a pdf: File:10w fjn5 sch-1.pdf























.

Where can I get one of these wonderful boards?

This board was created by Robert Gasiorowski.

He has allowed group buys from time to time on DIYC. You can PM ukewarrior at DIYC to see if there is a group buy in process.

Where there is no group buy in progress, you can usually get this board in a full DIY kit at Rob's Tindie store. His store can be found at: Rob's Tindie Store page.