alert-me/display/README.md

1.3 KiB

Alert-Me Display

A simple application for an nRF52840 microcontroller using embassy.

It consists of multiple parts:

  • Configuration interface leveraging BLE
  • Connect to WiFi in order subscribe to a configured MQTT topic
  • Show information on an LCD screen

This is a learning environment, not a finished product.

Development

Nix

If using the nix way as described in the top-level readme, no further dependencies need to be installed.

Manual Way

In addition to the top-level readme dependencies, the following has to be installed:

Softdevice

The softdevice blob is not distributed with this repository for licensing reasons (even though my understanding is that it is possible).

Download the S140 Softdevice and flash it to your chip.

Example command to flash the softdevice

probe-rs download --verify --format hex --chip nRF52840_xxAA ./s140_nrf52_7.3.0_softdevice.hex

Running

Verify that the microcontroller is recognized by running probe-rs list.

A simple cargo run will then connect to it and upload the code. Logging output should be visible.