Skip to content

ESP32 sends CAN avionics telemetry via websockets to iPad or any other WiFi device

License

Notifications You must be signed in to change notification settings

ivyknob/avionics_wifi

Repository files navigation

Avionics WiFi

Maintainability

Requirements

ESP-IDF

cd ~/esp
git clone -b v4.1rc --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.1
cd esp-idf-v4.1
./install.sh

Add . $HOME/esp/esp-idf-v4.1/export.sh > /dev/null to ~/.zshrc or ~/.profile.

Restart terminal application

Python

installing pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
rm get-pip.py

After installing pip

python -m pip install --user -r $IDF_PATH/requirements.txt

Components

Inside repo run: git submodule update --init --recursive

Configuration

Check esp32 port with command:

ls /dev | grep -i usb

copy port name.

Add something like this to your ~/.profile or ~/.zshrc file

export CONFIG_ESPTOOLPY_PORT="/dev/tty.usbserial-1420"

Reload terminal or use source command.

sdkconfig

Copy sample file:

cp sdkconfig.sample sdkconfig

Run:

make menuconfig
  • In WiFi Configuration select your access point.
  • In Serial Flasher Config -> Default serial port enter port from above.
  • Save -> Exit

Build and Flash

Build the project and flash it to the board, then run monitor tool to view serial output:

idf.py flash monitor

(To exit the serial monitor, type Ctrl+].)

About

ESP32 sends CAN avionics telemetry via websockets to iPad or any other WiFi device

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •