Definitely need to focus..
..on the modelling. But, to be honest, this really grabbed my interest as a bit of a technical "can I actually get that to work?" way. The answer is "Yes", but what is it?
I decided to see if I could make a simple hand held railway controller that be used to operate a DCC layout. When I say "a" DCC layout, I really ought to be clear and say that I meant "our" DCC layout: JMRI with a DCC++ interface.
I wanted it to be as simple as possible to operate, and as simple as possible to configure, and this is the first completed prototype in a 3D printed case (a story in its own right):
So how does it work? Hopefully fairly intuitively. The rotary knob will control the currently selected engine shown in the bottom box (faster/slower, forwards/backwards, etc). Click the dial to change direction, long click to flip between driving mode and shunting mode. The "cross" (actually a joystick component from an Xbox controller) is used to move up/down the menu, or left/right between menus. Press to activate the selected item.
Technically, it's not the handset doing the clever stuff. All it does is manage its display and report buttons, dials or joystick activity communicating with a computer via a USB lead. The fiddly stuff is done in a program on the computer which picks up a menu configuration from a text file and (for the moment) talks to the WiFi Service in JMRI to make things happen.
So far I can turn power on/off, select and drive an engine and toggle points.
One of the aims was to make it as easy as possible to "play" trains, so once an engine has been selected (and appears in the bottom of the screen) it can be driven while any other menu is shown (and used). Here the points menu is active with Engine 51 moving forwards:
Anyway, all I need to do now is make the management her own controller (no doubt in a different colour), and we'll be away and perhaps (with this now nearly out of my system) I can get back to what I ought to be doing: building the layout itself
- 3
- 1
2 Comments
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now