HF-FDO2 Driver 0.1.0-dev
UART driver for PyroScience FDO2-G2 (data sheet v5 §4: #MOXY, #MRAW, #VERS)
Loading...
Searching...
No Matches
Examples

ESP32-S3 (examples/esp32)

  1. Initialize the tooling submodule:

    cd examples/esp32
    git submodule update --init --recursive
  2. Build (ESP-IDF release/v5.5, target esp32s3 from app_config.yml):

    ./scripts/build_app.sh fdo2_minimal_example Debug
    ./scripts/build_app.sh fdo2_sensor_demo Debug
  3. Flash and monitor:

    ./scripts/flash_app.sh flash_monitor fdo2_minimal_example Debug
    ./scripts/flash_app.sh flash_monitor fdo2_sensor_demo Debug

Both apps use **UART_NUM_1** with default pins TX = GPIO47, RX = GPIO21 (see main/include/hf_fdo2_esp_uart.hpp and the using Uart = … alias in each .cpp). **fdo2_minimal_example** prints #VERS, #IDNR, and 1 Hz #MRAW. **fdo2_sensor_demo** runs 200 ms #MOXY plus 3 s #MRAW for bench O₂ testing.

See examples/esp32/README.md for matrix and override notes.

Next: Troubleshooting →