Hello Guest October 04, 2024, 02:39:46 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]   Go Down

Author Topic: Howto guide: Using real ship controls in Ship Simulator  (Read 52026 times)

Kaj1

  • Forum member
  • Posts: 50
Howto guide: Using real ship controls in Ship Simulator
« on: January 09, 2008, 11:21:05 »

Note: A PDF file has been attached, this describes the same as this post.
Discuss this topic here: http://forum.shipsim.com/index.php/topic,4505.0

Using real ship controls in Ship Simulator

How-to guide



DISCLAIMER:
This tutorial requires some basic electrical knowledge, using this tutorial is at own risk! VSTEP is not liable for any damage that may result from any advice or action of this tutorial.


Introduction
This post describes how to interface a (real) Ship Control (potentiometer), to Ship Simulator 2008 via USB.

Real Ship controls:
Real ship controls consist out of  potentiometers with some gears. So these controls change the input current they get, according to the position of the levers. Moving the control changes the current of the controls output. Now if it were possible to capture this changing current, digitize it and send it to the PC, it would be able to control Ship Simulator with it.

The image below is a potentiometer. The long shaft is the control for the potentiometer, it controls how much current is lets through. As you can also see, it has 3 connections, a +,GND and signal.
                     
Joystick Controller BU0836:
There are several devices on the market which allow you to connect analog signals and send them to the USB port. An example of this is Leo Bodnar's BU0836 controller. This controller does what we want it to do: it takes analog signals, digitizes it and formats it for USB. Another plus about this controller is that it presents itself as a standard USB joystick, which can be used for any game. Ship Simulator 2008 has extensive function mapping options, allowing the joystick elements to perform any desired function in the game.
The BU0836 can be bought at http://leobodnar.com/products/BU0836/     More detailed information about the BU0836 can also be found there.

So basically, all that needs to be done is connect the ship controller to the BU0836.

Tutorial: how to connect a ship engine controller to the BU0836:

We are going to connect this engine controller to the BU0836. In 5 short steps you can do this for your own controls!

The ship engine controller:
BU0836:


Step 1: make sure the controller is actually a potentiometer
We can test this by examining the controller, it is quite easy on this controller, because on the 2 sides we see 2 potentiometers. Its easy to see here that there's potentiometers in this controller. You can see the 3 wires attached to them:


Here it is even more obvious, it has a potentiometer icon on it:

What can you do if you do not have these signs? I recommend you to try and find out anyways, just to be safe and not break the control and or the BU0836. If you happen to have a multimeter, find out if the control's output has a changing current when you move the control.

Step 2: soldering the header pins
Now that we're sure it is a potentiometer control, it's time to connect the control to the BU0836.

The included pinheaders can be used to hookup the control to the BU0836. Basically it's connecting the dots.
The image below specifies the correct order. + on the one end of the pinheader, - on the other end. The signal that comes out of the potentiometer goes in the middle.

Our controller has 2 potentiometers, because it basically are 2 controllers in one. One for the first engine, one for the second engine. So we do this for both the potentiometers, on separate pinheaders of course.

We added some heatshrink as well, to protect the various signals from each other.
The result:

Step 3: connecting the pinheaders to the BU0836

Now just slide on the pinheaders on the pins of the BU0836. After this is done, plug the BU0836 into the USB-port. Now windows should see that the controller has been attached. You should now see the controller listed amongst the game controls. You can find this in the Control Panel – Game Controllers. You can test if it's working by moving the controls and see if the values change in this screen as well.


Step 4: using the controls in Ship Simulator
Now just start up your Ship Simulator, with the BU0836 plugged in. Go to the Controls menu in Options menu.

Now select the action you want to use with your new control, double-click on it and move the control you want to map to it.
Now the old value will change into something like “JOY1-X”, depending where you plugged on  the pinheader input you used.

Step 5: make a nice case & start playing!
The controller in action at VSTEP.

Discuss this topic here: http://forum.shipsim.com/index.php/topic,4505.0

« Last Edit: December 02, 2018, 18:52:54 by LucAtC »
Logged

Kaj1

  • Forum member
  • Posts: 50
Re: Howto guide: Using real ship controls in Ship Simulator
« Reply #1 on: January 14, 2008, 10:18:12 »

This post is an edited version of Sam (http://www.forum.shipsim.com/index.php?action=profile;u=152;)'s thread (http://www.forum.shipsim.com/index.php/topic,1900.msg19054.html#msg19054) about making is own controls. However, in stead of using the gameport, a description is added about how to connect it to the BU0836. Credit for Sam for letting us use this.

Sam's controller
Basicly, what he does is creating a wooden structure that supports his potentiometers. He connects the potmeters to a lever, and voilá, a controller.

Quote from: Sam

The left is the upper throttle lever structure, the right is the throttle and bowtruster base.


The throttle levers and bowthruster part finished raw.


The rudder finished.

All this parts still need some filler and primer.


Left: Throttle and bowtruster part allmost in last layer of primer. Right: Rudder an switch part in first layer of primer.
-------------------------------------------------------------------------------------------------------
update!

Ive sprayed both parts and it looks great, but I am not completely sattisfied.
The end is in sight.
The bowthruster lever is glued on. I allso want to glue a boll on top.


The throttle levers, one assembeled and one disassembeled.

------------------------------------------------------------------------------------------------------

Last update!

Everything is finnished and it works great!

I have been soldering the whole morning but is was worth the efford.



I looks like I didn't paint it well, but that is just dust.





You can see I glued a lot of lead in the consoles, I did that for extra stability.



To all who are interrested, I am not going to start this as a commercial product and mass produce this (I am only 16 years old ;D)



How to connect the control to the BU0836
Just like in the post above, solder each pin of the potmeter to the pinheader that eventually slides on the BU0836. Use this image as reference:



Do this for every potmeter, since there is 8 inputs, 8 of these potmeters can be connected.

For the buttons, please refer to the BU0836 page, there is multiple ways to  connect buttons, but it is very straightforward.

« Last Edit: December 02, 2018, 18:39:41 by LucAtC »
Logged
Pages: [1]   Go Up
 
 


SMF 2.0.14 | SMF © 2017, Simple Machines