techbear
Administrator
Registered:1374951550 Posts: 172
Posted 1602561987
Reply with quote
#1
DMX integration with Artemis was because of a great idea. If you have a home bridge, it'd be cool to have big flashing red alert lights. DMX seems to have worked pretty well for Artemis fans and bridge builders. Still, I can't help but notice that you always asked for more DMX events, and fans even tapped the network traffic to get more data, that could then be used for more complex light setups. So now, with Artemis 3, we've got a blank slate to do better. But what is better? Is there a better effects technology than DMX? Some tech I should be integrating with instead of DMX, or perhaps along side the DMX integration? Or do you just be happy with better and more granular control over the DMX messages and triggers? Perhaps script code that manages that? What do YOU think?
NoseyNick
Registered:1519077343 Posts: 349
Posted 1602627377
Reply with quote
#2
Those that love it, LOVE IT, and with good reason. I believe there are extensions to DMX to do various "other effects" (smoke, bubbles, fans, spinning things, raising/lowering things, shaking things, etc). I'm not aware of "better effects technology " though they may exist. I suspect some people would appreciate more flexibility to start/stop/modify various DMX sequences by various events. Those that DON'T use DMX do still see a lot of network traffic for DMX events though, it's a pretty large percentage of packets sent to all main screens(?) regardless of whether they have DMX hardware or not. I think I previously suggested treating DMX a bit like "another console", automatically selected by instances that detect DMX hardware, but NOT "selected" by other clients, and reducing network traffic accordingly. Many thanks!
xscape
Registered:1557013045 Posts: 24
Posted 1602812325
Reply with quote
#3
I'll throw my 2 cents in, I spent the better part of the last 9 months setting up a custom bridge / escape room around Artemis. using many of the built-in DMX cues to trigger special effects and some puzzles based on the game state. However, today I only really have 4 Custom Events, and 4 Custom States with which to trigger props / story elements. Having additional Custom Events and States would (I think) benefit everyone as we can decide in script what we want to trigger or check it's current state. I'll admit, when I started this I had never used DMX but after building my props and integrating a DMX shields for them I can appreciate it simplicity as well as it robustness, the only issue with the current DMX is that communication is only one way. There are updated DMX standards (RDM) which allow for any device to take over as the master, While this could be initially complicated to integrate; the longer term benefits could be huge. I could see some really cool features for console -> server interactions and console -> console interactions with DMX that would really add to the immersion and gameplay aspects not to mention being able to self identify what is available on your loop and check status change addresses etc... Integrating RDM will not affect existing DMX setups either since RDM communicates when DMX is comms are idle.
HaydenBarca
Registered:1537152273 Posts: 455
Posted 1603066377
Reply with quote
#4
I've been happy with DMX as a novice since I appreciate that there's a wealth of resources online about it. Someone related to xscape's comment about two-way communication, it would be nice to use joysticks without relying on third-party software like Joy2Key. Just having more button hooks would do it. I think whatever makes building custom bridges more accessible to more people will grow the fan base.
Newcommerin
Registered:1387386974 Posts: 224
Posted 1603541223
· Edited
Reply with quote
#5
My opinion is just like NoseyNick's. There is just one thought I like to throw in: All Bridges that are already build do work on DMX. If you change it completely everyone has to rebuild and buy new stuff. So the "upgrade" idea with backward compatibility (thank you User <3 ) sounds like a very good idea!
__________________ Sorry, English is not my native language, I am German. (* I wish I would live in America, I wish I would... *) Any mistakes you can find, you can keep and with the spelling mistakes you can cook you an alphabet soup. My Artemis Homepage: https://star-ship-academy.jimdo.com/
LawsonThompson
Registered:1375038367 Posts: 827
Posted 1604703488
Reply with quote
#6
Quote:
Originally Posted by NoseyNick Those that DON'T use DMX do still see a lot of network traffic for DMX events though, it's a pretty large percentage of packets sent to all main screens(?) regardless of whether they have DMX hardware or not. I think I previously suggested treating DMX a bit like "another console", automatically selected by instances that detect DMX hardware, but NOT "selected" by other clients, and reducing network traffic accordingly.
THIS! I'd like to see a "DMX" console, and select which ship that console matches, so each ship has its own set of DMX triggers available. The reduction in network traffic would be significant for bridges which don't need DMX at all. The DMX console should receive events for the selected ship, and do all the DMX timings locally. I could certainly see a scenario where a few laptops join a server as DMX consoles and drive various separate sets of DMX lights/hardware. The DMX console could also have an option to connect to the "DEBUG" server, where a list of known DMX triggers are shown. Click one to trigger it for testing the locally-connected DMX controller!
__________________ ----https://LTEBridge.com
notsabbat
Registered:1390458126 Posts: 1,495
Posted 1604851715
Reply with quote
#7
DMX is great. You can buy components cheaply if you know where to look, it is incredibly flexible and the modders are already using it. I don't see any reason to change, though I will admit I am not very knowledgeable on what alternatives are out there.
__________________ -Captain of the TSN Gungnir JN-001 -Eastern Front online group member -My continuing bridge build:https://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?&trail=165
EricF
Registered:1510413974 Posts: 239
Posted 1605501204
· Edited
Reply with quote
#8
There are a lot of fantastic projects on these forums that use DMX, but one thing I've noticed is that many folks are using an Arduino (or similar microcontroller) to run their custom bridges, and the DMX protocol is just not very beginner-friendly for this use case.
The brilliant AngelOfRust would probably tell us that it's really not that bad: his post here outlines how he's using the Teensy-LC's ability to run four serial connections to act as a HID and communicate with Artemis via USB and also do four other things. But he had to go through a lot of hoops to get the microcontroller to handle DMX's weird timing issues.
I'm very new to this so maybe this suggestion isn't practical but, here goes: I'm wondering if there's a way to both convey telemetry ("remaining energy is 900"), and to accept HID-style input ("Set speed to warp 4"), over a good 'ol 9600 baud serial connection. Then anyone could pick up an ArduinoMEGA clone for ten bucks , plug in some buttons and pots and LEDs, and be well on the way to building a custom bridge. The goal would be to work toward something like the excellent MobiFlight project for flight simulators, which makes adding custom hardware controls not much harder than mapping controls on a gamepad: tell it that Pin14 is your landing gear button and Pin 15 is your landing gear LED, and you're on your way.
Here for example are their instructions for setting up an LED as the "parking break light" in various flight sims: dead simple. The project has its own Arduino sketch so you can use it right out of the box in the most basic way, but of course you can also use their code as your jumping off point for something more custom.
In practice this would perhaps not require depreciating DMX support, since much of the protocol could be the same.
Overall: I think the key to getting more people excited about building a physical interface for the game is lowering the barrier to entry for people using an Arduino, and defining a system for both outputting information (lights) and inputting it (buttons) via the same USB interface.
HaydenBarca
Registered:1537152273 Posts: 455
Posted 1605504033
Reply with quote
#9
I really like EricF's suggestion. By piggybacking on Arduino, Artemis could tap into a huge amount of existing support/tutorials/etc, making the "killer app" of Artemis (the fantasy of building your own bridge) much more accessible.
EricF
Registered:1510413974 Posts: 239
Posted 1605506287
· Edited
Reply with quote
#10
Thanks HaydenBarca. I totally respect that many people are already getting good results from DMX, but it's fundamentally pretty much an "output" protocol, and it's tricky to pull it apart on a microcontroller. So if we can get to a point where a cheap, widely available serial device like an Arduino can meet that need but also allow input , that would be an "aha!' moment for many bridge builders I think.
As an example of what's possible in the combat aircraft simulation community, this guy has built a spectacular fighter jet sim pit, almost entirely with home-built components, mainly using a bunch of Arduino MEGA2560 clones to control lights, buttons, potentiometers, even servos for physical gauges.
https://www.youtube.com/channel/UCJq3cq9N6xYF0fAvTgpwoBg/videos
His analog fuel gauge is a thing of beauty and so is this multi-function display frame all driven using either arduinos or arduino clones targeted to the sim building community. The components cost pennies and the software is simple; the results he gets are all down to his time and attention to detail. To achieve this he's using the "Helios" input/output system which is designed for someone with no coding experience to map values exposed by the sim software to microcontrollers that are connected via USB. Since WS2812 LED strips of arbitrary length use only three pins on a microcontroller (and the Arduino Mega has fifty pins!) you can control literally thousands of RGB lights and dozens of buttons/pots from a single board. In this case Helios is acting as a client to Digital Combat Simulator's proprietary telemetry server, and then packing up any relavent signals to send over Serial. My suggestion is that Artemis include an interface similar to what Helios/MoboFlight do, and directly support serial coms.
techbear
Administrator
Registered:1374951550 Posts: 172
Posted 1606520367
Reply with quote
#11
This is all good feedback! I'm glad DMX still can work for people. I'll look into a more generic, two-way serial connection. And since I've already got an imbedded PYTHON implementation, and everyone wants more granular and client-specific DMX triggers, I'm inclined to use PYTHON scripts to drive the DMX output.
EricF
Registered:1510413974 Posts: 239
Posted 1621273251
Reply with quote
#12
Just popping back in to this thread to mention that I've had lots of conversations in various places recently about Arduinos and Artemis. I have a feeling that supporting some basic inputs and outputs directly over serial coms would quickly get a whole world of microcontroller nerds interested in Artemis!
I also love the idea of giving us a PYTHON interface to drive the output. It would be wonderful if the default behavior could itself be scripted in Python, so that tinkering with it could be as simple as changing existing code.
Jake Ryker
Registered:1439863787 Posts: 150
Posted 1621370672
Reply with quote
#13
DMX to Wemo or wemo like switches would be awesome. Not everyone can afford or talk their spouse into additional equipment for a bridge. Being able to use pieces of a home system to work for artemis would be great. Until recently that is what we did. Thanks...in advance....
__________________ My job is to solve problems, find amazing tools and toys, and above all inspire people. Serving on board the USS Albatross docked at bay 1325.
Angel of Rust
Registered:1483481942 Posts: 442
Posted 1622170532
Reply with quote
#14
Quote:
Originally Posted by
EricF Just popping back in to this thread to mention that I've had lots of conversations in various places recently about Arduinos and Artemis. I have a feeling that supporting some basic inputs and outputs directly over serial coms would quickly get a whole world of microcontroller nerds interested in Artemis!
I also love the idea of giving us a PYTHON interface to drive the output. It would be wonderful if the default behavior could itself be scripted in Python, so that tinkering with it could be as simple as changing existing code.
Agreed! Right now, I can read the DMX stream into my microcontrollers as output from the game, but it is a little clunky compared to what you're talking about. Also, a lot of the data doesn't have the granularity that would make things like analog gauges, heading indicators, shield status, etc. as cool. One thing I will say is that even with the finite number of DMX events available from Artemis 2.0, it already helps with error control on my controls. The single best example is reverse on helm. Because the controller knows the reverse state from Artemis directly, the indicators and the button behavior never de-sync as long as the DMX is connected. Very helpful to avoid confusion!
EricF
Registered:1510413974 Posts: 239
Posted 1643599127
Reply with quote
#15
Although I know that Artemis 3.0 will likely present an even cleaner way to achieve this, I've posted an "Artemis Arduino Connector" tool over in the Custom Bridge forums, which makes it easy to plug in an Arduino and assign game functions to its pins. Full post here .
The software listens for commands from the Arduino over serial, and then emulates keystrokes and mouse movements. It's similar to the flightsim "Mobiflight" project (for FS2020 and X-Plane 11). The missing piece is still some good way to get data back out of Artemis and into a microcontroller. Right now we have DMX, or we can scrape the network packets directly. But it would be wonderful to have an easy to way get, say, the current helm heading, and send it out to a program like this so that it could be displayed on a 7-segment display.