Skip to main content

Reviving Old Code

I'm at the point where I want to verify I can get my old DMX adapter working again. I know it worked a few years ago with xLights, but I need to do a few things differently this year.

First off, rather than use xLights this year, I've already written a new DMX controller application. Because of this, I need to revive some old software I used to send DMX data to the adapter. The DIY adapter I use is called a Lynx Dongle and it's compatible with the EnttecProDMX protocol.

The second thing is I'll be using several different laptop platforms and a RPi4 to run the show. So, there's a need to verify a lot of things. I'll write the show runner application to execute on RPi4 and utilize web-based remote control features.

Test 1:

The first test is to plug the Lynx Dongle into my old laptop and make verify which serial comm port it appears as.


Looks like COM3:


Test 2:

Update the DMX test code and see if it connects.


It actually connected and ran for 10 seconds, as programmed.


Test 3:

Now, connect the Lynx DMX Dongle to the light fixture (I almost forgot the DMX terminator). The 'd001' is the address setting and it blinks when a DMX signal is present (it's blinking). When I remove the DMX In cable, it stops blinking. I have it configured for simple 4-channel control (RGB+W).


Test 4:

Now it's time to run the program and send data. The first run will send '0' values. The second run will send '255' to the red channel.

1) 0,0,0,0: No change to the fixture (as expected)

2) 255,0,0,0: Red comes on (as expected)


Another thing that was expected is that the red DMX value stays on even though no DMX data is being sent. This is an EnttecProDMX behavior. So, sending '0' down the red channel is required to turn it off.

For fun, lets turn on the white channel:


Conclusion

I was able to find the code for the DMX adapter and prove that it ran on a system that it ran on years ago. My next objective is to see if I can get it to work on my MacBook.



Comments

Popular posts from this blog

Research and Planning for Canton Chills 2020

I spent some time conducting research this weekend on video projectors, DMX lights, fog machines, and wireless transmitters, digital decorations from AtmosFX, and computer show controllers. My goal was to get a good understanding of equipment and cost and keep that understanding in the back of my mind while planning out the display. The theme of the display will be kid-friendly with hints of creepiness scattered about. I imagine something more of a Disney experience: good attention to detail with a warmer, thematic feel. I am also adjusting my mindset such that I think of it more like a show than a display. I am just not skilled enough to know whether the show is built around the display or the display is built around the show. This perspective, I need to understand. On the display side, I also started a task I was curious about for some time. That was, what is the distance to screen size projection ratio for the video projectors I have. I managed to get measurements for the mini...

Will 2022 be the Year for Projection Mapping?

I've wanted to set up a projection mapped Halloween display for years but have been hesitant for a few reasons. First, finding a good projector location will be a challenge. Next, it's hard to tell which projector will work well. And lastly, it will cut off access to the driveway and trick-or-treaters. This last one may not be that big of a deal. Given the way the porch comes out from the house, the projector location would be best over the driveway. But, this assumes that the side of the porch cover located between the porch and the garage would be mapped. This really isn't necessary. Positioning a projector at the midpoint of the house would be the best approach when dealing with a traditional keystone correction. This location, however, blocks part of the house from the projection. Last year I was able to set the garage projector to the left side of the driveway and still provide an approach to the porch. I belive that using this in conjunction with a projection map in t...

Sprite DMX Control Confirmed

I spent the day digging through my old DIY DMX projects and piecing together a system in order to test the Sprite DMX controller. It's best to explain as a series of tasks: Locate my Lynx DMX Dongle and install the FTDI/Virtual Comm Port drivers on my laptop (I'll use an older laptop later) Dust off my Lynx Express 16 channel AC controller to test the DMX dongle as well as finding the DMX-wired RJ-45 cables for doing so Figure out the RJ-45 to DMX signal wiring fron the Lynx Dongle Wire up the Sprite DMX module Find a suitable computer based DMX sequencer and figure out how to use it (a lot harder than I expected) Put it all together and make it work (my wife thought I was doing something useful) With the exception of spending about two hours trying to find the two tiny Sprite DMX controllers that I purchased last year (they weren't where I thought they'd be), most of my time was spent finding a suitable and easy-to-learn computer application for controlling the darn th...