Air Manager has the option to connect to the ESP32 and send instrument scripts to it (hardware API only). You are able to use the ESP32 to drive LED's, Buttons, Switches, Rotary encoders etc. Once the ESP32 has been configured, it will run stand alone and connect to the flight simulator automatically.
Air Manager provides an installer that will flash your ESP32 to make it possible to communicate with Air Manager and the flight simulator, trough WiFi or Ethernet.
Flashing the ESP32
Connect your ESP32 board to your computer using USB. In Air Manager go to the Devices tab, press the Flash button, and choose the board you have.
In the Board settings window you will have to fill in various options, depending on your setup.
- Com port Choose the com port your ESP32 board is connected to.
- Ethernet Choose between either Ethernet or WiFi.
- Wifi SSID When having chosen WiFi, fill in the name of your WiFi network.
- Wifi password Fill in the password of your WiFi network. Click the Show checkbox to see your password.
- Wifi security Choose the security type of your WiFi network, in general this is WPA2 PSK
When you have clicked Flash, Air Manager will start flashing your ESP32. Once this is done, press Close.
Configuring the ESP32
If everything went well, your ESP32 should show up in the Devices tab in Air Manager as Air Player hardware. Click it to start configuring your board. Your settings will automatically be saved.
- Information Here you can give your board a name. This is particularly useful when working with more than one board.
- Flight simulator connection Either let it connect to the simulator automatically or select the IP address and flight simulator.
- Push instrument Pressing this button will bring up the list with all of your instruments. Find and select the instrument that you want to push to the ESP32 and press Select to push the instrument. Note that only the hardware API is supported.
Pushing instruments can be done in two ways, from the Devices tab by selecting the ESP32, or from the Create/Edit tab by choosing your ESP32 from the device drop down list.