Jump to content
Następne podsumowanie tygodnia pojawi się 21.09 | The next summary of the week will be published on 21.09

SimRail Controller hardware we've built.


Recommended Posts

On 12/27/2023 at 1:52 PM, Pitek said:

So here is also my controller (EU07 etc.) and I'm still waiting for data output. 

vlcsnap-2023-11-08-15h48m14s446.png

 

 

very jealous, 

I wish i could find someone selling the driving desk parts from an EU07 style loco,  got a couple of grand for the right bits,  just finding someone who could sell to me that's proving impossible (me being in the uk dosen't help, might have to take a road trip to Poland with the trailer on the car. 

 

Link to comment
Share on other sites

Currently in the process of making some controls inspired by the traxx. I'm making 2 modules for now, one for the left hand (throttle) and one right hand(brakeside).
I'm trying to limit my functions to 1 usb joystick card per side. (using 12 buttons and an arcade joystick )

Been using joytokey to give key commands, and worked flawless before(before the last big update). When I use it now, it gives commands I don't have control over, can it be the gamepad support messing it up? is there a way to deactivate gamepad?

Waiting on the case to get done printing and continue design of the right hand side if it works out as intended.
Also have bigger module in progress, with housing for saitek throttles with notchplates etc, but on hold until native joystick support is here.


20231231_224813.thumb.jpg.358740c716a63a854454dbe5b9f749e9.jpg20231231_225122.thumb.jpg.6798951105e98edae1780869a83e7321.jpg

 

  • Like 2
Link to comment
Share on other sites

the new 'input' system with new control animations seems to have made the controls 'sluggish' to those of use using controllers it seems.

I really notice this when i use a rotary encoder to turn the EU07's wheel,  the encoder sends out 1 keypress for every click it's moved, and before the update i could spin the encoders knob as fast as i could, and the wheel in the sim would match the speed i was rotating the knob.. i could move from notch 43 to 0 faster than the fast move button combo did.

but since the update, if i rotate the knob too fast the wheel in the sim misses a lot of steps it should have moved,
on my arduino boards i've added a 70 millisecond delay between repeated keypresses so the controls do not miss steps., 

 

Not sure if this is the case with your controllers, 

I only have a button box using JoyToKey, and haven't noticed any difference in how that is working, 

I don't think the gamepad thing can be disabled, but i do know there is a 'gamepad switch sensitivity' slider in the control menu, i expect this adjusts how much the analog controls on the gamepad have to move to activate a switch,  but i could be wrong. 

  • I agree 1
Link to comment
Share on other sites

I'm not sure, but I feel the throttle on the traxx is also more fiddly to change positions also(from throttle to 0 to braking.

I'll test some more when the box is complete.

Here is what simrail reads the buttons:
button 2 stand up/sit down

button 3 acknownledge/deadman

button 4 panto up

button 5/6 zoom in and out

button 10 is menu.

It's not joytokey ruining it, as no keyboard keys are sent when pushing buttons, so seems to me its something in simrail.

Tested in the "other" sim and I have similar issues there, so I think the sim engine mistakes my generic usb joystick for a xbox/ps controller?

So my request to simrail team is a possibility to disable game controller.

 

EDIT:
My issues was releated to Steam settings. Steam was set to emulate xbox controller, turned it off and voila, my device behaved as intended!
It only became a problem once simrail added game controller support 🙂 

 

Edited by Deadlost
  • I agree 1
Link to comment
Share on other sites

 

Ideal would be support from the creators if a communication protocol via IP Address, Port com.

Where for example Simrail would send a message at a configurable interval from speed, pressure, voltage, amps etc.

And vice versa I could send him a message via arduino for example.

For example to change direction I would send a command:  Directions0, Directions1,Directions2
Directions0 - Backwars
Directions1 - Neutral
Directions2 - Fowards

But even better would be if I could set in simrail via a configuration file for example. That the Directions element is the letter A

and then only send the message A0, A1, A2

I use a similar system with Open Rails and TS22

 

Link to comment
Share on other sites

  • 4 months later...
Posted (edited)

Not sure if anyone is interested, but i've made my Radmor style USB microphone a project others can build. 
Downloadable from Printables:

https://www.printables.com/model/869509-simrail-radmore-style-usb-microphone

 

You need to be able to 3D print a few parts and buy some electronics, everything is listed on the printables page above (no need to sign up to download) The electronic parts cost me around £30 from amazon (so should be cheaper elsewhere) and the 3D printed parts used about 150 grams of filament.

There are 2 solder joints for the MX keyboard switch, then everything is 'plug and play'  as the internals of my mic are based around a small USB hub that a mic dongle and single button microcontroller board plug into, that then plugs into a coiled USB extension, and it all fits inside the 3D printed mic housing. 

Pictures below show the internals of the mic, the electronic parts and the 3D printed parts, and the finished microphone.

image.thumb.png.9752c6c128b4aaab887d80fd1f0d6dbf.png

 

Edited by Gazz292
  • Like 3
  • Thanks 3
  • I agree 2
Link to comment
Share on other sites

  • 3 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy