Skip to content

arribada/demo-featherwings-zephyr

Repository files navigation

Demo Zephyr - Adafruit Feather nRF52840

Embedded application for environmental sensor data collection and satellite transmission via Argos SMD module, built on Zephyr RTOS.

Features

  • Multi-sensor acquisition (BMP390, SHTC3, MPU-6050)
  • Configurable data aggregation (MEAN, MIN, MAX, MEDIAN)
  • Satellite transmission via Argos SMD module
  • Dual command interface: USB CDC and BLE NUS
  • AT command protocol
  • NVS persistent configuration
  • RGB LED status indication

Quick Start

Build

west build -b adafruit_feather_nrf52840 -p

Flash

Option A: UF2 Bootloader

  1. Double-click RESET button (LED blinks red, FTHR840BOOT drive appears)
  2. Run: west flash --runner uf2

Option B: J-Link

west flash --runner jlink

Connect

screen /dev/ttyACM0 115200

Test with:

AT+DUMP

Documentation

Full documentation is available in the doc/ directory:

Document Description
Quick Start Build, flash, and first steps
Hardware Setup Board configuration and sensors
AT Commands Complete command reference
Architecture System design and data flow
UI Integration BLE and USB interface details
Configuration NVS persistent storage

Supported Hardware

Board

  • Adafruit Feather nRF52840

Sensors (I2C - STEMMA QT)

Sensor Measurements I2C Address
BMP390 Pressure, Temperature 0x77
SHTC3 Temperature, Humidity 0x70
MPU-6050 Accelerometer, Gyroscope 0x68

Essential AT Commands

# System
AT+DUMP              # Full configuration dump

# Sensors
AT+SENSOR_DETECT     # Detect connected sensors
AT+SENSOR_READ       # Read all sensors

# Data Logger
AT+LOG_STATUS        # Buffer status
AT+LOG_DUMP          # Export as CSV

# BLE
AT+BLE_STATUS        # Connection status
AT+BLE_TIMEOUT=120   # Auto-disconnect timeout

# Configuration
AT+CONFIG_SAVE       # Save to NVS
AT+CONFIG_LOAD       # Load from NVS

See AT Commands Reference for the complete list.

Project Structure

demo-zephyr/
├── src/
│   ├── core/           # Main application
│   ├── sensors/        # Sensor manager
│   ├── connectivity/   # BLE, USB, Satellite
│   ├── data/           # Logger, Payload
│   ├── interfaces/     # Command handler
│   ├── system/         # LED, Config storage
│   └── transmission/   # Send/Stream managers
├── boards/             # Board overlays and configs
├── doc/                # Documentation
└── tests/              # Unit tests

License

See LICENSE file.

About

Featherwings code with Argos SMD and sensors via I2C.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors