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

2020 Halloween Technology Updated

I've been thinking about the technical work required to create a multi-projector synchronized display. A previous post on the 2020 plan outlined some technologies to put together to make it happen. And, it was possible, albeit, time-consuming. I revisited a project that I hadn't looked too closely at before. Actually, until two years ago, it wouldn't have had the features that interested me, but it does now. It's called the Sprite Video Player by MedeaWiz and it's quite remarkable. But basically, you can load it with video and sound files and remotely command it to play a file on demand. It even works with DMX. That got me thinking about other DMX elements in the display, like lights and fog, and how I would conduct the various animations and scenes. The simple answer came from the fact that I already have some DMX components, including a USB-to-DMX connector and DMX lighting controllers. I can use a computer running either Vixen Lights or XLights and programmed seq...

First Synchronized Video Produced for 2021

With the plan to use DMX synchronized video projections and lighting controllers, I have been getting busy with the setup for the 2021 Halloween display. This includes making sure the DMX hardware I have actually works and producing video content for the display. I feel that once I confirm the hardware will work, getting the hardware setup should be uneventful. The synchronized videos will require a lot more work, especially since I want to produce an hour long show (in order to not repeat the same scenes too often). I settled on four large video projectors for this season, but I know only where three of them are positioned. Figuring out where the fourth projector goes is eluding me and causing a little angst. I haven't tested the DMX controllers with the media players yet. I'm planning on testing them this weekend. This includes getting a DMX interface from the computer to the universe to work as well as sequencing software. I still have my Lynx USB-to-DMX interface but haven...

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...