View Full Version : Prop 128 v2 Light Controller
gmbartlett
10-25-2008, 09:52 PM
The Prop 128 v2 Light Controller is my second generation light controller that can synchronize up to 128 light channels to music. Each light channel has 255 levels of intensity. The heart of the system is the Main Board controlled by the Parallax Propeller chip. The Main Board can directly control 32 light channels using four 74HC4094 SIPO chips to trigger eight, standard 4 channel (SSR) Boards connected via Cat5e patch cords. It can also control up to three Daughter Boards via an RS422 link connected by Cat5e patch cords. Each Daughter Board can directly control 32 light channels using four 74HC4094 SIPO chips to trigger the SSR boards.
The Prop 128 v2 Light Controller operates in one of two modes.
Mode 1: Stand alone mode. The controller waits for a predefined start time. It then plays MP3 encoded songs and synchronizes the light channels to the music using data stored on an SD card until a predefined end time. This is the primary mode of operation.
Mode 2: Controlled by a PC running Vixen via a wireless ZigBee radio link. Vixen plays the MP3 songs and sends the light channel data to the controller using a MaxStream XBee Pro ZigBee radio link. This is the fallback operating mode if Mode 1 fails to initialize. Mode 2 is also used during display setup to test and troubleshoot the display.
I wrote a Windows application I call the Prop 128 Show Builder to take the Sequence data generated by Vixen and reformat it for use by the Prop 128. It groups sequences and pauses into a show that the Prop 128 v2 plays. The pauses can be anywhere between 1 second and 3599 seconds (59 minutes and 59 seconds).
Planned Future Improvements: The power of the Propeller chip and the flexibility of the architecture of the Prop 128 v2 controller will allow several improvements to the software without the need to upgrade the hardware. Some of the planned future improvements are:
1. Add the capability to start a show or specific sequence stored on the SD card at anytime via the ZigBee link while in Mode 1.
2. Add the capability to stop or pause a running show via the ZigBee link while in Mode 1.
3. Add the capability to operate like Mode 2 while in Mode 1; i.e., be controlled by a PC running Vixen to send channel data to the controller when it is not running a show off of the SD card.
4. Add the capability to update the Real Time Clock in Mode 1.
5. Add the capability to hot insert an SD card. This would allow switching from Mode 2 to Mode 1 without shutting down the system.
6. Add the capability to synchronize two or more Prop 128 v2 Light Controller systems from a single master controller via the ZigBee link. The master controller would play the MP3 songs, control its 128 light channels and send a synchronization pulse every event to all of the other controllers in the immediate area using the ZigBee link. The synchronization pulse would be a broadcast transmission. All of the other controllers would have their sequence data stored on their local SD card. They would update their light channel intensities on every event synchronization pulse. This methodology should allow nearly an unlimited number of channels to be synchronized since the XBee Pro radio has an exterior line-of-sight range of up to 1 mile. With the right placement of the master controller it should be possible to synchronize the lights on every house on a block.
BuzzKill
10-25-2008, 10:05 PM
Drooooooooooooolllllll
Nice work Greg!
Love the modularity, the wireless, the stand alone elements. Its certainly next generation! Looks like a bit of effort's gone into it along the way!!
So much potential. Simply.. great.
Tim
kmc123
10-25-2008, 10:58 PM
WOW!!!
Awesome Work!!!
omzig
10-25-2008, 11:31 PM
http://www.ksmiths.com/blinkyflashy/surprise.gif WOW indeed! http://www.ksmiths.com/blinkyflashy/notworthy.gif
jderba
10-26-2008, 07:03 AM
Nice job Greg, VERY nice
TonyK
10-26-2008, 09:03 AM
Sounds like a fantastic design Greg! I was actually planning on taking a similar route before I found this site a year or so ago. The propeller chip has huge potential but I knew I couldn't get it together in time for my first show so it made sense for me to go with the proven/tested designs by others in the forum instead of designing my own from scratch. I'm glad I did and it worked out great for me but I'm still interested long term in a design such as yours. Any plans on making the prop chip code and conversion software public at some point?
gmbartlett
10-26-2008, 11:19 AM
Thank you everyone for the nice compliments.
TonyK,
I agree with you that it takes a lot of time to develop something like this; but, I tell people that my job costs me a lot of money. I'm an electronics engineer that doesn't do any real engineering at work. So I decided to fulfill my engineering needs by designing the controller I wanted. It took me about 1 1/2 years to develop the Prop 128 v1. This is the controller I uses last Christmas. It operates like Mode 2 of this controller. I have spent most of this year developing the software and hardware for the Prop 128 v2. I didn't set out to compete with anyone else’s controllers; I just wanted to build one that did everything that I wanted.
The Prop 128 v2 is kind of like the BMW of controllers. It has a lot of bells and whistles but it also comes with a fairly high price tag when you compare it with the other controllers out there. The approximate cost per channel is $5.40 not including the CAT5e patch cords or the power cables.
That being said, I would be happy to share the source code and the Prop Show Builder. The source code is best viewed using the Propeller IDE. This is a free application you can download from the Parallax website at: http://www.parallax.com/Portals/0/Downloads/sw/propeller/Setup-Propeller-Tool-v1.2.exe
A note of caution about the Prop Show Builder, I wrote it for me, so it is not the most user friendly or intuitive application. It does not have a help file. If you want to use it I will probably need to talk you through it on the phone. Let me know your phone number by PM and I will call you or I can PM you my number and you can call me.
I’m also including a couple of block diagrams that I meant to include in the original post.
wjohn
10-26-2008, 05:33 PM
Greg,
Are you sure this is not a fully blown commerical product. That must be the best thing this side of Xmas I have seen!
The modularity is great, the ability to work with Vixen or in standalone mode makes the design.
At 5.40 a channel, it may be priced at the BMW level of the market, but it has all the BMW/Lexus bells and whistles.
Well Done, we can all learn from you.
gmbartlett
10-26-2008, 06:37 PM
WJohn,
My wife wishes I would sell these commercially to try and recoup some of the development costs. But I just tell her it is money well spent on my sanity ;-). The real reason is I don't want to try and compete with the established commercial vendors, nor do I want the liability that goes with selling it.
I've had a request via PM for a BOM, so I'm attaching it here. The PM asked if I would be willing to open this up to the general DIY community for use. I certainly don't have a problem sharing any of this with anyone that would like to use it. Just let me know what you guys think.
WWNF911
10-26-2008, 06:47 PM
I think I definitely like your attitude Greg. Nice job!
Leon
gmbartlett
10-26-2008, 07:51 PM
I've had a request for the Vixen Plugin, so I'm posting it here.
The original plugin was written too specific to my system. It probably would not have worked on anyone else's computer but mine. I've rewritten it to be more generic and renamed it the Helix Plugin to correspond with the name change.
rlilly
10-26-2008, 10:58 PM
Greg,
Now that this has opened up, you've got to come up with a slick and comely name for your accomplishment....
I'm sorry but 'Prop 128 v2' isn't good enough...
It's up to you to 'christen' it....
'Firegod', 'Renard', and 'Grinch' are taken...
'Proposition 128' would sound too political at this time of year...
So, it's up to you...
I'm sure many will volenteer suggestions....
gmbartlett
10-27-2008, 06:07 AM
Greg,
Now that this has opened up, you've got to come up with a slick and comely name for your accomplishment....
I'm sorry but 'Prop 128 v2' isn't good enough...
It's up to you to 'christen' it....
'Firegod', 'Renard', and 'Grinch' are taken...
'Proposition 128' would sound too political at this time of year...
So, it's up to you...
I'm sure many will volenteer suggestions....
Bob,
You are the second person to suggest this (the other was a co-worker). Obviously I selected the Prop 128 name because it is based on the Propeller chip, and because I was submitting the design to the Parallax Propeller design competition. I hope to win some prize money to offset the development costs and provide some seed money for next year :-).
I'm not opposed to changing the name but I would like some suggestions. My co-worker suggested the Bart 128. I'm not too fond of that one.
Any suggestions?
derekhessman
10-27-2008, 06:59 AM
Bob,
Any suggestions?
How about SPARC? S)elf-contained P)arallax A)dvanced R)efined C)ontroller
derekhessman
10-27-2008, 11:25 AM
How about SPARC? S)elf-contained P)arallax A)dvanced R)efined C)ontroller
I've got one I like even better... STAMPEDE
S)tand-alone
T)wo-mode
A)dvanced
M)odular
P)arallax
E)vent
D)immable
E)xecuter
omzig
10-27-2008, 02:16 PM
UPSCALE
Unlimited Potential Self-Contained Advanced Lighting Electronics
rlilly
10-27-2008, 05:55 PM
The Prop 128 v2 is kind of like the BMW of controllers.
Well, there it is! It's the Bee-MW!
Well, there it is! It's the Bee-MW!
Or... inkeeping with the theme... the (light-) 'Beemer'!
kenl92
11-14-2008, 08:02 AM
That is awsome!
I think I found my 2009 or ( or mabye 2010 ) controller!!!
rlilly
11-14-2008, 08:28 AM
That is awsome!
My sentiments, completely!
Greg your controller has ALOT of potential. I cannot wait to get my hands on one of these. I am in dire need of wireless! I need to cross some streets and this will do me wonders!!
I think you should look into a daughter board with onboard SSR's. That would really be great.
Ben
gmbartlett
12-14-2008, 05:01 PM
I think you should look into a daughter board with onboard SSR's. That would really be great.
Ben
Ben,
WJohn is already looking at designing a daughter board with onboard SSR's. He said he would make that design available to everyone also.
Ben,
WJohn is already looking at designing a daughter board with onboard SSR's. He said he would make that design available to everyone also.
I am actually in the market for a DMX wireless system. BUT!! This is just as good.
Ben
rlilly
03-27-2009, 06:50 PM
Greg supplied me with a Prop 128 main board and daughter board late last year. I got around to building them a couple of weeks ago.
Man that wireless is cool!
The biggest challange was getting that SMD part done, not that it ended up being hard, it's that I'd never done it before. I didn't use any special paste flux or small diameter solder. I put a weight on it to hold it aligned on the pads, then took regular solder and a chisel tip iron and ran a bead bridging the 8 pads on one side of the part. I removed the weight and did the same to the other side. I then used solder wick to remove the bridges. There was one pin that wasn't making good contact, but it was pin 16 on the end, so it was easy to touch up. There are three SMD parts for both the Prop and Helix boards. I just have one daughter board, so only one part to do.
The Xbee Pro comes setup for 9600 baud, so I needed to reconfigure to 57k baud both radios using the configuration tool that Greg put me onto here (http://www.digi.com/support/productdetl.jsp?pid=3265&osvid=0&s=270&tp=4). Greg told me that he plans to eventually have the software set up to configure the radios rate automatically.
I'm going to run the Prop in mode 2 only, so I left out the several pieces of the board that allows it to run stand alone.
After testing the Prop and daughter, I installed them in a YBS enclosure along with 52 SSRs. I plan to use it for the Mega Tree this year. There's room in the box to house 96 SSR, so one day....
Here are some pics:
YBS enclosure (http://i262.photobucket.com/albums/ii102/rlilly4/Prop%20128/P3270006.jpg)
Open enclosure (http://i262.photobucket.com/albums/ii102/rlilly4/Prop%20128/P3270001.jpg)
Prop Main Board (http://i262.photobucket.com/albums/ii102/rlilly4/Prop%20128/P3270002.jpg)
Prop Daughter Board (http://i262.photobucket.com/albums/ii102/rlilly4/Prop%20128/P3270010.jpg)
Bank of 32 SSRs (http://i262.photobucket.com/albums/ii102/rlilly4/Prop%20128/P3270012.jpg)
Banks 2, 3 and neutral bus (http://i262.photobucket.com/albums/ii102/rlilly4/Prop%20128/P3270005.jpg)
The Helix will have several improvements over the Prop, but I'll leave that unveiling for Greg.
ukewarrior
03-27-2009, 07:59 PM
Bob,
Which enclosure is that?
rlilly
03-27-2009, 08:25 PM
Dave,
It's a Keptel CG-1500 Coax Demarcation Enclosure 12.25 x 12 x 5.25 (http://www.yourbroadbandstore.com/product.php?pid=706098)
gmbartlett
05-01-2009, 06:07 PM
The Helix, the upgraded Prop 128 v2, is ready for release to the group. I've opened a Group Buy post at: http://www.doityourselfchristmas.com/forums/showthread.php?p=65139#post65139.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.