astronode-arduino-library
Arduino Library for the Astronode S.
Examples
Use the examples below as reference designs to develop your own application using the astronode-arduino-library.
hello_Astronode
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.
Hardware setup
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)
hk_logger_sd
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.
Hardware setup
Software tools
- plot_sdlogger.py: plot the satellite passes from the SD CSV data