Jump to content

My A-10C preparation


rocketeer

Recommended Posts

  • Replies 680
  • Created
  • Last Reply

Top Posters In This Topic

Thanks gremlin for the info. But if I don't arcaze, is there a generic way of editing lua in the controller text file to make encoder work? Do you have to edit lua when using arcaze for encoder?

 

I am not sure if I understand you 100% but you cannot interface with external controls like encoders directly from lua. So, if you mean a hardware encoder that might be attached to a controller board then there is no way to do it, you have to do as gremlin has said and map that encoders output in the game controls to something.

Link to comment
Share on other sites

  • 2 years later...

Hello guys. I've been away for a long time. Survived two family bad events. Now finally into continuing my A10C project.

 

After evaluating interface cards from Leo's boards, Brydling, Groovy gear, Hagstrom, OC, etc. I decided to go for Brydling's. It has the most number of pins for the buck. But after a long time finally heard from him and he said he said he no longer sells those cards. I still wasn't keen on the other cards, and definitely not keen on learning SOIC for OC cards. I recently read about DCS BIOS, but was reluctant to try as I was a bit intimidated by arduino. Its totally foreign to me. And the coding in arduino its like you have to be a java programmer or something.

 

But after watching Ian's youtube videos demoing about easy it is to copy and paste the code and get things working, I decided to take the plunge and bought the mega.

 

Here's the thing. Mega is sold at radio shack at $64. Heard they are slashing prices due to closing down, but not on the price on the mega! At Fry's it sells for $57. Amazon goes for about $42 or $48. I bought the clone at around $17+! One third the price of that at radio shack. In fact I bought three and qualified for free shipping!

 

Since receiving the cards, and after some roadblocks, once I figured out what I was doing wrong, it was smooth sailing. Now I've gotten the fourth panel working (mostly, with some questions about two switches). For those of you still on the fence about arduino and dcs bios, I'd share my lessons learned and you decide for yourself. I'm glad I did. Now every night after work it's wiring and testing the panels. Feels better than beer and ice cream!

Link to comment
Share on other sites

It's been exactly a week since I figured out how to get dcs bios working. Since then, I've wired and tested 8 panels in a week and got them working, mostly, except for the pots that are acting up :cry_2:

 

These are the panels that are wired up and works in the game.

Progress.png

 

Copying and pasting the code for toggles, push buttons, rotary switches are easy.

Yet to get pots to work consistently.

Yet to try encoders.

 

Thanks so much to Ian for the DCS BIOS library, else I wouldn't have considered Arduino as the interface option.

 

code.png

Link to comment
Share on other sites

  • 4 weeks later...

With respect to potentiometers, they are somewhat problematic at the moment. It all because of how they were manufactured. The more expensive ones do not act up as much. I believe that DCS-BIOS will be revised in the near future to deal with this.

 

However, you may wish to go the same route as I have done. That is, to substitute pots for rotary encoders. Rot. Enc. work really well and noise will not make them jitter unlike pots. Other than the fact they have continuous rotation there really is no other reason not to use them. Ian's DCS-BIOS provides the same cut n paste code for rotary encoders. Every control that uses a pot, there is code for both pot and rotary encoder.:smilewink:

Regards

John W

aka WarHog.

 

My Cockpit Build Pictures...



John Wall

 

My Arduino Sketches ... https://drive.google.com/drive/folders/1-Dc0Wd9C5l3uY-cPj1iQD3iAEHY6EuHg?usp=sharing

 

 

WIN 10 Pro, i8-8700k @ 5.0ghz, ASUS Maximus x Code, 16GB Corsair Dominator Platinum Ram,



AIO Water Cooler, M.2 512GB NVMe,

500gb SSD, EVGA GTX 1080 ti (11gb), Sony 65” 4K Display

VPC MongoosT-50, TM Warthog Throttle, TRK IR 5.0, Slaw Viper Pedals

Link to comment
Share on other sites

  • 2 months later...

I've made changes to my panels. In the past I used wood, one layer, drill holes at the corners, stuck some printed paper and used masking tape to stick it to the one. Very crude prototyping. Now I use two layers, spray paint the sides black.

73fb48bd-8ba5-49bd-9a20-cd93cd8f84a0.jpg

 

IMG_5770.jpg?t=1433912465

 

Before painting I sand the middle to spread the light, if one day I decide to do backlighting. For now, I just want to finish the panels, wire them and learn to use all the switches. Using a dremel multi tool to sand is much easier than by hand. just loud.

IMG_5772.jpg?t=1433912605

 

This time instead of plain paper, I print on white shipping labels that are self adhesive. Double print them to make the black darker.

IMG_6019.jpg?t=1433912780

 

Then I spray them with crystal clear enamel, which protects the printouts, and actually also makes the black darker yet again.

IMG_5860.jpg?t=1433912871

 

IMG_5859.jpg?t=1433912966

 

Also this time with the top layer I have the C shaped ears at the four corners.

And bury most toggles under the top layer so that the locking ring does show on top. Sometimes for small toggles they are not long enough, then I'd place the ring/nut at the top layer else the shaft doesn't protrude above the surface far enough. Same with small push buttons.

 

Finished a few panels.

IMG_5900.jpg?t=1433913095

IMG_6022.jpg?t=1433913289

IMG_5882.jpg?t=1433913366

 

Added a barricade for this one.

IMG_6076.jpg?t=1433913453

 

IMG_6077.jpg?t=1433913558

IMG_6048.jpg?t=1433913669

IMG_6075.jpg?t=1433913745

 

To prop the acrylic block up and prevent from falling through the rectangular hole, I use this. Thin acrylic sheet hot clued together. Always looking for the simplest solution. or just lazy.

IMG_6078.jpg

 

CNCed panels look very nice. And more precise for cutting and drilling than by hand. But I don't have a cnc machine to mill the wordings. I can only paste paper on top. But I'm satisfied with this version using the hand tools I have, to manually cut and drill.

 

CNCs can also make nice square and round buttons for UFC and CDU. And the many required square holes that is impossible to make by hand. I'd just use plastic ones over push buttons over a breadboard.

 

Knobs are made out of molds to create many cheap replicas.

IMG_5895.jpg?t=1433915287

IMG_5768.jpg

Link to comment
Share on other sites

Shawn, I have to say that you are one of the most creative cockpit builders I have had the pleasure of meeting. What you can accomplish without the use of CNC and lasers and fancy materials is absolutely astounding. You maximize what you have at your disposal and if its not in your inventory you figure out solutions to move forward anyways.

 

I hope all new cockpit builders have an opportunity to see what you have accomplished and what you can do with a minimum of tools and materials. You just need the motivation to make it happen regardless of what tools and materials you have. Shawn, you really are an inspiration. :thumbup:

Regards

John W

aka WarHog.

 

My Cockpit Build Pictures...



John Wall

 

My Arduino Sketches ... https://drive.google.com/drive/folders/1-Dc0Wd9C5l3uY-cPj1iQD3iAEHY6EuHg?usp=sharing

 

 

WIN 10 Pro, i8-8700k @ 5.0ghz, ASUS Maximus x Code, 16GB Corsair Dominator Platinum Ram,



AIO Water Cooler, M.2 512GB NVMe,

500gb SSD, EVGA GTX 1080 ti (11gb), Sony 65” 4K Display

VPC MongoosT-50, TM Warthog Throttle, TRK IR 5.0, Slaw Viper Pedals

Link to comment
Share on other sites

  • 1 month later...

The EGI, STR PT and ANCHR buttons have a double triangle when lit up, the others have a single one:

 

nmsp.jpg

 

The symbol is always the same for each button as far as I know. Internally each of these lights is defined just like any other indicator light in the A-10C's Lua files. If there were a case where the symbol was different, I'd be very surprised (and would have to fix DCS-BIOS).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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