Jump to content

arduino mega, dcs bios potentiometer on diypanel


Recommended Posts

Posted (edited)

i made a simple board with buttons, its the aux pannel of the f16.  I connected a potentiometer to the arduino and used the BORTcoding.  it works very good? Problem is when i put and rotaryswitch(made like a hornets nest) and connect it to the arduino suddenly 3 or 4 switches starting to turn and go on and of in dcs as i turn the pot.  Can anyone help me.  I put the pot for the hmcs on A0, the rotaryswitch for cmds prog on A2, the rotaryswitch for cmds mode on A4, connected the +of the pot and rotarys on 5 V and the - on the ground, near the 5v .

Am i doing something wrong?

Tryed to solve it but i got stuck.

 

Johan

Edited by wct24
Posted

Sorry, I have no experience with this kind of switch. I hope someone else can help you.

If not, in a few weeks I can have a look at the specs and dive into the Bort code to see if I can find something.

Posted

Please post the code you're trying.

A video of what it's doing would be helpful too, or just a more detailed description than "suddenly 3 or 4 switches starting to turn and go on and of in dcs as i turn the pot". 😃
 

2 hours ago, jmossr said:

Sorry, I have no experience with this kind of switch. I hope someone else can help you.

They're basically a rotary switch with some components to make them behave like a low-resolution potentiometer.

Posted
4 hours ago, No1sonuk said:

They're basically a rotary switch with some components to make them behave like a low-resolution potentiometer.

Nice. Thanks!

Posted
18 hours ago, No1sonuk said:

Please post the code you're trying.

A video of what it's doing would be helpful too, or just a more detailed description than "suddenly 3 or 4 switches starting to turn and go on and of in dcs as i turn the pot". 😃
 

They're basically a rotary switch with some components to make them behave like a low-resolution potentiometer.

i m on vacation now, but when i come back home i'll try to post a video and the code

thanks already for the reply

 

 

  • Recently Browsing   0 members

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