Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

IQTLabs/satcom-modem-interface

Repository files navigation

SATCOM Modem Interface

SATCOM Modem Interface MCU for the SATCOM Relay

This repo contains the source code for the SATCOM Modem Interface components of the SATCOM Relay project. See the Relay repo for:

  • BOM
  • Wiring Diagram
  • RockBlock to Feather Adapter PCB

Arduino Environment Setup

MCU

Arduino Libraries for this Repo

Operations

High-level "loop" Operations

  • sleep
  • wake on interrupt
  • for each received message on SERCOM1 pins
    • save to SD card
    • send message over Iridium

SD Card Queueing

The MessageLog class abstracts the saving of messages to an SD card. Some basic failure recovery as well as optionally operating an activity LED is also implemented. A new MessageLog(...) is defined during setup() and subsequent messages can be appended to the log using the append(String *) method.

Each call to append() will reestablish SD card functionality in case the card was removed or a transient error occurred.