Based on ESP IDF examples in the Public Domain. Uses generated MAVLink headers, under terms of MIT license.
Developed for ESP32-S3-ETH board from Waveshare.
The ADC channels are set to 12 dB attenuation, so they accept the signal up to 2.45 V.
Tested on Linux Ubuntu 24.04 with Docker:
docker run -it -v ~/workspace-local/esp32-projects:/project --device=/dev/ttyACM0 espressif/idf
cd /project/esp-node
idf.py set-target esp32s3
idf.py menuconfig # defaults are set up for ESP32-S3-ETH already
idf.py build
idf.py flashThe log level can be adjusted in menuconfig -> "Component config" -> "Log" -> "Log level" -> "Default log verbosity".
- Measure sensor position with ADC
- Calibrate sensor measurement with MAVLink parameters
- Persist configuration in flash