Skip to content

Common code for Fli3d on ESP32 minikit and ESP32-CAM

Notifications You must be signed in to change notification settings

jmwislez/fli3d_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fli3d_lib

Install this library

Install these files as a library in the Arduino IDE by going into Arduino\libraries, and doing git clone https://github.com/jmwislez/fli3d_lib. The code was verified to compile on ESP32 core v1.0.6, v2.0.17, and v3.0.3.

Install other dependencies

The following other libraries need to be installed:

  • via Arduino IDE "Manage libraries...":
    • ArduinoJson
    • LittleFS_esp32 (only for ESP32 core v1.0.6)
    • SerialTransfer
    • ESPdht (optional, for extra thermal sensor in weather balloon version)
  • via git clone in Arduino/libraries/:
    • NTPClient (https://github.com/taranais/NTPClient) This version of NTPClient contains getFormattedDate
    • LinkedList (https://github.com/ivanseidel/LinkedList)
    • I2Cdev (subdirectory Arduino/I2Cdev/ of https://github.com/jrowberg/i2cdevlib)
    • MPU6050 (subdirectory Arduino/MPU6050/ of https://github.com/jrowberg/i2cdevlib)
    • MPU9250 (subdirectory Arduino/MPU9250/ of https://github.com/jrowberg/i2cdevlib) - instead of MPU6050 in weather balloon version
    • NeoGPS (https://github.com/SlashDevin/NeoGPS) In src/GPSfix_cfg.h, ensure the following configuration:
      #define GPS_FIX_DATE
      #define GPS_FIX_TIME
      #define GPS_FIX_LOCATION
      //#define GPS_FIX_LOCATION_DMS
      #define GPS_FIX_ALTITUDE
      #define GPS_FIX_SPEED
      #define GPS_FIX_VELNED
      #define GPS_FIX_HEADING
      #define GPS_FIX_SATELLITES
      #define GPS_FIX_HDOP
      #define GPS_FIX_VDOP
      #define GPS_FIX_PDOP
      #define GPS_FIX_LAT_ERR
      #define GPS_FIX_LON_ERR
      #define GPS_FIX_ALT_ERR
      //#define GPS_FIX_SPD_ERR
      //#define GPS_FIX_HDG_ERR
      //#define GPS_FIX_TIME_ERR
      //#define GPS_FIX_GEOID_HEIGHT
      In NMEAGPS_cfg.h, ensure the following configuration:
      #define NMEAGPS_PARSE_GGA
      #define NMEAGPS_PARSE_GLL
      #define NMEAGPS_PARSE_GSA
      #define NMEAGPS_PARSE_GSV
      #define NMEAGPS_PARSE_GST
      #define NMEAGPS_PARSE_RMC
      #define NMEAGPS_PARSE_VTG
      #define NMEAGPS_PARSE_ZDA
      
      #define LAST_SENTENCE_IN_INTERVAL NMEAGPS::NMEA_ZDA
      
      #define NMEAGPS_PARSING_SCRATCHPAD
    • ESPFtpServer (https://github.com/jmwislez/ESPFtpServer)
  • by downloading and unpacking a zip file in Arduino/libraries/:

Configure library

Create fli3d_secrets.h based on secrets.h.example and fill network information.

Use fli3d_lib

This library is needed to compile https://github.com/jmwislez/fli3d_ESP32.git and https://github.com/jmwislez/fli3d_ESP32cam.git.

About

Common code for Fli3d on ESP32 minikit and ESP32-CAM

Resources

Stars

Watchers

Forks

Packages

No packages published