Single RGB strip controller

In order to replace the house outline with RGB strips, I need the ability to control individual strips.

I still have way too many RGB Kittys made up so I decided to create a new shield for the kitty to increase the current drive.

The design has the following feature:

  • DMX in / out on opposite sides on the board – the board in used inline so as to speak
  • DMX start address via Push button on start up – no risk of loosing pesky link packs
  • smallish form factor
  • Power entry either separate screw terminals or Cat 5 cable
  • Operating voltage – 11 to 13 volts
  • High Output current – approximately 1.5A per channel ( to be verified)

So how much strip can this controller drive?
Typical RGB strip is 5 meters long and has 150 LEDs. The 150 LEDs are broken down to 3 LED segments. Each segment is set for If = 20mA ( assumed worse case). This means 5 meters of strip will consume 50 x 20mA = 1 Amp per colour. These controllers will be good for 5 to 7metres of 150LED RGB Strip.

This Project details the end result.

Single DMX to RGB Strip Controllers


Note: the above photo shows the RGB Kittys connected to the shield via connectors. in normal operation that are soldered directly to the shield.

Posted in AVRs, DMX, Light Controllers | Comments Off on Single RGB strip controller

Editing Vixen 2.5 Profile

How To – Manually editing your Vixen 2.5 Profile

by Matthew Edwards – 27/10/2011

As I added 3 universes this year I needed a way to create new profile outside of Vixen.  This How To details how I created the profile and then edited it using information I had in excel spread sheets about the channels and my display layout.

Tools needed:

  • Vixen 2.5
  • Excel 2003 to 2010  (I didn’t succeed in using Open Office for this task)
  • NotePad++ ( a free down load)

 

Procedure

Step 1 – create the profile in Vixen with het correct number of channels and the Output Plugins

Vixen Profile

Step 2 – Open the profile with Notepad++.  Change the language to XML

You will notice the channel data is defined between <ChannelObjects> and </ChannelObjects>

Vixen Profile XML

Select ALL of the lines between <ChannelObjects> and </ChannelObjects> and copy to the clipboard ( Ctrl C)

Step 3 – Open Excel and paste the lines in to column A

Channel Objects imported into Excel

Now it is time to break all the channel data into manageable chunks.

Select the Text to Columns button.

Converting Channel Objects to editable data

Step 4 – Edit the Channel names and colours to suit your display.

I have all my channel data in OO spread sheets, so it is a simple matter of copying & paste from one to the other.

Edit the profile to suit your display

You could delete column A, but I found it useful to refer back to.  At the very least you can hide the column if the page looks too busy.

Step 5 – Recreate the Channel Data objects

Basically we need to add in all the ‘ ” ’ marks we removed to create the columns and concatenate the columns into a single ASCII string.

 

Re-constructing the Channel Objects

Step 6 – Copy and paste the final string back into the profile to overwrite the existing data.

 

Posted in Software | Tagged | Comments Off on Editing Vixen 2.5 Profile

HOW-TO: RGB Spinners

A fellow country man created what he called an RGB Spinner.  Check out his video here.  Also Barbotte ate DIYC.com made a similar unit using Frank’s SuperStrips.  You can check out his project here.

I liked the idea concept, so started to plan my version.  I decided not to build a cross with a longer lower main axis, but rather stick with equal length arms.  Bevo didn’t give too much away on how to construct them either but hey it can’t be too hard, especially if I MIG the frame together.  I wanted to place them in front of two largish windows at the front of our house on the top floor.  It was at this point I asked my wife for her thoughts and her immediate comment was, “how are you intending to store them?”  Ouch- How does she do that?

So a welded frame is out of the question as storing largish items is some what challenging here.  I needed to come up with a version that can easily be broken down for storage.  It was time to go to Bunning’s and hunt for Ideas.

The following How-To is what I came up with.  For those that better relate to pictures, you will find a photo gallery details most of the construction.

1. Dimensions

The LED strips I intended to use were similar to Bevo’s 30 LED per meter RGB Strip.  I had previous purchased some non water proof version to play with and wanted to use it for this display item.  The strip is 5m long, and it doesn’t take a lot of rocket science to work out if I want to use a single strip for each spinner, I will need to cut them into 600mm lengths.  As is turned out a couple of sections were damaged, so I had to settle for 500mm lengths of strip.  The spinner would still be 1100 mm diameter and very viewable.

2 Design

The design is quiet simple, all that is needed is 8 equally spaced lengths of tube radiating out from a hub.  I choose to make the whole thing out of PVC.  The radial ate 20mm grey conduit, the hub is an end cap for Storm water pipe from the plumbing section.  As I wanted to be able to remove the radial, decided the best way would to be able to unscrew them from the hub.  I picked up some 20mm  Conduit connectors and lock nuts as well as some 3/16 x 38mm roofing screws.

 3.1 Construction – Prototype 1

The first prototype used a 100mm PVC end cap with 20mm holes drilled in the lip to take the conduit connectors.  The end cap side was barely long enough for the 20mm holes, so I had to mill slots in the flat front to take the nuts.
This prototype proved very successful, I thought I had the item completed and started to determine the controller type and placement.  Quite often I stick the controller in an ABS box that can either be hidden out of sight or is mounted as part of the display.  What ever I decided, the wiring of 8 RGB channels represented a lot of wires and connectors.

3.2 Construction – Prototype 2

After a sumptuous Sunday roast lunch, resting easy in a comfy chair,  I thought how cool it would be to have the controller inside the hub.  After my Sunday duties, with my 8Ch RGB controller in hand, it was off to Bunnings again, before they closed for the night!

It turns out the 150mm PVC end cap is a lot stronger than the 100mm one, and will enable the controller to be mounted inside the cap.  The downside is the RGB strips are being pushed further out from the middle.
having drilled the first 150mm hub, I got to say I really like this one better. the material is about 4.5mm thick and extremely rigid. The controller is a very snug fit, with plenty of room for the twin RJ45 and a DC inlet connector between radials.

 

At last a test video to show some of the capabilty.

One final comment: these spinners are designed to break down for storage.  I estimate the storage area for two units will 100 x 200 x 600mm, which is way cool. 😉

[nggallery id=10]

Posted in Other Hardware | Comments Off on HOW-TO: RGB Spinners

El Light Costume

Our daughter’s youth group decided to have a party one evening and requested the girls came as Disney characters.

  • On Wednesday night Rose announced she wanted to go as on Quora of Tron.
  • That night I found a close seller of Blue EL wire.
  • On Thursday Morning, the Wife headed out and picked up 2x 3m battery operated EL wire kits.
  • I have a spare 80mm LED ring light
  • As technical director of this clan must task was complete. The wife and eldest daughter took over from there.
  • On Friday Night Rose headed off to her party.

Posted in Other Hardware, ramble | Comments Off on El Light Costume

DC Power Distribution

With a lot of decentralized controllers, I need to run both DMX and power to a lot of places. Some times it is convenient to daisy-chain the power, others is is best to run a separate feed from the Power supply.
For the latter solution, I designed this Power Distributor panel.

Dc Power Distribution Panel

2.1mm DC power connector

The panel is configured as 2 separate circuits and allows 2.1mm DC Barrel type connectors to be soldered directly on the PCB.

Constructed Units

Revision B
These DC Distribution boards have served me well.  But with so many different controllers in use, I decided to recut the improve the unit.  Rarely did I actually run two different voltages, so having 2 halves was wasted.  In variable I would splice in a fuse in the  controllers.  And I was always getting out the multimeter to see if the unit had power.

DC_Distribution_Opt1

2.5mm Barrel sockets only

So I I ditched one half and decided to add onboard fuses. I went with the mini Auto fuses.  I added an LED and finally I modified the DC Power library model to take both DC power sockets or 2 pin terminal blocks. The following is the result.

DC_Distribution_Opt2

Mixed Outputs

Posted in Light Controllers, Other Hardware | Comments Off on DC Power Distribution

RGB + Strobes Mini Tree

Let me say first and foremost, I am still trying to find good uses for RGB strip lights out on the display and not against a flat surface or tacked up under an alcove.

This is another attempt.

Some time late last year, I purchased some tomato trellis’ for the wife’s herb garden. At the time I thought, ” I am going to have to buy some of them for me too”

I also scored what I think is a half decent price on some waterproof RGB Strips – 40m for AUD120 delivered.

Cost estimation now sits at:
tomato trellis – $11
2.5m LED Strip – $15
3 or 4 Ch DMX DC Controller – $6 to $20
ACL strobe – ~ $5 (I think ) maybe.

An Open Canvas Tomato Trellis

RGB strip cable tied to trellis

Last night I hacked one together and am happy with the results.  The LEDs are mounted on a single side of the strips and thus are very directional.  However there is a pleasant glow on the back side of the strips also.

Next the Controller to be added. followed by the Strobes.  Two Choices come to mind:  The MIC 3ch specials would be more than adequate for the Strips.

MIC 3ch DMX

OR my own 4ch DMX controller allowing Some Strobes to be added inside the Tree.

Top View of Semi populated Controller


To add Strobes, I will need to tap off +5v from the on-board regulator. Not a big issue but required a little further hacking.

Posted in AVRs, DMX, Other Hardware | Comments Off on RGB + Strobes Mini Tree

RGB Kittys

Back in 2007 I stumbled across a house decoration that had fading RGB lanterns high lighting a path to the front porch.   John Chapman of Engineering Solutions Inc Developed a suite id LED Based RGB Pixel projects/products.  the one that particularly inspired me was Point Sources.

Not knowing anything at all about PIC, it was then I decided to make an AVR equivalent unit wit ha couple of variations.  These shots are the finished products. There are a couple of options for the LEDs, a single 4 pin Common Anode RGB LED or 3 separate LEDs.  the whole unit runs of 5Volts.  the LED current are limited to about 20mA each, as per the AVR AtTiny2313 specification.

The RGB Kitty Schematic is available for reuse.

By shorting X3, the controller goes into Address mode and sets the DMX Start Address to the DMX Values of (Ch1 + Ch2).

Panel of 10 Kittys - Front

Panel of 10 Kittys - Rear

Why Kitty?  When designing these I always wanted them to be more than pixel sources, as Pixel conjures up images of small point sources of light.  I wanted Ping-Pong ball sources of diffused light.  As I was nearing competition of the circuit design, my cat’s eyes caught my attention.  ( I know I am hopeless cat person) Thus Kitty Eyes became the project name.  that eventually was shortened to RGB Kittys

For Sale.

I have about 100 (10x panels) Version 1 boards left from the first run.  These are available for sale.

 

 

Version 2

Version 2 in planning phase.

I intend to make the following changes:

  • Add a 78l05 voltage regulator ( probably a SOT-223 case as they appear to be the best priced units currently
  • Replace X3 wit ha SMD switch, AND add a track to pin5 of X1 &X2.
  • Change X1&X2 spacing to 0.1′ spacing
  • Reduce the size significantly and rationalise the SMD component positioning

 

Posted in AVRs, DMX, Light Controllers | Comments Off on RGB Kittys

Falling Icicles

Falling Icicles made their debut in my area 2009.  Initially they were hideously expensive and hard to find.  But secretly I always knew I would get some.

Then least year Big-W  / K Mart started sell small falling Icicles  sets ( 300mm long light bars) that that ran independently of each other.  closer inspection revealed some kind of controller at the top of the PCB. Unfortunately I didn’t have the time nor money to purchase a number of the ready made units.

Falling Icicles BaukoLites Style

I hacked together a design that will allow considerable flexibility.  The general concept is to create a small DMX based 16ch Controller that uses LED Constant Current drivers.  The Controller will be mounted at the top of the Icicles.   The LEDS will NOT be PCB mounted, but rather will be wired to suspend inside  1/2″ PVC tubing.

16Ch LED Falling Icicles

16ch DMX LED Icicle Controller

Let me stop here and say the biggest influence on my design was N1ist’s Color Sticks over as DIYC.com.  The two projects share a great number of common components.  Details of Mike’s project can be found here.

The Schematic for the controller available  here. <place marker only>

Making the LED strings

The final LED spacing has been on my mind for a while now.  I figure I need to address a number of areas:

  • LED viewing angle
  • LED Spacing (distance between LEDs in a single segment)
  • Segment spacing (distance between segments of LEDs)

25mm & 35mm Segment Spacing

The LED view area has a large affect on the the final product.  Most 3mm LEDs are very directional.  Sanding the LED surface may be a solution to diffuse the LEDs.  3mm Top hats may also be the best way to go.

Construction

THe blank PCBs arrived today.  Nice job.

Assembled Falling Icicle Controller

 

 

 

 

 

 

 

 

Software Considerations

I suddenly realised the Top LED segments MUST be channel 16.  this is no big issue but is makes chasing Lights easier if this is the case.  The SPI will clock out channel 16 first.

If I can I would like to build in some smarts in to the Controller.

The easiest options it to treat this like every other 16 channel controller and allocate 16 DMX channels.  This offers a would of flexibility.

However the more I think of how I want to use these icicles the more I reckon a simple single channel will be able to achieve everything I want.  So here is what I am thinking:

DMX Start 

Address

DMX End
Address
Function DMX Start
Address
DMX End
Address
Function
0 9 All lights Off 100 109 All lights Off
10 19 Chase at 500mS rate 110 119 Chase 3 LEDs at 500mS rate
20 29 Chase at 450mS rate 120 129 Chase 3 LEDs at 450mS rate
30 39 Chase at 400mS rate 130 139 Chase 3 LEDs at 400mS rate
40 49 Chase at 350mS rate 140 149 Chase 3 LEDs at 350mS rate
50 59 Chase at 300mS rate 150 159 Chase 3 LEDs at 300mS rate
60 69 Chase at 250mS rate 160 169 Chase 3 LEDs at 250mS rate
70 79 Chase at 200mS rate 170 179 Chase 3 LEDs at 200mS rate
80 89 Chase at 150mS rate 180 189 Chase 3 LEDs at 1500mS rate
90 99 Chase at 100mS rate 190 199 Chase 3 LEDs at 100mS rate
200 209 All on dimmed at 5% 210 219 All on dimmed at 10%
220 229 All on dimmed at 15% 230 239 All on dimmed at 30%
240 249 All on dimmed at 50% 250 255 All on dimmed at 100%

the down side to such a method is remembering specific functions when programming vixen.

Posted in AVRs, DMX, Light Controllers | Tagged , , | Comments Off on Falling Icicles

8 Channel RGB LED Flexible Strip Controller

My leaping arches were a disaster this year. originally constructed by cutting 36″ lengths of white rope light that was bent back on itself, to form a 18 section, about 8 of the 32 sections failed to turn on!  So stuff them They were left turned OFF! &*%#$@)*%^Y

Now the season is over, I have had to time to rethink what I would like to do with the leaping arched.  I like the efficiency of LEDs, so an Olde School version using 100 LED strings with 3 or 4 colours would be a good option.  However, I am yet sorted out a decent supply of LED Strings and a conservative cost would be $10 x 3 x 8 x 4 = $960 for the four arches.  That is too “ouch”

So to begin with I will settle with some sections of RGB strips like these. Sample LED Strip. Depending on the strip model, flexible LED strips are available in 12V or 24v versions, with the 24v version being preferred as the current draw is lower.

Either way I am going to need an 8 channel RGB controller small enough to be added to the base of the leaping arches and light enough to be actually mounted on the arch.

The heart of the new Controller is a small AVR, ATTiny2313.  This little AVR is packed with a stack of I/O modules, including a USART capable of receiving DMX.  The DMX is received by a RS485 transceiver and connected directly to the USART RX port.

I have been using Ceramic Resonators for a while now on DMX controllers.  Whilst their probably are not in specification over all temperature ranges, they have worked well to date.  The main advantage of the Ceramic Resonators is cost and the need not to use external capacitors.

This controller will use a 3 wire SPI interface to controller the 24 output channels.  The Tiny2313 implements the SPI bus in a non standard manner and will required attention in terms of software. We will return the Output cct shortly.

The power supply requirement +12 to 36 volts and should be as efficient as possible. A member over on DIYC.com, RPM, recommended I check out the LM2574 Smart Switcher form Nat Semi,.  RPM uses the same device on his 16channel DC Dimmer.  The cct is pretty basic, and National provides tables and graphs to select the switching components.  The SMPS will provide power only to the micro-controller and association logic circuits.

The final section of the circuit is the output drive. I had already decided I wanted to use FETs due to their very low On resistance.  This in turn means the dimmer power consumption is minimised.  To drive the FETs I use serial in, Parallel out Shift Register 74HC595.  This was also borrowed from RPM on DIYC.com.  There are 3x HC595, configured as a huge 24 bit serial in – parallel out shift register. (Note I have only shown 2 sections to conserve space, full schematics will be available below in the very near future.)  The FETs are pretty standard, IRLL014 by International Rectifier.  I choose this one for the following reasons:

  • HEXFET
  • UltraLow R(on)
  • Vdss = 55v
  • Id = 2A
  • Pretty low cost @ AU0.34 each

The artwork is shown below.

After a discussion on DIYC.com, the suggestion was made to add the possibility of using a 78L05 linear Regulator and  not fitting the LM2574 Simple Switcher.  While the 78L05 addition is not shown above, it was included in the final design that went to the PCB Fab.

I am not too sure if I should say the above artwork is “very pleasing” but I will.

Built unit

 

 

 

 

 

 

 

 

 

 

 

April 2011
I finally received the RGB strips from China.
Two test are required:

  • Voltage drop of the +12 track with all 8 channels are ON
  • Temperature rise of both Tracks and components

After a 36hour Burn in test ( with all channels fully ON) the voltage drop from the input supply connector X13 to Pin 1 of X1 was about 0.2 volts.

Hopefully a mate will drop off his IR thermometer soon.

[nggallery id=9]

8ChRGB Red test (4 channel only)

8ChRGB Purple test (4 channel only)

Posted in AVRs, DMX, Light Controllers | Comments Off on 8 Channel RGB LED Flexible Strip Controller

HOW-TO: Soldering SOIC devices by hand

The secret to good SMT soldering is not to heat the IC too much and not to use too much solder.

The following is the method I use to solder SOIC IC. Some of the steps and techniques will be applicable to other Surface mount Devices, but hopefully these will be covered off in other How-Tos
Tools required:

  • ESD work environment
  • ESD Tweezers
  • Soldering Iron with a chisel tip (I use 2-2.4mm tip)
  • Fine Solder 0.5mm diam is really good, 0.7mm diam will do
  • Liquid Flux Pen
  • Plastic Eraser

Now for the good stuff:

  1. Clean the PCB pads if it has been sitting around for a while. A Plastic Eraser is good for this.
  2. Place the board on an ESD work matt.
  3. Tin 2 diagonally opposite pads, for example 16 and 8 or 20 and 10.
    • You just want a small amount of solder in the pads and I try and make one of them a ground pin.
  4. Dab the tinned pads with your flux pen
  5. Place the IC on the pads, paying particular attention to the pin alignment to the pads.
    • Don’t forget to check Pin1 is on the right pad.
  6. Holding the IC in place by gently pushing downward on the IC body with a pair 0f tweezers, solder the pins on the tinned pads. Do not add additional solder.
  7. Now check the IC for alignment again, cause now is the time to make corrections.
    • To realign, gently apply the soldering iron to a pad and when the solder if molten, move the IC a small amount. Reapply heat to the other pad to release any stress in the IC leg.
  8. Place a straight section of solder against the un-soldered pins of the IC. I actually place it so that the Solder doesn’t touch the pad, but sits on the lowers section of the IC leg.
  9. Starting with the pin next to the tinned pad, gentle place the soldering iron tip against the pad and solder
  10. When the solder melts, count “1 and 2” and remove the tip and move to the next pin
  11. DO NOT Push any solder into the joint, ever. You end up with too much solder
  12. Repeat for the other side of the IC.

If this sounds complicated, then believe me it is not.  Have a go.  you will find you get in the swing of this real quickly.  As I stated in the beginning, the secret to good SMD soldering is not to heat the IC too much and not to use too much solder.  Good luck.

Posted in TOT - tools of the trade | Tagged , , | Comments Off on HOW-TO: Soldering SOIC devices by hand