pesbra Posted August 23, 2024 Posted August 23, 2024 (edited) Hello Everyone, I've decided to embark on the wonderfull/nightmareish world of building my own simpit for the Apache. I am no engineer nor do I have any background in electronics computer programming or the like. However, following a few simpole tutorials (mostly from A Hornets Nest, big shoutout btw) I've made quite some nice progress in just a week starting from zero. I had no idea how to use Fusion at all, but am quite happy with these results. For anyone who would like to use these files I'm uploading them here. The left console has been modified to be mounted on a Winwing Super Taurus throttle and from my understanding it should also fit the newer Orion2 Throttle base. Final versions of the Arduino code and any revisions to the panels will be posted here: https://drive.google.com/drive/folders/17dTPCMDNkJ6jepkpSN8ijeW4TCJM2Hyt?usp=drive_link Edited September 11, 2024 by pesbra 2
pesbra Posted August 23, 2024 Author Posted August 23, 2024 (edited) I have also written Arduino code (again learining from scratch and following A Hornets Nest Tutorials), using an Arduino Mega, but this is where I have run into trouble. My code when it comes to buttons switches and potentiometers compiles and uploads successfully and buttons and switches work as expected in the Sim. However when it comes to potentiometers for some reason I have not been able to figure out, turning the knob for one controls turns every single knob coded in the program. Also, I cannot get the damn LED outputs to compile using the DCS BIOS code taken from Bort. I have reviewed the DCS Bios documentation and am at a loss as to what is wrong with the code. I just get the following error message: C:\Users\pablo\Documents\Arduino\PEBTech_AH64D_PilotLeftConsole_V4\PEBTech_AH64D_PilotLeftConsole_V4.ino:170:31: error: 'AH_64D_PLT_APU_L_AM' was not declared in this scope DcsBios::LED pltApuL(AH_64D_PLT_APU_L_AM, apuLed); ^~~~~~~~~~~~~~~~~~~ C:\Users\pablo\Documents\Arduino\PEBTech_AH64D_PilotLeftConsole_V4\PEBTech_AH64D_PilotLeftConsole_V4.ino:170:31: note: suggested alternative: 'AH_64D_PLT_APU_L_ADDR' DcsBios::LED pltApuL(AH_64D_PLT_APU_L_AM, apuLed); ^~~~~~~~~~~~~~~~~~~ AH_64D_PLT_APU_L_ADDR exit status 1 Compilation error: 'AH_64D_PLT_APU_L_AM' was not declared in this scope If any of you DCS BIOS wizkids out there willing to give me a hand I would greatly appreciate any input you can provide to turn this corner. This hobby is exiting, mesmerizing and frustrating all at the same time! Edited September 2, 2024 by pesbra
The_Nephilim Posted August 23, 2024 Posted August 23, 2024 you can buy most those panels online for the apache 64. if your interested I'll dig up the links 1 Intel Ultra 265K 5.5GHZ / Gigabyte Z890 Aorus Elite / MSI 4070Ti Ventus 12GB / SoundBlaster Z SoundCard / Corsair Vengance 64GB Ram / HP Reverb G2 / Samsung 980 Pro 2TB Games / Crucial 512GB M.2 Win 11 Pro 21H2 / ButtKicker Gamer / CoolerMaster TD500 Mesh V2 PC Case
pesbra Posted August 23, 2024 Author Posted August 23, 2024 Well I am. But still…. Need to figure this one out or it will eat me alive
corbu1 Posted August 23, 2024 Posted August 23, 2024 Looks great so far! DCS Version: 2.9.15.9408 Modules: UH-1H - SA342 - KA-50 BS3 - MI-24P - MI-8MTV2 - AH-64D - CH-47F - OH-58D - UH-60L(Mod, n.i.) - OH-6A(Mod, n.i.) - A-10CII - F-16C - F/A-18C - AJS37 - F-14 - MiG-21bis - JF-17 - Mirage F1 - FC2024 -Combined Arms - Supercarrier - NTTR - Normandy2.0 - Channel - Persian Gulf - Syria - SA - Sinai - Afghanistan - Kola - Iraq - Cold War Germany — Waiting for: BO-105 - AH-1G/F(Mod) DCS-Client: 9800X3D, 64GB 6200, RTX3090, 1TB M2 NVMe(win10), 4TB M2 NVMe(DCS), VR VivePro2, PointCTRL, VaicomPro, Wacom Intuos S with VRK v2Beta DCS-DServer: 11600KF, 64GB 3600, GTX1080, 1TB M2 NVMe(win10), 2TB M2 NVMe(DCSDServer), DCS Olympus Simpit: NLR Flightsim Pro Cyclic: TM Warthog Grip with 30cm Extension + VPforce Rhino FFB FW Stick: TM Warthog Grip and Base, Throttle: TM Warthog Pedals: Komodo Sim. with Dampers Collective: VPC Rotorplus+AH-64D Grip Other: NLR HF8, Buttkicker (3*MiniConcert), TotalControls AH64D MPD‘s and EUFD, Alain Dufour’s AH-64 TEDAC, TM MFD, Streamdecks (1*32,3*15,1*6), VPC CP#1
pesbra Posted August 23, 2024 Author Posted August 23, 2024 (edited) Figured out the coding problem it has to do with a problem with the adresses.h file on DCS-BIOS. I have successfully compiled the arduino program with direct reference to addresses and masks instead of the new constants until that problem is resolved. in the meantime v.5 of the program has been tested and works fine in the sim. Edited September 2, 2024 by pesbra
No1sonuk Posted August 23, 2024 Posted August 23, 2024 19 hours ago, pesbra said: I have also written Arduino code (again learining from scratch and following A Hornets Nest Tutorials), using an Arduino Mega, but this is where I have run into trouble. My code when it comes to buttons switches and potentiometers compiles and uploads successfully and buttons and switches work as expected in the Sim. However when it comes to potentiometers for some reason I have not been able to figure out, turning the knob for one controls turns every single knob coded in the program I can't see anything wrong with your code for the potentiometers, so that leads me to ask how you've wired them.
pesbra Posted August 24, 2024 Author Posted August 24, 2024 (edited) Armament and Video panels arduino code done Edited September 2, 2024 by pesbra
pesbra Posted August 24, 2024 Author Posted August 24, 2024 3 hours ago, No1sonuk said: I can't see anything wrong with your code for the potentiometers, so that leads me to ask how you've wired them. right now I have a single pot wired on a breadboard. null From what I'm hearing in discord, it seems that the problem will go away when I wire the rest of the pots. I'm waiting for my pots to arrive in the mail. I'll try it when I do.
No1sonuk Posted August 24, 2024 Posted August 24, 2024 OK. It might be a sample-and-hold ADC, and the floating inputs aren't wiping out the input voltage from the single pot. You could try connecting the unused inputs to ground. That should eliminate the problem.
pesbra Posted August 24, 2024 Author Posted August 24, 2024 3 hours ago, No1sonuk said: OK. It might be a sample-and-hold ADC, and the floating inputs aren't wiping out the input voltage from the single pot. You could try connecting the unused inputs to ground. That should eliminate the problem. Many thanks for your suggestion. 1
pesbra Posted August 28, 2024 Author Posted August 28, 2024 (edited) A bit more progress with the Fire Control panel. The Arduino code is programmed to work on both stations (pilot and CPG). For the annunciator buttons across the cockpit I'm using these: https://www.737diysim.com/product-page/heli-ah-64-master-caution-warning-annunciators https://www.737diysim.com/product-page/ah64-apache-apu-korry-indicator-switch https://www.737diysim.com/product-page/737-master-caution-fire-warning-stab-out-of-trim-annunicators-cad-1 https://www.737diysim.com/product-page/master-caution-fire-warning-stab-out-of-trim-annunciator https://www.737diysim.com/product-page/737-mcp-korry-cad-stl https://www.737diysim.com/product-page/dual-colour-korry-replica-pcb Need to do testing when they arrive but they look really good. nullEUFD panel also done For the EUFD Screen I'm using a 6.2 inch LCD screen: https://es.aliexpress.com/item/1005007231882058.html?spm=a2g0o.order_list.order_list_main.47.2bb6194d8f4m1o&gatewayAdapt=glo2esp Edited September 2, 2024 by pesbra
pesbra Posted August 28, 2024 Author Posted August 28, 2024 (edited) These knobs for the Comms panel look exceptional: https://www.737diysim.com/product-page/ah-64-pilots-lighting-panel-knobs and this throttle looks like very well the effort: https://www.737diysim.com/product-page/apache-ah64-throttle-panel Edited September 2, 2024 by pesbra
pesbra Posted August 28, 2024 Author Posted August 28, 2024 PCBs designs underway. This one is for the Comms panel.
pesbra Posted August 29, 2024 Author Posted August 29, 2024 (edited) PCB design for comms panel done. nullnull Edited September 2, 2024 by pesbra
pesbra Posted August 29, 2024 Author Posted August 29, 2024 (edited) EUFD modified to mount 6x6 tactile LEDs and included all buttons and engravings.null Edited September 7, 2024 by pesbra
pesbra Posted September 2, 2024 Author Posted September 2, 2024 PCBs for the Lighting, Stores, ignition, Emergency anullnd Night Vision panels done.nullnullnullnullnullnullnullnull 1
OldFlyer Posted September 2, 2024 Posted September 2, 2024 Fantastic job! I followed a few Hornets Nest guides too but you seem to be learning far quicker than me 1
pesbra Posted September 2, 2024 Author Posted September 2, 2024 Bit more progress. I have done an Arduino Mega shield to connect all the panels on the Left Console together. I have also updated the PCBs to correct a couple of errors and added a Google Drive link in the first post to access all files to keep it all tidy. null
pesbra Posted September 5, 2024 Author Posted September 5, 2024 (edited) Hello everyone, I have finished modelling the EUFD, including buttons, PCBs, Arduino code, etc. All files are in the google drive in the first post. The screen I will be using is in this link: https://www.aliexpress.com/item/1005007231882058.html?spm=a2g0o.order_list.order_list_main.48.18821802OYCv1z I have also included a lua file to export the screens for the MFDs, TEDAC and EUFD. Edited September 5, 2024 by pesbra
pesbra Posted September 5, 2024 Author Posted September 5, 2024 for those wanting a TEDAC someone already beat me to the punch https://srsosio.wixsite.com/ah-64d-tedac
pesbra Posted September 5, 2024 Author Posted September 5, 2024 Fire Panel PCB finished. Files uploaded to the google drive in the first post.
pesbra Posted September 6, 2024 Author Posted September 6, 2024 PCBs for Armament and video panels done.
pesbra Posted September 7, 2024 Author Posted September 7, 2024 (edited) EUFD updated with a case. Files uploaded to Google drive. Had to modify the right side PCB. PCB files to be uploaded tomorrow Edited September 7, 2024 by pesbra 1
JohnnyChicago Posted September 7, 2024 Posted September 7, 2024 Hi, this looks awesome ! I wish i could 3dprint that btw, i have a 5inch ESP32-8048S050N Display (exists also in 7inch) for the EUFD, so you dont need a hdmi port. Selfmade Sketch and Font. Cheers , looking forward for this project. 1
Recommended Posts