Skip to content

Add Air780E production example and compile/flash script#3

Open
Glider95 wants to merge 15 commits intowindnerd-labs:mainfrom
Glider95:main
Open

Add Air780E production example and compile/flash script#3
Glider95 wants to merge 15 commits intowindnerd-labs:mainfrom
Glider95:main

Conversation

@Glider95
Copy link

@Glider95 Glider95 commented Feb 4, 2026

Overview

Adds a production-ready Air780E example that uploads wind data to both WindNerd WTP and Windguru, plus a helper script to compile and flash the firmware.

Changes

  • New example: examples/air780e/air780e.ino — Production firmware
  • MD5 helper: examples/air780e/MD5.cpp, examples/air780e/MD5.h
  • Example docs: examples/air780e/README.md — How the example works and configuration
  • Build/flash helper: examples/compile_flash.sh — Compile with arduino-cli and flash with STM32CubeProgrammer

Key details

  • Windguru uploads: wind speeds sent in knots (conversion applied in air780e.ino)
  • WindNerd WTP uploads: wind data kept in meters/second
  • Reliability features: Independent Watchdog (IWDG), state-timeout protection, periodic modem reset
  • Power: Ultra-low power sleep mode support
  • Architecture: Non-blocking modem state machine designed for unattended deployments
  • Credentials: Example contains placeholders — set WTP_SECRET_KEY, WINDGURU_UID, and WINDGURU_PASSWORD before deployment

How to test

  1. Build & flash:
bash ./examples/compile_flash.sh ./examples/air780e/air780e.ino
  1. Open serial monitor on the MCU serial TX2 (USART2) at 115200 baud to view debug output.

Copilot AI and others added 15 commits October 11, 2025 00:41
Co-authored-by: Glider95 <36504054+Glider95@users.noreply.github.com>
Co-authored-by: Glider95 <36504054+Glider95@users.noreply.github.com>
Co-authored-by: Glider95 <36504054+Glider95@users.noreply.github.com>
…rmware

Implement 4G Board Luat Air780E Integration with STM32 Firmware
Co-authored-by: Glider95 <36504054+Glider95@users.noreply.github.com>
Co-authored-by: Glider95 <36504054+Glider95@users.noreply.github.com>
Co-authored-by: Glider95 <36504054+Glider95@users.noreply.github.com>
…otocol

Integrate Windguru API protocol for wind data transmission
- Production-ready Air780E STM32G0 firmware with dual upload support
- Windguru API integration: converts wind speed to knots (1 m/s = 1.94384 knots)
- Windnerd WTP: maintains wind data in m/s
- Features: non-blocking state machine, watchdog, state timeout, periodic modem reset
- Ultra-low power mode for battery-powered deployments
- MD5 authentication support for Windguru API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments