Jump to content

pavidovich

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by pavidovich

  1. En 17/3/2023 a las 12:46, maciekish dijo:

    Hi, is this for some specific hardware or is it full dcs-bios on esp32 just like an Arduino and you can define pins and switches like normal, and perhaps drive a display faster than an Arduino?

     

    Hi, this ESP32 implementation is just only for my radio panel project, it doesn't integrate all the original DCSBios functions and callbacks. It helps me to understand the DCSBios inner logic.

    In my repository you can find a DCSBios fork that includes both, the ESP32 and ESP8266 microcontrollers, available as options like the Arduino or STM32.

    https://github.com/pavidovich/dcs-bios-arduino-library

    Furthermore, if you don't require the WiFi accessibility, you can use the ESPs as a traditional Arduino board with the original DCSBios library. In this situation two considerations, the IRQ option isn't available and the Arduino Servo library isn't compatible with the ESPs.

    The ESPs are faster than the traditional Arduinos, they have larger memory, I/O pins, SPI/I2C buses, etc.

    Hope can be useful.

    • Like 1
  2. Yes, you can work with the Pi Pico using the standard USB interface to get the data from DCS-Bios. The IRQ_Serial acceleration does not work with the Pi Pico as it is hardware dependant, but doesn't matter, the Pi Pico is quite fast.

    Just compile your program using the Arduino IDE and download it to the Pi Pico.

    You can also work with any other microcontroller, as it is the ESP32. However, with this microcontroller there is a problem related to the Servo library. The solution is easy, just modify change the Servos.h library, which is present in the DCS-Bios/internal, to use any other  ESP32 servo library.

    In this link you can find how to work with ESP8266 or ESP32 boards and DCS-Bios

    https://github.com/pavidovich/dcs-bios-arduino-library

    • Like 1
    • Thanks 1
  3. Hello everybody,

    I share with you my solution to the DCS-Bios multi-module management for any button box. 

    The code is based on an ESP32 that allows fully wireless communication with DCS, that means it is not required any USB port

    https://github.com/pavidovich/ESP32_MultiModuleDCSBios

    The code can be easiliy adapted to your button box, just replace the function getButton() (present in the ESP32_Code.ino) with any other that gets the button ID from your button box.

    There are 3 examples based on the A-4E-C, F-5E-3 and T45 modules. Just take into account that these examples are based on my button-box, so you should adapt them to your necessities.

     

     

    • Like 3
  4. hace 15 horas, No1sonuk dijo:

    Are they THAT much better than an Arduino Pro Micro?

    Arduino Pro Micro is able to do the job! it allow us to create any button box. But, the RPi Pico it can also do this but furthermore it can simultaneously do much more other stuff, as manage displays, servos, and why not some VGA screens. This is because it is dual core, higher clock speed, bigger amount of memory, the ability to program its I/O pins, etc.

     

    • Like 1
  5. Firstly, my apologies for my horrorous english 

     

    I'm trying to catch some data using the export.lua, this data will be use to activate some haptic devices to obtain a more realistic feeling. Currently I'm starting with a vibration motor attached to the joystick just to get the gun feedback when it is used.
    The main problem is to obtaine the information of using the gun or even any other armament. Is this really possible?
     
    Furthermore, there is really little information about the available functions that could be used in the export.lua. I've been reading a lot of messages, but in the end, all of them just point to the same functions. Is there any place with more detailed documentation?

     

    Many thanks in advance!

  6. hace 37 minutos, Sacarino111 dijo:

    Hi.

    NIce, and welcome to the "infinite button creation"... I see alot of slepless nights in front of you!

    Good box, and good finishing too! Mine isn't that beatifull. I suggest you check this link https://forums.eagle.ru/topic/97434-an-arduino-usb-hid-controller-composite-usb-controller. I have three Arduino mega connected as joysticks, wich one of them shows as two separate joysticks, so it's up to 256*3 total button count, plus 8*3 joysticks axels, and DCS can handle it! Amazing!

    If you need some help, I would be happy to help with that unbelievable feature.

    Saludos

    Saca111

     

    Many thanks for your comments, I'll take a deep insight on the link. For sure there will be a lot of useful information.

     

    Furthermore, great pics!

  7. I've added a LCD screen and two additional push buttons.

     

    The main goal is to include a timer  to help me in the IFR procedures. The LCD screen uses the I2C bus and both buttons are digital inputs directly controlled by the Arduino Micro.

     

    20210310_202522.jpg

  8. Many thanks for your comments,

     

    two more picture during the development process 


    The circuit is based on two SN74150 16:1 multiplexer, they allow to access 32 inputs with just only 5 digital lines, thus it is possible to maintain some other pins for a future expansion. 

    Cockpit_V3.jpeg

    Cockpit_V3_00.jpeg

  9. Links to the updates:

    - Initial setup: Current post

    - 1st update: Added 6 analog axis

    - 2nd uptade: Added a LCD screen + two control buttons

     

    -----------------------------------------------------------

    Hello everybody,

     

    I would like to show you my first button box. It is based on an Arduino Micro Pro board and the Arduino Joystick Library from Heironimus 

     

    It is composed by 4 rotary encoders, 4 toggle switches (ON-ON), and 16 push buttons. It is also prepared to add 6 analog axis.

     

    It is made by cheap 3mm plywood, and covered by an adhesive vinyl, just to improve the look. I have also applied some weathering technique to get an old look. 

     

    Button_Box.jpeg

    Button_box_2.jpeg

     

    • Like 4
×
×
  • Create New...