firmware: add XIAO C6 sensor node

This commit is contained in:
2026-07-17 01:46:37 -06:00
parent 22a6d77be8
commit a701059378
15 changed files with 239 additions and 0 deletions
@@ -0,0 +1,20 @@
#pragma once
#include <Arduino.h>
#define SENSOR_NODE_NAME "xiao_c6_sensor_node"
#define SENSOR_NODE_FIRMWARE_VERSION "0.1.0"
#define SENSOR_NODE_SCHEMA_VERSION 1
#define RS485_DE_PIN D2
#define RS485_TX_PIN D4
#define RS485_RX_PIN D5
#define BNO086_SDA_PIN D7
#define BNO086_SCL_PIN D8
#define GPS_RX_PIN D9
#define GPS_TX_PIN D10
#define BNO086_I2C_ADDRESS 0x4A
#define GPS_BAUD 9600
#define RS485_BAUD 115200
#define IMU_REPORT_INTERVAL_US 20000
#define TELEMETRY_INTERVAL_MS 200
#define SENSOR_STALE_MS 2000