It's super easy to get started with embedded code using CircuitPython.
As of July 2024, the first goal of the code in this repo is to provide minimal, basic, easy access from CircuitPython to the most useful features of a Bristlemouth network as part of a Sofar Ocean Smart Mooring:
We’ll go through each of these steps in more detail in this guide but if you’re an experienced developer you can follow the steps here to get going right away. If you’d like a more detailed tutorial keep reading.
serial_bridge
app to your Bristlemouth dev board.UART TX
, UART RX
, and GND
on the Dev Board.spotter_tx
and spotter_log
from your CircuitPython code! It may be helpful to look at these as implemented in example.py.<aside> ⚠️ You’ll need Spotter v2.15.1 or higher and Bridge (Spotter’s Bristlemouth) firmware 0.11.1 or higher. If you don’t know or want to update follow the steps below “Updating Your Firmware.” If you’re on the latest, you can skip to the next sectionWorking with the Adafruit RP2040
</aside>
The most difficult step right now is updating Spotter firmware to support the new functionality. Soon Sofar Ocean will publish a comprehensive firmware management guide. In the meantime, here are brief instructions focused on the CircuitPython use case.
You should only need to do this once to enable CircuitPython.