OH1CL Posted October 14, 2015 Share Posted October 14, 2015 i try to do a test with the Dcsbios and different sizes of a servos. I don´t get them working, i am sure those 3 wires are correctly connected ( i check from Internet those wire colors) but nothing. I just copy example code and then i change this pin to 5. I try this with external power but nothing. I am not totally green with the DCSbios, i have working cmsp panel etc.etc. And i have been a radioamateur over 30 years, so electronics are not difficult to me understand. Link to comment Share on other sites More sharing options...
BravoYankee4 Posted October 14, 2015 Share Posted October 14, 2015 I had a lot of problems as well, trying to get the flap gauge working. Everything was OK with led's, but as soon I added a servo it stopped working. Some months later I tried with a servo for my MIG-21, and then it was working perfectly fine. Don't know if I did something different, or if there is a bug with the A-10C flap indicator in DCS-BIOS? Link to comment Share on other sites More sharing options...
FSFIan Posted October 14, 2015 Share Posted October 14, 2015 Make sure you are using the latest version of the Arduino library. To rule out any problems with your circuit, test with one of the Servo examples that come with the Arduino IDE. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
OH1CL Posted October 14, 2015 Author Share Posted October 14, 2015 (edited) OK! at today i updating Arduino library, and now i will try test Arduino´s own example. This sweep example working....but after this, i try again with dcsbios flap example. nothing...was result Edited October 14, 2015 by OH1CL Link to comment Share on other sites More sharing options...
tbies Posted October 18, 2015 Share Posted October 18, 2015 Not working I can confirm that the servo DCS A10 Flap example simply does NOT work. I have the latest version of DCS-BIOS from Github (v0.4.1). I have verified my servo is functioning flawlessly with the example Arduino IDE. My servo spec sheet appears to be very similar to the one referenced in the DCS-BIOS code, with Pulse Width: 500-2400 µs. (http://www.servodatabase.com/servo/towerpro/sg90) After >3 hours today trying to get it to work with DCS-BIOS, I give up. Either something is wrong in the DCS-BIOS documentation and/or the example code. What a shame.:(:( Link to comment Share on other sites More sharing options...
ClayM Posted October 18, 2015 Share Posted October 18, 2015 I can confirm flaps gauge does work for A-10 with DCSBios. Mine is a little jittery but works! Can anyone post their arduino sketch that doesnt work? Clay Link to comment Share on other sites More sharing options...
OH1CL Posted October 18, 2015 Author Share Posted October 18, 2015 Hi, at yesterday, i did not found any pulses From a signal PIN (5) when i try my own code and the flap example . I did test again with the "sweep" sketches and pulses comes ok. Link to comment Share on other sites More sharing options...
tbies Posted October 19, 2015 Share Posted October 19, 2015 I would love to see some working code. Anyone? Link to comment Share on other sites More sharing options...
BravoYankee4 Posted October 19, 2015 Share Posted October 19, 2015 Well, as stated before. * A-10 flag gauge - Doesn't work * Any random MIG-21 gauge - OK The same Arduino, the same servo. So if anyone got the flap working, it would be interesting to get the details (software version, arduino board, code, servo etc). Link to comment Share on other sites More sharing options...
OH1CL Posted October 19, 2015 Author Share Posted October 19, 2015 I try some else A10 gauges, but don't get any movement to my servo. Next i want do some test with Mig :( Link to comment Share on other sites More sharing options...
OH1CL Posted October 24, 2015 Author Share Posted October 24, 2015 they did not work, everything else works, as i know. what a pity... Link to comment Share on other sites More sharing options...
a3an4e Posted October 9, 2016 Share Posted October 9, 2016 Hi OH1CL Im just wondering if you got the servos working with the A10C. I know that mine was also a problem but got it sorted out. Link to comment Share on other sites More sharing options...
a3an4e Posted October 9, 2016 Share Posted October 9, 2016 The solution for this was do put the "#include <Servo.h>" before the #include "DcsBios.h" line as below: #define DCSBIOS_IRQ_SERIAL #include <Servo.h> #include "DcsBios.h" Link to comment Share on other sites More sharing options...
a3an4e Posted October 9, 2016 Share Posted October 9, 2016 (edited) DCS Bios Flaps working code Well, as stated before. * A-10 flag gauge - Doesn't work * Any random MIG-21 gauge - OK The same Arduino, the same servo. So if anyone got the flap working, it would be interesting to get the details (software version, arduino board, code, servo etc). /* use '#define DCSBIOS_DEFAULT_SERIAL' instead if your Arduino board * does not feature an ATMega328 or ATMega2650 controller. */ #define DCSBIOS_IRQ_SERIAL #include <Servo.h> #include "DcsBios.h" /* Declare a Master Caution Reset button on pin 10 */ DcsBios::Switch2Pos masterCautionBtn("UFC_MASTER_CAUTION", 10); /* Make the LED connected to pin 13 into a Master Caution Light */ DcsBios::LED mcLed(0x1012, 0x0800, 13); DcsBios::ServoOutput flapPos(0x10a0, 9, 1060, 150); void setup() { DcsBios::setup(); } void loop() { DcsBios::loop(); } Latest DCS Bios software Arduino Mega R3 Servo: Tower Pro micro servo 9g SG90 Edited October 9, 2016 by a3an4e Link to comment Share on other sites More sharing options...
BravoYankee4 Posted October 10, 2016 Share Posted October 10, 2016 Thanks, haven't got the time to test it yet but I will - eventually. But it doesn't really explain why there was a problem for the A-10, but not the MIG-21... Link to comment Share on other sites More sharing options...
OH1CL Posted October 10, 2016 Author Share Posted October 10, 2016 I tried a flapdemo again with the updated dcsbios and it's works! But did not testing it fully, Only the movement of the servo. Link to comment Share on other sites More sharing options...
Recommended Posts