Jump to content

Search the Community

Showing results for tags 'arduino'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Official Updates
    • Community News
    • Official Newsletters
  • New User Briefing Room
    • Squadron Recruiting
  • English
    • Digital Combat Simulator
    • Licensed Third Party Projects
    • General Off-Topic Discussion
    • Legacy Versions
  • International support
  • Русский
  • DCS Finland's DCS Finland
  • 3Sqn's 3Sqn
  • 49th Black Diamonds's 49th Black Diamonds
  • -=Пилотажники=-'s -=Пилотажники=-
  • Polacy's Polacy
  • = Flammeus Vulpes = fighting squadron's = Flammeus Vulpes = fighting squadron
  • Banda-DV's Banda-DV
  • Comedy Central's Comedy Central
  • =UVAF='s =UVAF=
  • 100 KIAP's 100 KIAP
  • VVS 504th Red Hammers's VVS 504th Red Hammers
  • COPE THUNDER's COPE THUNDER
  • Lock-On Mod Makers's Lock-On Mod Makers
  • Sweden's Sweden
  • Leftside Limited Tech section's Leftside Limited Tech section
  • Ground Troops Aviation Training Center's Ground Troops Aviation Training Center
  • German DCS Community's German DCS Community
  • Spanish DCS Community's Spanish DCS Community
  • DENMARK's DENMARK
  • °United Fight Spirits° - Germany's °United Fight Spirits° - Germany
  • DCS UK's DCS UK
  • Чат's Чат
  • RedRodgers's RedRodgers
  • Совместные вылеты онлайн's Совместные вылеты онлайн
  • -=Air piretS=-'s -=Air piretS=-
  • Клуб Веселых Пилотов/Smile Pilots Club's Клуб Веселых Пилотов/Smile Pilots Club
  • 161 Squadron's 161 Squadron
  • German DCS Serveradmins's German DCS Serveradmins
  • Escuadrón 701, Colombia's Escuadrón 701, Colombia
  • LowLand Tiger Meet's LowLand Tiger Meet
  • 279KIAP Regiment's 279KIAP Regiment
  • Australian DCS Community's Australian DCS Community
  • Scandinavia's Scandinavia
  • Crazy Canuks's Crazy Canuks
  • VNAO's VNAO
  • SHREK AIR STRIKE Sqn DIE HARD's SHREK AIR STRIKE Sqn DIE HARD
  • DCS NA's DCS NA
  • The Silver Falcons's The Silver Falcons
  • 127Th Sibйrian Tiger's 127Th Sibйrian Tiger
  • 129th A-10 Squad: The Guard Sharks's 129th A-10 Squad: The Guard Sharks
  • Virtual Red Arrows's Virtual Red Arrows
  • Hellenic Pilots's Hellenic Pilots
  • =2IAE='s =2IAE=
  • VETERANS-GAMING's VETERANS-GAMING
  • 16th ACCW Tigers DEN's 16th ACCW Tigers DEN
  • USMC Veterans's USMC Veterans
  • United States Air Force's United States Air Force
  • =BAF='s =BAF=
  • Fighter Combat Simulations's Fighter Combat Simulations
  • =Воздушные Войны= aka =BB='s =Воздушные Войны= aka =BB=
  • CADelta's CADelta
  • DCS: Combined Arms's DCS: Combined Arms
  • VNAO - US NAVY's VNAO - US NAVY
  • Oceanic Wing and Friends's Oceanic Wing and Friends
  • The Virtual Horsemen's The Virtual Horsemen
  • Hellas's Hellas
  • NoPryl Flight Squadron's Topics
  • NoPryl Flight Squadron's NoPryl Warthog Squadron
  • Carrier Air Wing Seventeen — CVW-17 —'s Carrier Air Wing Seventeen — CVW-17 —
  • 蜂鸟特技飞行表演队 HummingBird Aerobatics Team's 蜂鸟特技飞行表演队 HummingBird Aerobatics Team
  • 1st Cav Div (Air Assault)'s 1st Cav Div (Air Assault)
  • CrimsonFlag - 102° GVv's CrimsonFlag - 102° GVv
  • AIEclan's AIEclan
  • Virtual Black Sheep's Virtual Black Sheep
  • 929th's 929th
  • French DCS Community's French DCS Community
  • 373rd Online Tactical Campaigns's 373rd Online Tactical Campaigns
  • Just For Laughs Simulation DCS's Just For Laughs Simulation DCS
  • "Russian Air Force" =RAF='s "Russian Air Force" =RAF=
  • ECV56 Cóndor's ECV56 Cóndor
  • Master Arms's Join Master Arms
  • Master Arms's Master Arms
  • 141 Wolfs's 141 Wolfs
  • 314. ШАП Моздок (Су-25)'s 314. ШАП Моздок (Су-25)
  • Escuadrón 117's Escuadrón 117
  • Austian/Germany Pilots's Austian/Germany Pilots
  • Итория авиации's Итория авиации
  • Clan Vikingos's Clan Vikingos
  • Virtual Royal Danish Airforce's Virtual Royal Danish Airforce
  • United Operations Air Forces's United Operations Air Forces
  • United States Navy's United States Navy
  • SQUADRONE LAMPO TICINO CH's SQUADRONE LAMPO TICINO
  • Europe clan's Europe clan
  • No.66 Squadron's No.66 Squadron
  • De Belgae's De Belgae
  • v47th Fighter Squadron's v47th Fighter Squadron
  • 105 Wirtualny Pułk Śmigłowców Bojowych (105th Virtual Combat Helicopters Regiment).'s 105 Wirtualny Pułk Śmigłowców Bojowych (105th Virtual Combat Helicopters Regiment).
  • 7 Wirtualna Eskadra Działań Specjalnych's 7 Wirtualna Eskadra Działań Specjalnych
  • 223rd CAS "Wolfpack"'s 223rd CAS "Wolfpack"
  • www.TAW.net - DCS Division's www.TAW.net - DCS Division
  • Jagdfliegergeschwader 1 “Fritz Schmenkel” (JG-1)'s Recruitment
  • 64th Aggressor Squadron - Public's Images and Videos
  • =БК= Братские крылья's Связь
  • =БК= Братские крылья's Сервера =BK=
  • =БК= Братские крылья's Вопросы
  • Virtual Carrier Air Wing 99's Topics - Bugs
  • Virtual Carrier Air Wing 99's COOP Flights - Request
  • Virtual Carrier Air Wing 99's Video and Live Feed
  • Virtual Carrier Air Wing 99's Recruitment questions
  • Air Combat Wings's Video
  • Air Combat Wings's Vola con noi !
  • DTA - Comunidad Hispana de DCS's Muro
  • Virtual Skyblazers's Information
  • Virtual Skyblazers's Conversation
  • Sesto Stormo Virtuale's Media Missioni
  • The Flying Kiwis's The Flying Kiwis Zorb ball of death dedicated server
  • The Flying Kiwis's ANZAC Mission
  • LINCI's Discussioni
  • [OFS] Open Flight School's Informationen
  • The Pirates Cove's Mods
  • The Pirates Cove's C-130 MOD
  • VF-211's Contact us
  • RUSSIAN FALCONS's Публичная информация
  • DCS PŇACI's BLA BLA
  • Comunidad Española de DCS - Interescuadrones's Discusiones
  • Sabre Squadron's Campaign & Mission Updates
  • Neko PMC's Topics
  • 74th Flying Tigers's Questions and Answers
  • NE VAF's Announcements
  • Virtual JaBoG32's Topics
  • VIRTUAL 312 SQUADRON's THE VIPER DRIVERS
  • Cerberus Fighter Wing's Screenshot Posting
  • Digital Coalition Air Force's Posts/Forum
  • Beyaz Kartallar (161-Kartal Yarasa Filo)'s Beyaz Kartallar
  • Strike Fighter Squadron's VMFA-35 Skin by Stellou
  • 1st VFW's General Discussion
  • Joint Task Force 191's January 1st, 2024 - New Training Program
  • VFA-41 Black Aces's VFA-41 Black Aces Squadron Info
  • 154th Air Wing's New Server
  • JTF-111's What We Offer
  • JTF-111's Latest News
  • vVMFA-251's VMFA-251 is back and recruiting virtual Marine Hornet pilots!
  • 9th Air Brigade of PLAAF's Anyone want to train together for competitions?
  • 71st_Eagles's Topics
  • 71st_Eagles's Members
  • Task Force Uniform Charlie Sierra's Links
  • =LF= Escuadrón LA FUNDACIÓN's AVISOS Y NOTÍCIAS
  • 1(F) Squadron RAF Air UK's Operations
  • Tact. Air Base 8's Dedicated Public Servers
  • 334th "Eagle" Squadron's Contact Us
  • Nemesis HAW's Topics
  • THE AIR WARFARE GROUP's Topics
  • 枝江虚拟航空队's 涂装展览
  • COMMAND OF THE AIR's ЧАТ
  • 1st Virtual Air Expeditionary Wing's Public Affairs
  • 「301fs」's Enlisting
  • 「301fs」's 301fs Equipment
  • 「301fs」's Squadron Rules
  • Royal Netherlands Air Force virtual's Topics
  • 4YA-Community's Events
  • 4YA-Community's The 4YA Community
  • VMFA-323's Welcome
  • 78th Fighter Squadron's Topics
  • Air Group =Axeman= (=AxA=)'s Связь
  • Air Group =Axeman= (=AxA=)'s Air Group =Axeman= (=AxA=)
  • VFA-103 VIRTUAL JOLLY ROGERS's Discord
  • Ghost Syndicate's Forum
  • [TM] Tigermercs's Club-Forum
  • GAEv Grupo Aeronaval Embarcado Virtual's Discusiones
  • 76th DSOW (Digital Special Operations Wing)'s Open Recruitment
  • 619th Windborne Air Group's Current Events
  • VICOMTE's Recrutement
  • Casual Flyers's Casual Flyers
  • The Jousters's Chat
  • Stalin's Falcons's Создание сервера
  • Stalin's Falcons's Предложения полетов
  • Stalin's Falcons's Связь
  • a's Squadron Media
  • a's Squadron Recruiting Information
  • Taskforce Trident - USAFCENTCOM's Squadron Media
  • 21NSQD | Squadron's Recruitment Status
  • 101st Combat Aviation Brigade's Instructions on How to Join
  • (NAFSAM)'s NAFSAM Discord
  • VMFAT-101 'Sharpshooters''s Topics
  • Wolfa - french squadron's Activité/activity
  • Wolf Pack US's Wolf Pack Videos and Server Info
  • Wolf Pack US's Wolf Pack Warbirds Persistent Sever Tutorial
  • Carrier Air Wing 3 | RU's Discord сервер сообщества
  • Carrier Air Wing 3 | RU's Наша группа в ВК
  • 808th World Squadron's How To Join
  • 虚拟笕桥航空队-JQvFG's 鸽动力水坛(General Topic)
  • 虚拟笕桥航空队-JQvFG's 笕桥陵园(Event Room)
  • 虚拟笕桥航空队-JQvFG's 笕桥航校(JQvAA)
  • 虚拟笕桥航空队-JQvFG's 笕桥影业(JQvFG Film)
  • Australian Virtual Air Wing's Forum
  • Virtual Royal United Kingdom 10th Squadron's LUA Discussions
  • ММВГ "Broiller Squad"'s Форум
  • Task Force Thunderbolt's Topics
  • VIRTUAL INDIAN AIR FORCE's JOIN DISCORD BY THIS LINK
  • 588th Fighter Aviation Regiment's Announcements
  • 588th Fighter Aviation Regiment's Media
  • 588th Fighter Aviation Regiment's Chow Hall
  • Joint Flight Command Oregon's Application & Links
  • Irréductibles's Recherche de pilotes motivés F18 et M2000

Calendars

  • Community Calendar
  • Jagdfliegergeschwader 1 “Fritz Schmenkel” (JG-1)'s Events
  • ASOR 234 squadron's Operations
  • ≡★≡ THE 51st VIRTUAL FIGHTER WING ≡★≡'s Events
  • Lock-On Greece | DCS World Greece™'s Events
  • DCS Español || D3W's Calendario
  • DTA - Comunidad Hispana de DCS's Eventos
  • Carrier Air Wing 66's Events
  • DCS - Allied Forces - Open Missions and Beyond's Events
  • Sesto Stormo Virtuale's Eventi
  • [OCG] Oceanic Combat Group's OCG Events & Training
  • The Flying Kiwis's TFK Flying schedule
  • VF-211's Training nights
  • VF-211's Calendar
  • 421st VIRTUAL FIGHTER SQUADRON's MISSION BOARD
  • DCS PŇACI's LIETANIE
  • Omega Group's Friday Night flights -- 7PM PST
  • Comunidad Española de DCS - Interescuadrones's Eventos
  • Neko PMC's Events
  • VFA-86 Sidewinders's Winder schedule
  • 74th Flying Tigers's Trainings and Missions
  • NE VAF's Events
  • Cerberus Fighter Wing's Events
  • Digital Coalition Air Force's Events
  • uosef's عقابهای ایران
  • v81st Fighter Squadron's Training and Operations
  • Darkwater Aerial Security Ltd. (Task Force "Caucasus Dragons")'s Contracts and Operations
  • Darkwater Aerial Security Ltd. (Task Force "Caucasus Dragons")'s Events
  • JTF-111's Events
  • Pegasus's Events
  • Delta Force Squadron's Events
  • 71st_Eagles's Events
  • Virtual Fighter Group's Schedule
  • Tact. Air Base 8's Events
  • THE AIR WARFARE GROUP's Events
  • 71st Laughing Rooks's 71st Events
  • Virtual Air Festivals's VAF Events
  • Royal Netherlands Air Force virtual's Events
  • Royal Netherlands Air Force virtual's Events
  • vCSG-3's vCSG-3 Events
  • 102nd Albatross's Events
  • VMFA-323's Events
  • 78th Fighter Squadron's Events
  • vNAVY's Events
  • Ghost Syndicate's Events
  • [TM] Tigermercs's Staffeltraining
  • [TM] Tigermercs's Events
  • 76th DSOW (Digital Special Operations Wing)'s Missions
  • RS Red Star's Events
  • a's CVW-2 Calendar
  • Taskforce Trident - USAFCENTCOM's Scheduled Squadron Events
  • 21NSQD | Squadron's Events
  • Combined Joint Task Force's OPERATION - ISLAND HOP
  • Wolf Pack US's Wolf Pack Missions and Events
  • Wolf Pack US's Events
  • Wolf Pack US's JUGHEADS mission night
  • 808th World Squadron's Birth Date 01.24.23
  • 虚拟笕桥航空队-JQvFG's 联机活动日程
  • Australian Virtual Air Wing's Events
  • Virtual Air Force's Mission/Training Night
  • TACG 218's Events
  • ММВГ "Broiller Squad"'s Операции
  • 366th Fighter Wing "Gunfighters"'s Mssion nigths & Operatinos
  • Task Force Thunderbolt's Events
  • Joint Flight Command Oregon's Events
  • Irréductibles's Campagne OGF
  • [JaboG49] Virtuelles Jagdbomber Geschwader 49's Termine
  • Virtual Carrier Air Wing One (vCVW-1)'s Sinai Campaign
  • Task Force Perpetual Motion's Events

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Flight Simulators


Location


Interests


Occupation


Website

Found 11 results

  1. I'm making a dedicated thread on a throttle nozzle quadrant build that I'm working on. This is something that started a while ago with a pretty detailed design effort that was put on hold for two reasons: 1. my 3D printer was having issues that needed to be investigated, and 2. designing the throttle grip was quickly determined to be too difficult based on the information I had at the time. Since then I have bought a new 3d printer and the old one has now been stripped down for parts for the quadrant. I have also stumbled across several excellent photos from @mattjonesgr9 that were posted on a UFC build thread. This is now enough, along with a short break in work travel madness, to allow me to hit this project hard again. I'm hoping I can keep enough momentum to get a working prototype finished in a few weeks. These are the original renderings of the quadrant enclosure assembly: I did manage to print out this first grip effort, but it was so far off the mark, I didn't know where to start. Since then I have come up with this design for the shell: Whilst not perfect, for a solid body, it's close enough. I've also scaled down the component by a factor of 0.9 as the printed version felt a tad too big for an ungloved hand. This first prototype won't be made of sheet metal as originally planned, but will be assembled from 2020 extruded aluminium and 3D printed parts. I will also be using a hall effect sensor for each of the three rotating axis instead of potentiometers.
  2. I'm creating a display to show the active frequency on the A4, but unfortunately the code to be entered is wrong, the separator lines (-) are not recognized by arduino ide. void onArc51-freq-xxxxxChange(unsigned int newValue) { /* your code here */ } DcsBios::IntegerBuffer arc51-freq-xxxxxBuffer(0x84c6, 0xffff, 0, onArc51-freq-xxxxxChange); does anyone know how to help me ?
  3. Hi Guys! I'm assembling a button box, I've already made similar ones and all without problems, Now I'm following the same assembly pattern and components, but I'm having a problem with the encoders where they keep clicking for a long time even after adjusting the delay, and the clicks are for both sides at the same time, I can't understand and find the cause, I added an image of how I made the connections, and a short video showing how it's working, and other than that, some of the buttons simply stop working even after I've already configured them, they just die without explanation. Thanks to anyone who can give me some idea of what's going on! I'm making 3 boxes and all three are having the same problem, and also some of the buttons stop working in the VKB button tester but in the matrix configuration in mmjoy they work normally, I can't find the error nowhere Wiring Diagram: https://imgur.com/a/OsJ1jGw The real box: https://imgur.com/a/MDbXww2 video in mmjoy2: https://imgur.com/a/54wK6wO
  4. fa18_simpit.ino I noticed theres not a lot of info pertaining to planning the circuits and building the code with "Arduino" and "DCS bios " or maybe its buried in the archives so I'll leave this here. This is my attempt to future proof my starting point on my flight panel build, in an attempt to use as little storage and pins as possible. you'll see I'm using a clunky but simple method to combine DCS bios global variables with ad-mux-library channels and also kept the loop as short as possible to maintain a high refresh rate as the build goes on that will likely change. I have yet to verify this even works as I am waiting for supplies and wanted a starting point with the code to familiarize with and test as i build. any ways let me know what you guys think
  5. Hello I'm in the planning stage of a simpit and what I already don't like is the hard wiring of components and having to use multiple arduinos in different spots. I want the whole structure to be more modular as in being able to reassign and rewire buttons to different locations without having to build new software for the Arduinos. So thinking of alternatives, here's my concept. Theory Can you think of a common computer input device that is capable of reading 1 million inputs 60 times a second ? Yes, an HD USB camera. These are typically able to send 720*1080 pixels of uncompressed RGB @ 60fps to the computer. Now, for the camera to read our inputs we have to connect each switch directly to an LED, and position these LEDs in a grid. We could also simply buy a ready made LED matrix. That means in theory we could now read 1 million inputs per second, but in reality we probably need some spacing between camera pixels to increase resilience. Hence, if we leave 9 pixels around each input pixel we could still read 100000 inputs @60 times a second. Mapping To match each pixel to a control input is fairly easy, this can be done in a raspberry PI or as a program running on your computer. Multi-stage switches can be mapped to a single LED using 200ø resistors in series, therefore controlling the LED intensity in multiple steps- Potentiometers can be wired to an RGB LED controlling a color shift from red to blue or green which can be detected by the camera. For example we could build the last 2 lines with RGP LEDs which can be wired to potentiometer inputs. I.e. LED 1,1 -> button 1 ( RED LED ) LED 2,1 -> button 2 ( RED LED ) LED 4,1 -> multi-stage rotation switch ( RED intensity ) LED 1,40 -> potentiometer input EDIT: On the software side you could group LEDs into "panels" and assign key combinations Pros & Cons The nice thing about having this LED matrix is that it works STANDALONE - without a computer, chip or software. It's just pure electronics and allows you to debug the system visually. The matrix would need to be enclosed in a box to not affect the camera with other light sources. You also don't need ANY programming skills. You could simply use my software and assign each pixel to a button with a point & click interface. The other nice thing is that this is not limited to DCS. Your hardware can work with any other flight sim, while the software emulates keystrokes and keeps your mappings. Now, to wire up 100s buttons to LEDs is certainly no easy feat. But im wondering if it's really harder than wiring up 100s of switches to arduinos - and writing custom software for each in DCS bios. Also dealing with and updating multiple arduinos is not very maintainable. A disadvantage would be that our input rate is now limited to 60 fps. So this input method may work well for switches or potis. But maybe it's not fast enough for your HOT firing trigger. Yet, i can only think of the firing trigger that requires really fast millisecond response times, any other input in my plane is totally fine at 60fps. Another disadvantage may be that we loose some accuracy with potentiometers. Due to converting them to RGP light and reading it through a camera. For things like flaps this may not be an issue, but if you use a poti to move a cursor on a map this could be more twitchy. Skipping the LED step An optimisation would be to skip the LED step entirely. How is a $30 USB camera able to serialise this much data and send it to the computer in a manageable format ? If we can somehow connect directly to the camera's serialiser we can save some work and gain more precision. Any thoughts?
  6. Hallo zusammen. Ich würde gerne zwei ButtonBoxen bauen. Die letzte die ich gemacht habe war mit dem Arduino Micro Pro, da hat alles einwandfrei geklappt. Für die nächsten beiden benötige ich Arduino Leonardo. Mein Problem: Ich bekomme weder den Bootloader von MMJoy2 auf den Chip noch die Firmware. (Ist klar, ohne Bootloder keine Firmware) Habe immer die gleiche Fehlermeldung: "Invalid name - %s" Jetzt suche ich jemanden der das schon ein paar mal gemacht hat und das auch für mich machen kann. DIe Leonardos würde ich natürlich auf meine Kosten verschicken und auch den Rückversandt zahlen und die Arbeitszeit. Was ich aber zuverlässig brauche, ist: Button Box: 1 Name: BBOXL01 VID: 8881 PID:8881 Bootloader und Firmware installiert. Button Box: 2 Name: BBOXR01 VID: 8882 PID:8882 Bootloader und Firmware installiert. Hat jemand interesse? Bitte PN.
  7. Hello everybody, I share with you my solution to the DCS-Bios multi-module management for any button box. The code is based on an ESP32 that allows fully wireless communication with DCS, that means it is not required any USB port https://github.com/pavidovich/ESP32_MultiModuleDCSBios The code can be easiliy adapted to your button box, just replace the function getButton() (present in the ESP32_Code.ino) with any other that gets the button ID from your button box. There are 3 examples based on the A-4E-C, F-5E-3 and T45 modules. Just take into account that these examples are based on my button-box, so you should adapt them to your necessities.
  8. Hello! As the title says I need help with my segment display. Im making uhf radio panel for my f-16c simpit. I bought that nice display https://pl.aliexpress.com/item/4001293690559.html?gatewayAdapt=glo2pol&spm=a2g0o.order_list.0.0.21ef1c24AJGZ6f After many hours trying to make it work with DCS BIOS, it's actually worked... But there are some issues. When I turn on radio, digits turns on too and I can change them correctly, but when Im turning off radio, all digits are changing to 0 and staying in that position til I turn radio on again. I want to have blank display! My code: /* Mega and Uno pinout is the same * GRND = GRND * VCC = 5V * D10 = Digital input pin - this code uses pin 3 * CLK = Digital input pin - this code uses pin 2 */ #define DCSBIOS_DEFAULT_SERIAL #include <Arduino.h> #include <TM1637TinyDisplay6.h> #define CLK 2 //pins definitions for TM1637 and can be changed to other ports #define DIO 3 TM1637TinyDisplay6 display(CLK, DIO); #include "DcsBios.h" uint8_t data[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; // Test Pattern - All uint8_t blank[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // Test Pattern - Blank uint8_t dots = 0b01010000; // Add dots or colons (depends on display module) // DCS-Bios Code void onUhfFreqDispChange(char* newValue) { //newValue[3] - dot display.setBrightness(1); data[0] = display.encodeDigit(newValue[0]); // digit 1 data[1] = display.encodeDigit(newValue[1]); // digit 2 data[2] = display.encodeDigit(newValue[2]); // digit 3 data[3] = display.encodeDigit(newValue[4]); // digit 4 data[4] = display.encodeDigit(newValue[5]); // digit 5 data[5] = display.encodeDigit(newValue[6]); // digit 6 display.setSegments(data); } DcsBios::StringBuffer<7> uhfFreqDispBuffer(0x4590, onUhfFreqDispChange); // End DCS-Bios Code void setup() { DcsBios::setup(); display.clear(); display.setSegments(blank); } void loop() { DcsBios::loop(); } Library that I'm using: https://github.com/jasonacox/TM1637TinyDisplay I was trying many others but that one seems to work the best for me. I'm using arduino mega Thank you in advance for help and sorry for my English!
  9. Hello flyers. I roll with just a 360 controller but managing a throttle with it isn't very pleasing and after this many landings at incorrect speeds I am in great arrears on account of all the burning wrecks littering the airfield. So, I wanted to drive throttle with one or two sliders (I'm lounging inside an A-10 usually) or perhaps a rocker pedal. After looking at what DCS-BIOS affords I get the impression that what it relies on is focused on inputs for instrumentation and specifically does not include inputs for control surfaces or engine control. Is this correct? I took a different approach, that of making an Arduino microcontroller masquerade as an XInput device, which is well documented. Attaching a potentiometer, mapping voltage to a stick in C and mapping the stick to the throttle in World works nicely (apart from some axis wraparound that is surely fixable). Was this the most expedient approach or did I make this overly complicated?
  10. I have been converting my Viper pit over from DCS-BIOS inputs to USB-HID. This allows me to bind all inputs as a "joystick" button or axis. The advantage over Bios is the ability to bind the switches in DCS directly for all aircraft rather than one specific one. Reprograming my Viper EHSI, I'm having a problem coding for the 2 rotary encoders. I have tried numerous different codes specific to encoders but have not had any luck. While the DCS-BIOS code works perfectly, I am still planning to convert to USB-HID with the Joystick library. The code I have had some success with is simple and the encoders turn the course and heading bugs. However, they require many rotations for few changes in game. The questions I need answers to are: (I am using Arduino Due, but code for Micro and Leonardo are the same.) 1. Can I add code to this to simply change the rotation ratios of the encoder pins? 2. Is there a way to extract the actual code for Course and Heading from within the DCS-BIOS library to enter this manually? (Not referring to the code snippets.) 2. Do I need more specific code for the encoder to function? 3. Can someone help me with the code I need to add? This sketch includes other buttons in the array for various nearby panels and switches. The pins for the encoders A+B are 55/66 and 58/54. Thanks for your help! HID_Ejection_EHSI_Fuel_Qty_Sel_Due_0x14_Ver2.ino
×
×
  • Create New...