Skip to main content

Programming

This guide describes how to program the FoBE Quill nRF52840 Mesh.

Arduino

If you use the Arduino IDE for programming, please see Quick Start - Setup the board.

The following describes how to program the FoBE Quill nRF52840 Mesh with Arduino using PlatformIO.

Install PlatformIO

You can follow the official guide of PlatformIO to complete the installation.

Add Platform repository

  1. Open the PlatformIO Home and navigate to Platforms.
  2. Click "Advanced Installation" button.
  3. Input the git repository URL https://github.com/fobe-projects/fobe-nrf52-platformio.git#develop then click "Install" button, and wait for the installation to complete.

2025-07-19-02-24-59.png

Or you can use the pio command line tool to install:

pio pkg install --platform https://github.com/fobe-projects/fobe-nrf52-platformio.git#develop

Create a new project

  1. Open the PlatformIO Home and navigate to Projects.
  2. Click "New Project" button.
  3. Input the project name, select the board "FoBE Quill nRF52840 Mesh", and select the framework "Arduino".
  4. Click "Finish" button, waiting for the project created.

2025-07-19-02-04-49.png

  1. Open the src/main.cpp file and write your code.

2025-07-19-02-24-07.png

  1. Click the "Upload" button to compile and upload your code.

2025-07-19-02-25-52.png

MicroPython

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

To flash and run the MicroPython onto your device, please refer to the instructions in Platform MicroPython.

CircuitPython

CircuitPython is a version of Python designed to run on microcontrollers. It is based on MicroPython and includes additional features and libraries to simplify experimentation and learning.

To flash and run the CircuitPython onto your device, please refer to the instructions in Platform CircuitPython.

Zephyr

The Zephyr OS is based on a small-footprint kernel designed for use on resource-constrained and embedded systems: from simple embedded environmental sensors and LED wearables to sophisticated embedded controllers, smart watches, and IoT wireless applications.

To start the Zephyr firmware project onto your device, please refer to the instructions in Platform Zephyr - Install.

info

Project Board ID for FoBE Quill nRF52840 Mesh

  • quill_nrf52840_mesh