Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.99 KB

README.md

File metadata and controls

71 lines (58 loc) · 2.99 KB

F16-DED

This code is used to create an F16 DED using the following hardware

Code inspiration came from the following repos/threads:

TODO

  • write unit tests

Software

Software Build requirements

Software Build Steps

  1. Clone this repo
    git clone https://github.com/peterb154/F16-DED.git
    cd F16-DED
    
  2. Create/update your wifi settings in src/secrets.h.
  3. build and upload DCS-BIOS WiFi enabled versionto your board
    pio run -e WIFI -t upload && pio device monitor
    

Hardware

ESP32 DevKit v1 HW SPI Wiring

| OLED (Pin)  | Wire * | ESP32 (Pin)    | #define ** |
| ----------- | ------ | -------------- | ---------- |
| VDD (2)     | WHT    | 3v3            |            |
| GND (1)     | BLK    | GND            |            |
| SDIK D1 (5) | PPL    | V_SPI_D (23)   |            |
| SCLK D0 (4) | GRY    | V_SPI_CLK (18) |            |
| CS  (16)    | YEL    | V_SPI_CS0 (5)  | V_SPI_CS0  |
| DC  (14)    | BLU    | GPIO (27)      | SPI_DC     |
| RES (15)    | GRN    | GPIO (26)      | SPI_RESET  |

DED Case

See case/ for stl files. Print at normal 20% infill, no supports. Its a very simple design that requires no fasteners.

Sim configuration

DCS Bios

  1. On your DCS machine, Install latest Skunkworks version of DCS-BIOS - https://github.com/DCS-Skunkworks/dcs-bios/releases
    1. You dont need to so the socat steps, we'll use wifi baby
  2. On your DCS machchine, Install DCS-Nexus mdns router - https://github.com/DCSBIOSKit/DCS-Nexus
    1. As of 2023-10-28: clone the repo git clone https://github.com/DCSBIOSKit/DCS-Nexus && cd DCS-Nexus
    2. create a virtual environment python -m venv venv
    3. run venv\Scripts\python Nexus.pyw
  3. Fly the F16 in DCS and enjoythe DED