Jump to content

Second DIY controller not recognized / Potentiometer


Recommended Posts

AlphaRayTheReal
Posted

I've started building an controller based on the BU0836A.
Actually i tried an potentiometer for a lever - but it's not recognized by the game.  Can it be the problem that the rotation angle (~60°) is so low?
The final levels will be with hall sensors. This was only a test if it is working in il2  (Cod Blitz actually).

 

Posted

First, have you tested this axis in Windows Games Controllers, before try assign in game?

 

The axis is calibrated?  E.g. with DView, or at last resource Windows Game Controllers obsolete calibration tool?

 

Second, if you are using a second BU0836A ("second DIY controller), this have a different VID/PID than the previous one?

 

Game GUI don't see the device, or plane in game commands don't respond?

 

The 60º of movement is not an issue, joysticks have less, typically 20+20º, or even lees.

 

 

AlphaRayTheReal
Posted (edited)

oh sure - i forgot to say:   the cross is moving a tiny bit (about 1/10th) of the y-axis in the graphic.
I can't calibrate with the micorosoft joystick tool.  It says to stay the stick in the middle and press button.  Then to check if it's still in the middle and again confirm by pressing button. Than the "calibration" is complete  ?

First controller is the always plugged in Logitech Wingman Force 3D (so no other BU0836A is plugged in).  This still appears correctly in the game settings and is still functioning in the game.

 

This is true. But normally they are not done by potentiometers. With hall sensor i should use the whole positive/negative range of the axis. They come tomorrow.

I can try a potentiometer without the lever if this is recognized by the game when rotating completly.

Edited by AlphaRayTheReal
Posted

You need calibrate the axis to became useful for the game.

 

Get DView  from Leo Bodnar site.

 

Enable view "raw data", move the potentiometer (with hand) all their way and take note of readings values, that varies between 0 and 2048.

 

Manual calibration center position is: highest value minus lower value, dived by two, plus minimum value.

 

E.g. minimum is 11, maximum 2023

 

2023-11= 2012 /2 = 1006 +11 = 1017.

 

Or at least do the Windows Game Controlers calibration, you don't need press button, just click in Next at every steep.

 

 

AlphaRayTheReal
Posted
15 hours ago, Sokol1 said:

You need calibrate the axis to became useful for the game.

 

Get DView  from Leo Bodnar site.

 

Enable view "raw data", move the potentiometer (with hand) all their way and take note of readings values, that varies between 0 and 2048.

 

Manual calibration center position is: highest value minus lower value, dived by two, plus minimum value.

 

E.g. minimum is 11, maximum 2023

 

2023-11= 2012 /2 = 1006 +11 = 1017.

 

Or at least do the Windows Game Controlers calibration, you don't need press button, just click in Next at every steep.

 

 

 

Oh..thx!  I will try the tool after work.  The hall sensors should came today too.

 

As said the windows calibration was finished after "stay in middle position" and "still stay in middle position" after these two messages it closes without error message.   It was not like calibrating other joystics.

Hmm...maybe because i had only the y-axis?   the x-axis shoud be "0" because nothing attached here actually.

 

AlphaRayTheReal
Posted

I got the hall effect sensors yesterday..but ordered wrong one. They are digital and not analog.

But it is as i thought:  windows calibration starts only when x + y axis is connected.  So i was able to see the raw values of the potentiometer and the hall sensor.

Posted (edited)
7 hours ago, AlphaRayTheReal said:

But it is as i thought:  windows calibration starts only when x + y axis is connected. 

 

Why I suggest DView, allow you calibrate just one axis.  ?

Windows Game Controllers is an obsolete Win95 legacy.

Edited by Sokol1
AlphaRayTheReal
Posted

Will use it when the "real" linear hall sensors come..now every calibration is useless with digital ones  ?

Posted (edited)
On 11/16/2020 at 9:35 AM, AlphaRayTheReal said:

... controller based on the BU0836A.

... calibration is useless with digital ones .

 

BU0836A axis input work with analog (voltage variation) signal, not digital... 

:acute:

Edited by Sokol1
AlphaRayTheReal
Posted
On 11/21/2020 at 2:35 PM, Sokol1 said:

 

BU0836A axis input work with analog (voltage variation) signal, not digital... 

:acute:

I know  ;)    ->   "I got the hall effect sensors yesterday..but ordered wrong one. They are digital and not analog. "

The analog one should be today here  :)

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...