Jump to content

kuabi

Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by kuabi

  1. I'm still getting ghosting. The problem seems to be is that the thumb stick needs the gnd wire to have a connection to gnd to work which then just leaves the one wire (select) to connect to the matrix. so I have row(pin 28) connected to the select wire, which is then connected via a diode to the column(pin 42). The cathode of the diode is towards the switch. If I reverse the diode I get nothing.
  2. Thanks DSP. I'll have a proper look tomorrow. Looking at the matrix diagram, am I right in thinking that the column (38) will have the diode in which the cathode will go to the gnd wire of the switch (which will also be to gnd on the arduino as the thumb stick needs the gnd) and the row (28) will have a direct connection to the select wire of the switch?
  3. Thumb stick As an update to my last post I have now received a new thumb stick which seems to work ok though i'm still having trouble getting the select button to work properly. When the button is depressed i'm getting what seems to be the first button of each matrix row light, ie: 1, 17, 33, 49 etc.. Any help on this would be appreciated.
  4. analog mini joystick Hi to all and a big thanks to overpro for this great solution for a button box. Came across this yesterday and have managed to suss out the matrix and have got a button and a rotary encoder working without problems. I have tried a mini joystick on the analog ports but the vertical pot seems to be faulty so have ordered another. It comes with v+, Keypush (button,) vertical, horizontal, and gnd pins which is straight forward but how would I share the gnd with the button when using it in the matrix? I also have a pcb mounted encoder with button which also shares a single gnd. Hope my question is clear and many thanks in advance for a solution.
  5. What i'm trying to achieve on the huey is, rather than spend a fortune on dual shaft encoders, use a rotary encoder with push button so that when the state is high use the top button and when low use the bottom button. I have tried using the code from the state change example but it stops registering the value and will only use the low option. I'm a complete newbie to the arduino and to dcs-bios and i'm now hitting a brickwall :/ any help would be appreciated. *** UPDATE *** Although it would have been great to find a solution with DCS-Bios, I've gone the easy way of attaching the encoder to my bbi-32 board and using the push button as a modifier. This works but the encoder isn't as smooth as it is when attached to the arduino. *** UPDATE 2 *** Finally managed to do this using virtual pins...SORTED!
×
×
  • Create New...