Warning
This project is no longer actively maintained. It is considered legacy, may be incomplete, and is provided as-is. For an newer maintained alternative, please see astronode-c-library.
Arduino Library for the Astronode S.
Use the examples below as reference designs to develop your own application using the astronode-arduino-library.
This sketch enqueues a single message in Astronode S queue. It checks periodically if a new event is available. If a "satellite acknowledge" event is received, a new message is enqueued in the module.
An Astronode S devkit (sat or wifi) or an Astronode S+ is required.
This sketch has been successfully run in the following boards:
- Nucleo-64 STM32l476 (TX -> D2(PA10), RX -> D8(PA9), GND -> GND, 3V3 -> 3V3)
- Arduino MKR1400 (TX -> D13(RX), RX -> D14 (TX), GND -> GND, 3V3 -> VCC)
- Arduino UNO (TX -> D2(with level shifter), RX -> D3(with level shifter), GND -> GND, 3V3 -> VCC)
This sketch periodically logs all housekeeping from the module on an SD card (peformance counters, env. variables, etc.):
- It enqueues a single message in the queue of the Astronode S.
- It checks periodically if a new event is available.
- If a "satellite acknowledge" event is receieved, the ACK is cleared and a new message is enqueued in the module.
- If a "command received" event is receieved, the data contained in the command are written to the SD card and the command is cleared.
- When all tasks are done, the arduino goes in deep sleep.
- Adafruit Feather M0 Adalogger (TX -> D16(RX), RX -> D15 (TX), GND -> GND, 3V3 -> 3V3)
- Astronode S devkit (sat or wifi) or Astronode S+
- plot_sdlogger.py: plot the satellite passes from the SD CSV data