Jump to content

kadda

Members
  • Posts

    383
  • Joined

  • Last visited

Everything posted by kadda

  1. good morning every one :), trying to solve my problem, i decided at 3am to re install completely DCS-BIOS, so i dowloaded it a new time then installed it completely new... the controle reference is working properly and the connect-serial-port.cmd is receiving data correctly "i think" , but now with the same stepper and the same skatch the stepper don t move ... - how can i know that my export.lua file is working? and another question do DCS-BIOS work with ARDUINO MEGA 2560 REV 3? thanks in advance for answering ...
  2. my probleme is that my stepper is moving correctly, to the required position for ex if i climb to 1000 meters it makes exactly one revolution ... when i stop climbing it stops accelerate and decelerate cerrectly ... but when descending it continu rotating in the same dirrection, so when i m back to 0 m it indicate 2000m :( i thought that maybe i ve a probleme with the speed of my card ... but i ve noticed that the values , that shows the "connect-serial-port.cmd" never go back they only augments .....
  3. An other question please... where can i find the "update rate" parameter please?
  4. now the stepper is turning, but only in one way, can someone tell me what i miss CODE: #define DCSBIOS_DEFAULT_SERIAL #include <AccelStepper.h> #include "DcsBios.h" #define FULLSTEP 4 #define motorPin1 3 #define motorPin2 4 #define motorPin3 5 #define motorPin4 6 AccelStepper Motor1(FULLSTEP, motorPin1, motorPin3, motorPin2, motorPin4); void onVd20Change(unsigned int newValue) { long newPosition = ((unsigned long)newValue *(unsigned long)(40960))/(unsigned long)65535; Motor1.moveTo(newPosition); Motor1.run(); } DcsBios::IntegerBuffer vd20Buffer(0x3200, 0xffff, 0, onVd20Change); void setup() { DcsBios::setup(); Motor1.setMaxSpeed (1500); Motor1.setAcceleration(800); } void loop() { DcsBios::loop(); }
  5. thx for the answer i ll give it a try this evening :)
  6. izviniayous za ochibka, net v sredi plugini import dlia failov tipa scn, no na primer v protsesse sozdaniya vpp, noujno sozdovat fail *.rn i s pomochiou assemblera sozdaech fail *.scn
  7. na schet assembler o kotorom retch idet, ne znaiyou... no na schet plugini da dlia LO FC2 i est assembler dlia etoi versii toje i da tolko dlia 3DSMAX 2008 32BIT, i na skolko znayou est sposob importa dlia tex failov ;)
  8. vse ravno o4en' interesno, vse 4to ya sozdal bilo na FC2, interesno esli esli on srabotaet na nevo 4tob sozdat' aerodromi na moei karte ...
  9. NOOB TIME !!! i m stuck making my stepper working, for the moment i need just to understand how to make it get data of the altimeter, i don t need to program zeroing because i maked a machanical way to take it back to the zero if i need ... code: #define DCSBIOS_DEFAULT_SERIAL #include <AccelStepper.h> #include "DcsBios.h" #define FULLSTEP 4 // Motor pin definitions #define motorPin1 3 #define motorPin2 4 #define motorPin3 5 #define motorPin4 6 AccelStepper Motor1(FULLSTEP, motorPin1, motorPin3, motorPin2, motorPin4); void onVd20Change(unsigned int newValue) { newValue = map (onVd20Change ,0 , 65535, 0, 81920); Motor1.run(); } DcsBios::IntegerBuffer vd20Buffer(0x3200, 0xffff, 0, onVd20Change); void setup() { DcsBios::setup(); } void loop() { DcsBios::loop(); } thanks a lot, any help is welecome
  10. dobrie vremini sytok, a mojno znat chto za assembler? dlia kakoi versia sdelan dcs? xotelos by sozdat karti severnoi afrike, no net plugins 3dsmax kotorie sozdani dlia dcs ...
  11. thanks Warhog for the quick answer, and for the suggestion, in fact i used something similar to that, in the gauges where more than 180° is needed like in the temperature gauge, but now i need to make the instruments where i need free turning in the two directions, like the altimeter or the AGD... and i think i can do it only with steppers and and a detector for zeroing. So step one for me is controling the stepper WITH DCS BIOS, then adding the optical detector for zeroing. in reality i didn't had to buy gears for the moment because in the orriginal intruments i found the orriginal metal gears and they are standart (fully metal) maked :music_whistling: ... and a noob question, can i know what is the best mirco controler for me to use? for the moment i m programming the intruments one by one with an arduino uno but i m probably gona change for better one for the real thing, if i use USB. PS: it s always a pleasure to see photos of your impressive work :)
  12. c nastypaiouchim!!! vsem privet, ya zaintirosavalsia v etoi teme ya delaiou domachnaya kabina L-39 ne vse ponimaiou no ya tak doumaiou 4to mogou pomo4 esli eche noujna :)
  13. mary christmas everybody... hello guys, i ve finished all the gauges that don t need more than "180°" with servos, and now i m trying to interface all the others with stepper like the RSBN,AGD,RKL, ... i m geting very stuck in how to sketch that, any help is wellcome :pilotfly:
  14. Hello every body... sorry if in english... i m getting some isues with DAC and arcaze led driver 2 ... can some one hzlp me with this? «See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) at System.Text.StringBuilder.Append(String value) at DAC.FormMain.»
  15. Without any problems , for the modul it s not finished yet for the dimensions tell me what instrumznt you want and i ll tell you... Geting some problems with arcaze cards did some one used them before??
  16. Hi, i thought about a theorical sollution to make it work with dcs ... i m thinking to make the servos that was already connected on my sim take there signals from the speed indication (small speed = small force and big speed = bigforce on the commands), ill give ita try ...
  17. :pilotfly:... hi every body , Ian i ve a question, is there a way to find the signal for the force feedback on the controls ??:pilotfly:
  18. New ED update for dcs and there is « Lybia,Marocco and Tunisia» in the new country list:music_whistling: ;) I think ED is preparing a good surpise for the VAAF;) and what I think personally it s that the VAAF is preparing a good surprise for all the dcs community ...
  19. New ED update for dcs and there is « Lybia,Marocco and Tunisia» in the new country list:music_whistling: ;) I think ED is preparing a good surpise for the VAAF;) and what I think personally it s that the VAAF is preparing a good surprise for all the dcs community ...
  20. The work is going on !!! Thx FSF IAN...
  21. Hi. , i m thinking about 360° servos too ... but for the moment it s difficult for me to find them here....
  22. A little question, if i want to put a stepper have i to make a stepper.h file for dcs bios or can i use the stepper library from arduino?
  23. thank you IAN, and you re absolutly true that two lines had nothing to do there, i was just lost and tryed to find to find the sollution by my self .... thank you another time for your help, :pilotfly:
  24. hello there!!!, can some one tell me where im wrong ?:helpsmilie: #define DCSBIOS_DEFAULT_SERIAL #include <DcsBios.h> #include <Servo.h> DcsBios::ServoOutput accelerometer(0x2600, 9, 544, 2400); Servo Myservo; int PIN_Myservo = 9; /* paste code snippets from the reference documentation here */ void setup() { DcsBios::setup(); } void loop() { DcsBios::loop(); } ___________________________ exit status 1 'ServoOutput' in namespace 'DcsBios' does not name a type :pilotfly:
×
×
  • Create New...