Archive for February, 2009

My Dongle Isn’t Naked Anymore!

Friday, February 27th, 2009

I took some time out this morning to run out to Dad’s house and attempt to put holes in the enclosure for my DMX Dongle. For the most part I was successful, more so than my last attempt at putting holes in an enclosure, but that was like 5 years ago. The holes are slightly larger and not quite square, but it’ll work for me. I had every intention of putting pictures on tonight, but have not had much luck with any of the picasaweb plugins for WordPress. I was able to hand enter the tags for a pic, so I know that isn’t the problem, but I surely don’t want to be doing that for every pic I put on here, and I don’t want to put them on my server because I’m already utilizing 50% of my alotted storage space. I might end up switching to flickr if I can’t find a plugin that suites me.

While I was out there, I found a drill bit that was slightly larger than the holes in the bottom of the broadbandstore enclosures. I ran it through them and when I got home tonight tried my 3 wire cords. It was much easier inserting them with the holes slightly larger. I’m also thinking I’m going to use the 12×12 enclosures instead of the 9×9 ones for my Ren24′s. I hate to have something that big, but I think I will like the extra room they provide. Speaking of my Ren24′s hopefully my boards will arrive tomorrow!

Welcome

Tuesday, February 24th, 2009

Welcome to the new home of my computer controlled Christmas lights project. Everything dated prior to this post was originally posted on my general blog, but has since been moved to this site.

Now we’re dimming!

Tuesday, February 24th, 2009

My DMX dongle PCBs arrived today. I was rather excited to get one soldered up so I could test out my DMX Grinch Controller. It only took about an hour to solder it up, quite a testament to RJ’s design. Anyhow, I plugged it in, fiddled around with some settings and voila, I had [smoothly] dimming lights. I guess now I’ve got blinky, flashy, dimmy. They definately look a lot better when dimming. I’m so glad I went with the renards so that my whole display can dim. When I signed up for the renard coop, I had very little knowledge about what I was getting myself into, but I think they will end up being a good decision. I kind of wish I had gone with something that spoke DMX natively, but the renards are supposed to speak DMX with different firmware, so I might have my cake and eat it too!

My whole Grinch setup minus the SSRs

More dimming than last time, but still not quite there.

Thursday, February 19th, 2009

As promised, I threw a MAX485 on a bread board and hooked it up to my Arduino. You can use the USB driver on the Arduino board and hook the TX pin into the Arduino, combined with the Entec Open USB DMX driver, you can easily and cheaply spit out DMX. Anyhoo, I hooked that circuit up to my Grinch DMX Dimmer and fired up Vixen and started spitting out some dimming channels. Indeed I had some dimming Christmas lights, but it was very jumpy and there was some random flashing going on. It surely wasn’t smooth, but at least it proved that my DMX Dimmer was getting a signal. I’ve been reading that the Open DMX (which has no “brains”) has a hard time keeping up with the timing for the DMX signal (like .4us) because the computer is doing all the work. I’m hoping that when my DMX Dongle PCB gets here and I get it built up, I will have much better results. It will have a dedicated controller for keeping the timing just right and the computer will just have to say “hey you, turn on channel 1 at 50%”, and it’ll politely do so.

I put together another SSR, and had much better success this time, maybe I’m actually getting the hang of this soldering thing. I had two of the triac joints bridged, but that was easy enough to fix and at least I didn’t fry anything this time. I still have 14 more to build, but I’m not in a huge hurry. The Grinch and SSRs will probably end up at the store anyhow, as I should have enough channels (for this year) with my Ren24′s. Speaking of which, the PCB’s are supposed to be arriving Friday, so hopefully I’ll have mine next week. The heat sinks are due in March 2nd, so by mid march I would imagine I would have at least one running and in its enclosure that I can post some pics. I found a bigger enclosure than the 9×9 ones I was going to use, it should let me have more room to play with for putting a grounding bar in and some strain reliefs in.

Most of this week so far I’ve been trying to teach myself Assembler on the PIC so I can use one as a standalone show controller, (and perhaps for other projects… cough… cough… wireless barcode scanner). I have been able to send data to my ShiftBrites for now, but am trying to figure out the best way to put a “show” on there. At least it’s progress I suppose. I’ve also been trying to find music that I like and that will be appropriate for my show. I’m also trying to get a feel for the beats and what would look good with it. I probably won’t start sequencing until I nail down the layout of everything, and that won’t happen until it warms up enough to measure out parts of the house. I hope to get going on sequencing soon though, because from what I have read, it takes most people 4 to 5 hours+ per song, and that’s if you know what you’re doing.

Dimming Grinch… Sortof

Monday, February 9th, 2009

I got my Dimming Grinch DMX board assembled last night. The backordered terminal blocks finally arrived from mouser last week. I got it all together and checked it over for bad joints and powered it up. Right off the bat, the LEDs were acting really flaky. They would come on and go off randomly. It also seemed that when I would touch certain places on the board they would react to that. I thought great, I’ve got a bad joint somewhere or a broken trace. I couldn’t find anything. Turns out that because they are connected to the AVR and it hasn’t been programed yet, the pins are set as inputs as the default. Being inputs, they were just turning the LEDs on willy-nilly and can be influenced by outside electrical noise, which apparently is what my body was inducing when I would touch the board.

Anyhow, when I tried to program the chip with my usbtinyisp, I got nothing. I screwed around with it for a while, and eventually built up a programming circuit on a breadboard to try it out outside of the PCB. Sure enough, first try, the programmer found the chip. OK great, I went to set the fuses and got the lower fuse set fine. When I tried to set the higher fuse, nothing. I couldn’t find the chip again. Well since I had set the chip to use an external clock when setting the lower fuse, it was expecting an external clock and my circuit didn’t have one. So back to the PCB I went, because it has an external clock. I screwed around with it for a while and ultimately gave up. Today after reading the schematic, I realized that pin two of the ICSP header wasn’t connected to anything and since pin two is where the chip gets Vcc from the programmer, I knew I wasn’t going to fry anything if I left the programmer’s self powered jumper on. I tried it and BAM! it worked.

I’m thinking that when I removed the header, neither Vcc nor ground was getting connected, and the grounds needed tied together to make the circuit and the programmer “become one”. So, I got the fuses reprogrammed and flashed the program onto it and we appear to have one working dimming grinch DMX board thingy. Only missing part is the DMX. I’m planning tomorrow night to hook a max485 to my arduino to make a pseudo DMX dongle that I can at least test my dimmer with.

I might just have dimming Christmas lights tomorrow night and my Ren24′s aren’t even here yet!

Robert Martin's Dimming Grinch DMX Controller

Success

Saturday, February 7th, 2009

Here is a copy of the post I just made on DIYC for my own archival purposes:

I finally have blinky flashy!!! Thank you everyone for all of your help and suggestions. I had my grinch working with LEDs to test it, but tonight for the first time, I have blinking Christmas lights.

The original problem with the SSRoz was that channel 3 wasn’t working. It turns out that it was just a bad joint at R7 so the opto for channel 3 wasn’t getting 5V. However, that naturally wasn’t the first thing I checked and ultimately led to all of my other problems. I did however learn several very important tips that I will have to keep in mind as I proceed to build the rest of my SSRs and my Ren24s.

1. Don’t get too excited.
Once my back ordered resistors arrived from Mouser yesterday I was dead set on getting some blinky flashy on. Because of this I probably pushed my self way to much once things started going wrong. I should have just went to bed. This leads to #2…

2. Don’t try to troubleshoot at 12:30 AM (unless of course you’re usually up at that hour, which I am not)
I made some stupid mistakes last night because I was tired and just wanted the thing to work. Namely I left the grinch plugged into the SSR while trying to troubleshoot it and I believe the cable moved it too close to a spiral notebook that I had on my table and this shorted out the Allegro’s on the grinch, thus leading to the previously working channels on the SSR to stop working. I ended up frying the Allegros, but fortunately I had two spares to test it with and the spares fired right up.

3. Don’t assume it is just one thing.
Turns out my fuse holder wasn’t quite soldered on right. The joint looked good, but it wasn’t. This was leading to some of the flaky behavior I was experiencing. This in combination with the joint at R7 and frying the allegros started leading me in the wrong direction.

4. Don’t assume anything.
Once those faulty joints started misleading me, I started thinking that I somehow fried the optos or the triacs. Tonight, after I fixed my grinch with new Allegros, I went back to the SSR, channels 1, 2, and 4 were working again, 3 was still not. I put one of the good optos in and still nothing, so I assumed it was the triac. I spent the better part of a half hour de-soldering the triac and putting a new one in. Sure enough this didn’t fix it either. This is what ultimately led me to the bad joint on R7.

5. Make sure the AC is plugged in.
I don’t know how many times tonight I unplugged the AC cord to swap something around and went to try it… then nothing. Within a few seconds I would realize the AC was still unplugged but it was still annoying.

6. The blinky flashy is SOOOO worth it.
I was getting pretty frustrated last night, but I should have just walked away and went to bed. Tonight when I had four strings of lights at my feet sequencing, it’s hard to describe the feeling, but I’m sure you all know it.
My first two completed SSRoz's

We’ve come along way…

Friday, February 6th, 2009

Since I’m all about the Christmas lights lately, this link seems appropriate:


The Antique Christmas Lights Museum

On the light front, I built my first SSR last night… Channels 1, 2, and 4 worked, but 3 didn’t. Somehow in trying to get 3 to work, I broke the rest of them. At one point last night, 3 worked and the others didn’t, but now none of them work. It was about 12:30 AM, so I figured I’d better give up and try again tonight.

Bad Behavior has blocked 187 access attempts in the last 7 days.