PDA

View Full Version : Dual Rotary Encoder problem



NCW
03-20-2017, 12:29 AM
I have the encoder installed, which I purchased from Leo Bodnar, model E37, and it is connected to a BBI-32 Bodnar card. It is wired up as described on their website. I am using it on my home built weather radar panel. for my PMDG 737NGX. The outer knob is for TILT and the inner knob is for GAIN. The problem I am having is as follows: (1) Turning the encoder inner knob CW turns the simulator knob CW as well, but I cant get it to turn CCW.
(2) Turning the encoder outer knob CW turns the simulator knob CCW, and I cant get it to turn CW.
I have tried setting it up using the supplied PMDG SDK, through FSUIPC, and also making a Macro using FSUIPC, with no success either way.

Using the BBI-32 Button Box Interface for rotary encoders, doesn't help either.

I really am running out of ideas, and to be honest, I dont know much about encoders, and have never used them before.

Cheers,

Neil

iwik
03-20-2017, 02:56 AM
Neil,
Have you set up the board for encoders as per the utility on Leo site.
Test it in Game controllers in windows.Turning encoder one way should operate
one button and the other way another one.
Les

jonesthesoftware
03-20-2017, 02:45 PM
Have you conneted each encoder to 2 inputs on the card?
Have you run the encoder software to configure the card link here...

http://www.leobodnar.com/shop/index.php?main_page=page&id=12
regards
geoff

NCW
03-21-2017, 01:53 AM
Hi Guys,

Thanks for your replies. On close inspection of the windows game controller, the following is happening.
Turning the inner knob both CW and CCW makes buttons 1 & 2 light up very brightly at the same time and they stay on through one click and off again, and so on. Turning the outer knob just produces a quick, very dim flash, on buttons 3 & 4, and mostly on every 3rd or 4th click.
There is obviously something wrong with wiring set up, but I did follow the wiring diagram from the Bodnar site. They also supplied a small PCB, with a completely different wiring arrangement, so I am not sure which is correct.

Looks like I will have to pull it out and start again.

Cheers,

Neil

iwik
03-21-2017, 04:01 AM
Neil,
The pcb is not really needed but is helpful if you are not fitting it to a pcb.
Download the datasheet and check you have the correct terminals for each encoder and switch.
The common of the encoder should go to ground and the other two go to consecutive inputs. Then
you must run Leo's encoder configure program to set these inputs for encoder. I think by default they
are set for switches.
Les

jonesthesoftware
03-21-2017, 06:18 AM
The Elma E37 is a 2 bit Gray scale encoder which means that only 1 bit changes state at a time as you rotate it. Lets say inputs 1 and 2 are used so turning the encoder one way gives
both off then 0-1,1-2,2-0,0-0
and the other way is 0-0,0-2,2-1,1-0.
hope this helps
regards
geoff

NCW
03-26-2017, 11:08 PM
Sorry for the late reply. No matter what I did with the configuration software, it would not work correctly. As a last minute attempt at getting it working, I ditched the SDK inputs, and created 4 Macros with FSUIPC. GAIN+, GAIN-, TILT+ and TILT-.
It is now working as it should, both CW and CCW. Don't know if this is the correct way to go about it, but it works for me.

Cheers,

Neil