Jump to content

Recommended Posts

Posted

Hi all, 

despite the many HID devices people have made over the years, I still haven’t figured out how to make my own HID device. 
 

I want to make a HID devices comprising 3 potentiometers (one limited to 90 degrees), 2 rotary encoders (basic ones without pcb, soo only pins A, B and ground), and one (on)-off-(on) switch. 
the switch and encoders need to have debounce. The encoders need to only do a single click output (one will be used for baro set, and thus I want one click to reflect a 0.01Hg value and not jump a random number of Hg values).

 

 Can anyone help me with this?

i tried a sketch with help from DeepSeek, but that didn’t work and in fact crashes my pc in that it stops recognising any Arduinos.

 don’t really want to go through a masters degree in c++ to get there though, so if someone can help me get there, that’s be great!

 

 Note, I tried dcs bios route, but bort code doesn’t allow for accurate rotary encoder use as the baro set jumps several positions with one click. 
I also tried plain code for rotary encoders which works very well, but I can only do serial prints in IDE with it. I have no idea how to connect it to dcs bios. 

Posted (edited)

Tried a Bodnar board?

https://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=94&products_id=180&zenid=eda9358b6d8e5b4cc885d8003135928f

 

The smaller one might even suffice for what you wish to set up:

https://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=94&products_id=204&zenid=477f6e235b8e167bf85f03fcc00bddc0

 

They're pretty KISS and have a very simple bit of software to append buttons/encoders etc

Edited by Nightdare

Intel I5 13600k / AsRock Z790 Steel Legend / MSI  4080s 16G Gaming X Slim / Kingston Fury DDR5 5600 64Gb / Adata 960 Max / HP Reverb G2 v2

Virpil MT50 Mongoost T50 Throttle, T50cm Base & Grip, VFX Grip, ACE Interceptor Rudder Pedals w. damper / WinWing Orion2  18, 18 UFC & HUD, PTO2, 2x MFD1  / Logitech Flight Panel / VKB SEM V  / 2x DIY Button Box

Catalog .jpg

  • Recently Browsing   0 members

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