Jump to content
The simFlight Network Forums

Thiago Duarte

new Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Thiago Duarte

  1. Hello Pete, I come here to say that after days of research and effort to make the spoiler work with the Pontenciometro in the informed configuration, after your help I managed to solve my problem. I'm learning a lot with this challenge that is being the Aerosoft Airbus, every part I try to develop it preaches a joke to me, lol. I confess that until then I was unaware of the use of offset with fsuipc, and with this function as you showed me I had never used it. So after reading your help I started doing some tests and after many tries everything is perfect. Thank you very much. Thiago Duarte
  2. First, I appreciate the answer to my question, and I apologize for not asking a complete question. Let's do it now. Simulator: FSX Aircraft: Airbus Aerosoft A320 Hardware Used for Integration: Arduino Mega 2560 + Potentiometer 10k Communication Software: Mobiflight In this configuration, I have no way to calibrate the spoiler directly in FSUIPC, because the Arduino is not recognized as a USB JOYSTICK. That's why I need to use MOBIFLIGHT. My potentiometer returns the value 13 - 1023 which using @ it returns the value 0 - 16383 which is used in OFFSET to interact with FSX. I have just sited an example that this same code works in another option, to reinforce that the Arduino + Potentiometer + Mobiflight + FSUIPC + FSX interaction are going well. In this case, the aforementioned formula took the value of the potentiometer and converted it to the range used in FSX, changing only the OFFSET to test with FLAP and everything went perfectly. Now when I return the offset to 0BD0 (SPOILER) I have no success. It appears that something is preventing it from extending and moving the spoiler lever. As I also said, this same code for the spoiler works on STANDARD FSX aircraft like Airbus and Boeing. I believe it has something to do with this range from 4800 to 5619, and when the potentiometer value goes through it, it must be going into the range of spoiler armed function and thus blocks the operation of the spoiler lever. Grateful for the attention. Thiago Duarte
  3. Hi, I'm trying to use a potentiometer to set spolier and flap values on the A320 Aerosoft n FSX. First I tried to SPOILER using the formula "Max(0, Min(16383, (@ - 16) * 16383 / (1023 - 16)))" In Mobiflight OFFSET. Used with offset "0BD0" for Spolier. Testing with Aerosoft A320 didn't work, but when switching aircraft like FSX's standard Boeing or Airbus it worked perfectly. Now this same formula used to actuate the FLAP in Airbus A320 Aerosoft changing only the OFFSET "0BDC" worked perfectly to actuate the flaps. Checking the documentation I see there is an instruction to use OFFSET "OBDO" "Spoilers control, 0 off, 4800 arm, then 5620 (7%) to 16383 (100% fully deployed)...". I don't know how to implement this code. I would be grateful if someone can help me.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.