Skip to content

A library designed to run on Arduinos and similar microcontrollers and communicate with DCS-BIOS. This fork adds WiFi-LAN capabilities based on ESP microcontrollers.

License

Notifications You must be signed in to change notification settings

SCUBA82/dcs-bios-arduino-library

 
 

Repository files navigation

DCS-BIOS Arduino Library

This is an Arduino library that makes it easy to write sketches that talk to DCS-BIOS.

For more information and documentation, see the DCS-BIOS FlightPanels Project. The example "OneOfEverything" is a good place to start looking for controls to use.

This fork adds WiFi-LAN capabilities based on ESP8266 and ESP32 microcontrollers.

In case of using the ESP32 microcontroller it is required to install de ESP32Servo library to let use the Servos.

Origins

DCS-BIOS was originally developed here, DCS-BIOS project. DCS-BIOS Flightpanels forked all of DCS-BIOS in order to initially provide support for Saitek Flight Panels. As of Nov, 2020, the original project has received limited support (despite a major update for HUB), and FlightPanels is gaining in popularity due to it's support. Late in 2020, this fork of the arduino-only portion was created to become the "official" branch associated with the FlightPanels DCS-BIOS side.

Support & Documentation

This is a community maintained plugin. Support is best found at the DCS-Flightpanels discord channel. The wiki is very much a work in progress, and can be found here: https://github.com/DCSFlightpanels/dcs-bios-arduino-library/wiki

Releasing

  1. Bump version number in library.properties
  2. Run make_release, providing the same version number when prompted.
  3. Manually make a zip file of the folder created in /Releases, and upload to github.

WiFi Access

The WiFi access is based on the ESP8266 and ESP32 microcontrollers. In the examples folder there are examples for both microcontrollers. There are two steps:

  • Firstly it is required to identify the LAN access with the directive:

#define DCSBIOS_LAN

  • Next, identify the microcontroller used with the corresponding directive:

#define DCSBIOS_ESP8266
#define DCSBIOS_ESP32

It is done in this way to isolate the LAN implementation from the SERIAL access

About

A library designed to run on Arduinos and similar microcontrollers and communicate with DCS-BIOS. This fork adds WiFi-LAN capabilities based on ESP microcontrollers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.9%
  • C++ 5.5%
  • NASL 1.5%
  • Other 0.1%