Jump to content

Vinc_Vega

Members
  • Posts

    478
  • Joined

  • Last visited

4 Followers

About Vinc_Vega

  • Birthday 09/27/1972

Personal Information

  • Flight Simulators
    many
  • Location
    ETSI
  • Interests
    too much

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Have a look into the their oline purchase support. Maybe one of the FAQs fits your need. https://www.3ds.com/store/faq Regards, Vinc Edit: Your issue seems to be solved. PS: Don't you have the opportunity to save your files locally?
  2. Automatically connection is only possible with the outdated Hub version. The more recent FP version of DcsBios connects by the mentioned program/ script. Regards, Vinc
  3. Another possibility is using LED driver chips, like the Max7219. They have built-in intensity logic, that may be controlled (dimmed) by your code. Advantages are also that LEDs would be external powered, so you don't have to care the pin current limit, or you may use a LED matrix to maximise the output count for boards like Nano or Uno. Regards, Vinc
  4. Yes, and with the radar altimeter of the MiG-21 Regards, Vinc
  5. There may be no noticeable effect for the brightness curve of your LEDs, let's say between 255 and 190 and below 40 or so. It's not easy to adjust that non-linear mapping. One way to do so is to use the multimap function. Here is a link to the respective library and documentation: https://github.com/RobTillaart/MultiMap Regards, Vinc
  6. It's exactly the the kind of answer I already had in the pipeline. Using global variables and one function to update all LEDs out of the loop. That way the brightness affects LEDs, even if their status has not changed. Ensure that you only use PWM capable pins as output, but a Mega should have enough of them. Regards, Vinc
  7. Hi there, sorry, I can't see a pic of your circuit but only a link to aliexpress , Master and Slave sketches and the screenshot of the serial protocol. Btw. you will not see any RS485 events on the Serial Monitor. Please tell us first if you ever have successfully connected the switch in question to DcsBios via an USB interface. A working sketch easily may be "converted" to RS485 by commenting the line #define DCSBIOS_IRQ_SERIAL and including #define DCSBIOS_RS485_SLAVE 1 (or the number of the respective slave) and #define TXENABLE_PIN 2. The rest of the sketch normally should be untouched. Second, please post a schematic of your circuit, if you are not sure of the wiring. TX (transmit to the bus)-> DI (driver in) RX (receive from bus)-> RO (receiver out) D2 -> DE (driver enable) and RE (receiver enable) Third, use TX1 (pin 18) and RX1 (pin 19) of the Master (Mega) for the first RS485 bus. If that doesn't work, swap the pins (18 and 19) of the master, as you may have a Mega clone and not an original. If all won't work, try to use the second RS485 bus with pins 16 and 17: #define UART2_TXENABLE_PIN 3 Edit: Thereby, the Master (Mega) is not powered by 12V but only by the USB port. A slave must not be connected to RS485 and USB at the same time! Powering a Nano via USB will limit the current to a max of 0.5 A by it's internal fuse and the voltage to 5 V. It's better to use the VIN pin, that tolerates up to 12 Volts and uses the internal regulator to supply (and protect) the microcontroller. For the wiring, I personally use something like the second sketch from here. Kind Regards, Vinc
  8. Hi, PCBway is okay, but not cheap. A good European based company is Aisler. https://aisler.net/ You even can upload Fritzing, KiCad or Eagle files and they have a good preview for the PCBs. It's a while ago when I last ordered there, but round about 12 Euros for 3 double sided boards was okay for me. No idea if the "Beautiful Board Budget" still is available as an option. Delivery mostly took them two to three weeks. Regards, Vinc
  9. The 5V output bypasses the onboard regulator in case the Uno or Nano is supplied via USB alone. Regular USB ports (e.g. a computer output) have a current limit. Therefore, the developer decided to add a fuse to the Uno (maybe and to the Nano) to not draw more than 500mA. That should be the overall limit of these boards! As you want to supply 30 LEDs in total, each with round about 20mA, that may be too much for an Arduino. @No1sonuk already proposed some elegant solutions. Btw. the max current per I/O pin is limited to 40mA. Regards, Vinc
  10. No, there is a limit in current drawing per pin, depending on which type of Arduino is in use. Regards, Vinc
  11. How about extracting textures from the zip.files of the DCS folder ...\Mods\aircraft\A-10C_2\Cockpit\Textures ? Regards, Vinc
  12. As your UV sensor seems to be connected to the I2C bus too, you may include the LCD expander's address into the constructor. Something like this hd44780_I2Cexp lcd(0x27); Regards, Vinc
  13. Hi there, at Amazon I've found that encapsulated rings, which give you endless rotation for 3, 4, 6, 8 or 12 wires. Unfortunately I only have German links to the products. https://www.amazon.de/Schleifring-Nimoa-Mini-Schleifring-Drähte-Windkraftanlagen/dp/B085Y8DJ8Y/ref=dp-upsell-widget_sccl_3_3/259-0666416-2118544?pd_rd_w=asCiD&content-id=amzn1.sym.da6a3555-3917-42ee-92a6-9f4fea00ae66&pf_rd_p=da6a3555-3917-42ee-92a6-9f4fea00ae66&pf_rd_r=Q6YAG0YGQEZVCBBGHY3Z&pd_rd_wg=SuMXR&pd_rd_r=95ad4794-e4f3-4d0a-935b-e6e0d24045d9&pd_rd_i=B085Y8DJ8Y&psc=1 https://www.amazon.de/dp/B0BHYYCYTG/ref=sspa_dk_detail_3?psc=1&pd_rd_i=B0BHYYCYTG&pd_rd_w=T3zyd&content-id=amzn1.sym.ae2317a0-2175-4285-af64-66539858231f&pf_rd_p=ae2317a0-2175-4285-af64-66539858231f&pf_rd_r=ZQGTV517PZS091EWHASQ&pd_rd_wg=nd8Z4&pd_rd_r=3adc46e8-df96-4829-9032-5d94a2b16d7a&s=industrial&sp_csd=d2lkZ2V0TmFtZT1zcF9kZXRhaWw https://www.amazon.de/WayinTop-Schleifring-Schleifringe-Durchmesser-Robotik-Projekt/dp/B07GCNK2XY/ref=asc_df_B07GCNK2XY/?tag=googshopde-21&linkCode=df0&hvadid=380201824048&hvpos=&hvnetw=g&hvrand=14830251268282557579&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9114984&hvtargid=pla-828409835708&psc=1&mcid=847c777d29813fff8e4d02eeca8b6fdc&th=1&psc=1&tag=&ref=&adgrpid=74966709742&hvpone=&hvptwo=&hvadid=380201824048&hvpos=&hvnetw=g&hvrand=14830251268282557579&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9114984&hvtargid=pla-828409835708 https://www.amazon.de/BQLZR-Durchmesser-Schaltungen-Schleifringe-Bohrungsgroesse/dp/B01CJJNJSE/ref=asc_df_B01CJJNJSE/?tag=googshopde-21&linkCode=df0&hvadid=309900741810&hvpos=&hvnetw=g&hvrand=14830251268282557579&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9114984&hvtargid=pla-697991016947&psc=1&mcid=2e3f85a44fab37aa8941be1856141296&th=1&psc=1&tag=&ref=&adgrpid=62379242115&hvpone=&hvptwo=&hvadid=309900741810&hvpos=&hvnetw=g&hvrand=14830251268282557579&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9114984&hvtargid=pla-697991016947 https://www.amazon.de/BQLZR-Draehte-Micro-Kollektor-Ring-Schleifring-Pruefgeraete/dp/B01CJJNOXO/ref=dp-upsell-widget_sccl_3_1/259-0666416-2118544?pd_rd_w=asCiD&content-id=amzn1.sym.da6a3555-3917-42ee-92a6-9f4fea00ae66&pf_rd_p=da6a3555-3917-42ee-92a6-9f4fea00ae66&pf_rd_r=Q6YAG0YGQEZVCBBGHY3Z&pd_rd_wg=SuMXR&pd_rd_r=95ad4794-e4f3-4d0a-935b-e6e0d24045d9&pd_rd_i=B01CJJNOXO&psc=1 Additionally, there are NEMA stepper motors at the market, that have hollow shafts to route some wires though it. Regards, Vinc
  14. Hi Unbound, you don't use a compare statent within the onCanopyUnlockedChange section. Just try the double "==" like this: if (newValue == 0) { usMotor_Status = CCW; } else if (newValue == 1) { usMotor_Status = CW; } Regards, Vinc
  15. Do you have any references on round OLEDs of 2 or more inches in size? Regards, Vinc
×
×
  • Create New...