Jump to content

Recommended Posts

Posted (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

 

 

IMG_3664.png

 

IMG_3637.png

IMG_3666.png

IMG_3667.png

IMG_3665.png

IMG_3663.png

Edited by pesbra
  • Like 2
Posted (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 by pesbra
Posted

you can buy most those panels online for the apache 64. if your interested I'll dig up the links 🙂

  • Thanks 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

Posted

Looks great so far! 👍

DCS Version2.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

Posted (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 by pesbra
Posted
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.

Posted
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.

 

 

image.jpeg

Posted

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. 

Posted
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. 

  • Like 1
Posted (edited)
Posted (edited)

EUFD modified to mount 6x6 tactile LEDs and included all buttons and engravings.null

 

image.png

Edited by pesbra
Posted

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

 

 

image.png

Posted (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. 

image.png

Screenshot 2024-09-05 132338.png

Screenshot 2024-09-05 132243.png

Screenshot 2024-09-05 132140.png

Screenshot 2024-09-05 132044.png

Screenshot 2024-09-05 131944.png

Edited by pesbra
Posted (edited)

EUFD updated with a case. Files uploaded to Google drive. Had to modify the right side PCB. PCB  files to be uploaded tomorrow

IMG_3637.png

IMG_3638.png

IMG_3639.png

Edited by pesbra
  • Like 1
Posted

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.

 

 

 

 

 

20240907_205724.jpg

  • Like 1
  • Recently Browsing   0 members

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