-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Yngwie84
-
My solution for the F16 speed brake is to use an "Advanced Command" in saiteks software. You set the command to hold shift b for 1.05 seconds, that is just enough to open the speed brake fully. See attached picture. https://imgur.com/gR1Wr0l
-
Hi. You are not defining how big you screen is. lcd.begin(16, 2); in setup. I have two lcs, one 16,2 same as yours. but also one 20,4. I made a program for you, with a 16,2 display. It will always display "Pre:" on the first row and "UHF" on the second line, what you type in setup will be set once when the display starts. Play around with the numbers in lcd.setCursor(5, 1); and see what happens if you increase it. Hope this helps you.
-
Yes. I did it 11 days ago. Seconds act a bit wierd after a cycle. There is more stuff in the code but you will find the clock in there. I can clean the code after work if you like. Just let me know.
-
Been starting to draw a AoA and Caution light panel for the F14 that I will mount on the logitech switchpanels left side. Will print using my Creality CR10S
-
I was looking in to that but quoting you, "Any output controls like LEDs or servos aren't supported." I use three gauges. I have no LED's yet, but I plan on making a warning panel in the future. As it is now, if I change aircraft I download a new .ino to the board. I've looked in the thread with a button for polling controls as well. As it is now I have everything on just one Arduino mega. I have a nano that I use for testing, plan on buying some MAX487 in the future and try Master/slave.
-
My current test code for the Huey if anyone is interested.
-
Playseat challenge? I'm working on a generic buttonbox. Right now it's a cardbord box for testing. https://forums.eagle.ru/showthread.php?t=236617
-
Hi. I have a suggestion for new dcs-bios-arduino-library function. My DCS Bios Project thread. I'm an electrician but not a good c++ programmer. I just created a new post about my "budget box" i'm experimenting with now. https://forums.eagle.ru/showthread.php?t=236617 My problem: I've been coding and trying to make it so a button changes a value by adding 1 and use that button as an multi pos switch but I've been failing and just found out why. The testcode I was trying to run should as it is below not send anything to DCSBIOS, but it sends jibberish. // Counts number of button presses #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" byte switchPin = 2; // switch is connected to pin 2 byte buttonPresses = 0; // how many times the button has been pressed byte lastPressCount = 0; // to keep track of last press count bool lastRead = LOW; #define pos1 0 #define pos2 1 #define pos3 2 const byte domeLightSwPins[3] = {pos1, pos2, pos3}; DcsBios::SwitchMultiPos domeLightSw("DOME_LIGHT_SW", domeLightSwPins, 3); void setup() { DcsBios::setup(); pinMode(switchPin, INPUT_PULLUP); // Set the switch pin as input // digitalWrite(switchPin, HIGH); // set pullup resistor } void loop(){ DcsBios::loop(); if ((digitalRead(switchPin) == LOW) && (lastRead == HIGH) && (lastRead == LOW)) // check if button was pressed { buttonPresses++; // increment buttonPresses count delay(1000); // debounce switch } if (buttonPresses == 3) buttonPresses = 0; // rollover every fourth press if (lastPressCount != buttonPresses) // only do output if the count has changed { lastPressCount = buttonPresses; // track last press count } lastRead = digitalRead(switchPin); } Solution. In the Arduino library add the support to use a toggle action switch. As it is now it has to be to a pin and you can't use a variable. What I want it for. I'm building a button box that needs to be generic. Bottom row are all rotary encoders with push buttons. I want the bottom left one to always in every aircraft "turn on" radio1, My thinking behind radio, say in the Huey, the radio you use the most on a mp server, like UHF 264 to talk to MP GCI and radio 2 30.00 VHFFM to talk to other Helipilots. In the Huey the power switch is a 4-way switch, in another plane it's something else.
-
Sitting in my playseat challenge I had to use a cardboard box as a table for my mouse. I got the Ide to make a switchbox out of a cardboard box, just to get started. It's light, easy to move and stable. Some pictures. This gauge panel I made last year, Found a proper place to put it. Print is just a test, decided to have Vertical speed indicator, Slip indicator and fuel gauge. Easy to get in and out. Trying things. The state of the box today. Hardware: 1x Arduino Mega 2560. 4x ROTARY ENCODER 20P WITH SWITCH 8x 10KOHM POTENTIOMETER 4x ROTARY POS SWITCH 3x Adafruit AUTOMOTIVE GAUGE STEPPERMOTOR - x27.168 3x Adafruit TB6612 1.2A DC/Stepper Motor Driver Breakout Board I wish I could have the space to build a proper simpit, but how do you with an amazing A10 pit do when you jump in and fly the Viggen or the Huey? I want to make my box as generic as possible. When I printed the control test for the panel I realize that I should have spread the buttons and rotarys more so I could have maybe two descriptions for each button and switch. But I feel this box is a real step forward for me, I now have something simple, easy to move and store, something were I will not have keybindings get forgotten cus it will be written in plain text on the box. For the future. I want to maybe engrave or 3dprint panels that I can just lay over with the correct labels for the correct aircraft I'm flying.
-
This will be my thread about me, my DCS experiences, setup and DCS Bios project. Yngwie84 is the name I use online, I'll send a support ticket to see if ED can change my username on the forum. Introduction below - My DCS BIOS project will be in the next post. I started playing DCS a few months after Viggen was released in 2017. I had zero flight sim experience before DCS but many hours in Elite Dangerous. For Elite Dangerous I had bought a Saitek X55 Hotas. The steep learning curve and the daily life made it so I never really got hooked. I enjoyed it when I had the time for it but always relearning all the controls and procedures if you had not played for a week or two put me off. I never got the time in to just be able to jump in and get going. A mistake I made was to buy to many modules very early and try to play all of them. I multiplied my problem of trying to remembering controls buy wanting to fly Viggen, Huey, P-51 & Sabre. My nr1 tips if you are new to DCS and flight sims: Only buy one aircraft module at a time. About a year ago when I again had an urge to play more DCS I decided to buy a Logitech switch panel & Logitech rudder pedals to try to make my life easier and standardize some of the controls to the switch panel. Working as a maintenance electrician I can program PLC so I started to look into DCS Bios, bought an Arduino starter kit and started to learn Arduino basics and involving it with DCS. Again I'm spending time with DCS but I'm not flying, I'm not becoming a pilot roaming the MP servers. I sit in the cockpit flipping switches. I needed a box for all the arduino stuff and a good place to have easy access to it. Having it on a breadboard on the desktop is not a working solution. Once again I stopped playing and things got put to the side. All winter I've been on sick-leave unfortunately and spent most of my time in the sofa on Youtube or Twitch. Watching streamers play DCS I've found is a very good source of learning DCS when your stuck in the sofa. Starting to feel better I've got back to DCS, mainly trying to complete my panel with buttons. I had been thinking that I have to build some side panel in wood or metal to put the panels on. But then I got an idea. The Budget idea. More on that in my next post in a few minutes.
-
I just use my mouse. I have no views bound. Also use tracking.
-
I looked at this video by Spudknocker. He goes over what you need. Here is how you do speedbrake for left thumb switch. Also have this macro for air and ground power.
-
Thank you! DCS Bios is an amazing to have and I really appreciate your work on it!
-
Update: Have still not been able to solve the issue. Tried turning off antivirus and firewall. Socat is not working as it should for some reason :(
-
Thank you, I did a complete reinstall of DCS and that fixed it.
-
Solved, not sure exactly what fixed it tho... Hi. When I try to use DCS Bios Serial connect I get an error saying I'm missing msys-crypto-1.0.0.dll I've tried Alot of things. If I download this dll and put it is system32 I get another 5 or so DLLs that are missing, added those aswell and now I get a program error, picture 2. To me it seems like i'm missing some package? Since I were having some other issues with dcs and when i ran a SFC /scannow it said I had corrup systemfiles that it fixed I decided to just reinstall windows and start from scrach. Done that today and now I'm back to square one with missing dlls again. Not sure if there is a point downloading them manualy again like yesterday. I've had DCS Bios Serial connect working flawless before, I think last time I used it was ~6months ago. Never had a problem like this before. Translation from Swedish. "code running can not continue due to the dll missing. try to reinstall the program" "Could not start correct (0xc000007b) ok to close.
-
I don't have problems binding or clearing. the problem is the orange text in the picture. The are two binds for the same thing. There should only be one.
-
Hi. How do I get rid of this? I tried to copy my inputs folder from a clean stable install but the problem is still there. I have multiple binds on Viggen that are like this and say "Diffrent actions have identical descriptions!" I have tried uninstalling the viggen module and installing it again, problem still there. Ive removed the AJS37 folder in "...Saved Games\DCS.openbeta\Config\Input"
-
Caucasus makes most sense, imagine a new person that starts to play DCS just to learn the Huey, He would have to buy 3 modules, and if he is new, he's possibly just invested in rudder pedals and a hotas. The 50 extra dollars for a map and then the x dollars for your model might be to much. You will be doing new players a favor by keeping it on Caucasus. With 2.5 and the four seasons you can have the seasons as a real time progress, the student starts his basic training in the spring and gets his wings in the winter.
-
Operation "Blue Flag" - 24/7 PvP Campaign - ROUND 9
Yngwie84 replied to gregzagk's topic in Multiplayer
It can sometimes a few minutes in multiplayer before the flags go away, don't move the aircraft until the flags on the radar go away and then taxi to the runway. At the runway, standing still before takeoff use the reference button to align the nav. It will not align in the pit. Then after that turn the nob to NAV to start the HUD. Try that and see if that works. -
Application sent :)