Pico LTE SDK for MicroPython

The MicroPython SDK of the Pico LTE: built-in applications for cloud services, HTTPS, MQTTS and GPS modules, the configuration file, the examples and how to contribute.

The Pico LTE SDK for MicroPython handles the cellular connection of the Pico LTE and Pico LTE 2, so that a program sends data in a few lines. Install it as in the quickstart; the source and the examples are in the pico_lte_micropython-sdk repository.

Features

  • Applications: built-in connections to AWS IoT Core, Azure IoT Hub, ThingSpeak, Slack, Telegram, scriptr.io and the Google Sheets API, each in fewer than 40 lines of code.
  • Modules: HTTPS, MQTTS and GPS, to build a connection where no application exists.
  • Your own applications: new application modules on the SDK’s structure; see Contributing.
  • Configuration: the connection parameters in one file, config.json (Prepare Pico LTE configuration file).

Examples

Contributing

Report a problem or propose a feature as an issue in the repository, with all the details; the maintainers label it. Before you send code, read the contributing guidelines:

  • Follow PEP 8, and check the code with a Python linter before the pull request.
  • Write commit messages with the types feat, refactor, fix, docs or chore, and title the pull request the same way.
  • Make many small commits: pull requests are squashed when merged.
  • Test the change on a Pico LTE and report the result in the pull request.
  • Explain the change in the pull request: why, a feature or a fix, what it changes, what else needs a change, and the results.

To add a service as a new application, start from examples/__sdk__/create_your_own_method.py, which shows the state manager model the applications use.