Jump to content

BABBA-ZEN

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by BABBA-ZEN

  1. Hey Thanks. It would be possible to use translucent filament but it would require to add more power to light up the required LED. As said _) possible verion 2 hehe.
  2. Hi everyone, After a long time tinkering, testing, and 3D printing, I'd finally like to share my finished project with you: a fully functional, DIY Keyboard Display Unit (KDU) for the DCS Apache. As a heads-up: This is my first project of this kind. I started from zero and taught myself everything along the way—from PCB design in KiCad and Arduino programming to the integration of DCS-BIOS. It was a steep learning curve, but it was worth it! The goal was to build a device that is as authentic as possible and, above all, stable, mapping all the functions of the KDUs. Here are a few pictures of the finished device: (see attachemend) Key Technical Details: Core: An Arduino Nano. Key Matrix: A complete 6x9 matrix (54 keys) using standard MX switches, driven by a PCF8575 I/O expander via I²C. Display: A 256x64 OLED display that receives its data directly from DCS-BIOS. Full Functionality: The KDU is fully functional and supports: The complete input matrix for the Pilot (PLT). The complete input matrix for the Gunner (CPG). Dynamic switching between Pilot and CPG via the encoder's "push" button (built into the matrix). A temporary 2-second display message ("Pilot KDU" / "CPG KDU") on switching. Encoder & Brightness Control: The rotary encoder dynamically controls the KDU brightness in the simulation (depending on the active PLT or CPG mode). The brightness of the physical OLED display is directly coupled to this in-game brightness value and adjusts automatically Hardware: The entire build is based on a custom PCB (designed in KiCad) and a custom-fit 3D-printed enclosure. Software: The entire system runs extremely stably on DCS-BIOS. To handle the many keys and the simultaneous display updates without timing conflicts, the software architecture (based on the PollingInput class) that cleanly integrates the complex matrix scan into the DCS-BIOS update cycle. Known Optimizations & "Bugs": It's not perfect, but it works! The keycaps could be designed to be theoretically backlit (requires adjustment of PCB, Code and available power). However, since I don't have a laser engraver to create translucent legends, this V1 uses two-color 3D-printed keycaps. The enclosure design is okay, but the USB port isn't optimally accessible. The wiring from the display to the PCB got pretty tight with this layout—definitely room for optimization in a V2. Acknowledgements: A huge thank you goes to the DCS-BIOS developers for this powerful tool. A special thanks to MillKris: After seeing his KDU ( Let me know what you all think! If there is enough interest, I am happy to prepare all the files (KiCad layout, 3D printing files, and the final Arduino code) and release them as an open-source project. Best regards, ZEN
  3. I just created an KDU PCB running with an Arduino Nano and an simple extender board. Full Code of DCS Bios for working with Pilot and CPG including a Oled is running on it. MAybe anyone is interested in it. Feel free to reach out.
  4. What happend to your KDU? Crazy to see all the progress. Is this project still ongoing? In regards of the KDU PCB, I created one which is in principle working, I just had a wrong layout cell which caused me to solder some stuff :/. Maybe this is still ongoing. Because currently I am looking for a software solution of my KDU.
  5. You Sir @Gremlin77, saved my day! I was struggeling alot with this, thanks for sharing. Really appreciate it.
×
×
  • Create New...