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
- Adafruit Feather M0 Adalogger
- IridiumSBDi2c by SparkFun Electronics (datasheet)
- sleep
- wake on interrupt
- for each received message on
SERCOM1
pins- save to SD card
- send message over Iridium
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.