CircuitPython scripts for the UV-Control board (Adafruit ItsyBitsy nRF52840
Express with an SSD1306 OLED). These are experiments from 2024, imported as-is
from uv-water.
Bring-up code for the v0.4 board (Pro Micro nRF52840, ADS1115, ST7789 TFT) is
in v0.4/.
- Install CircuitPython 8.x or 9.x on the ItsyBitsy. The bundled libraries
are
.mpyformat 6, which those versions use. - Copy
lib/toCIRCUITPY/lib/. - Copy the script you want to
CIRCUITPY/code.py, e.g.measure.py.
| Path | What it is |
|---|---|
*.py |
board scripts: display tests (simpledisplay.py, border.py, ...) and measurement variants (measure.py, fastmeasure.py, kbmeas.py, moving_measure.py, ...) |
serialreader.py |
runs on a computer, not the board: reads the board's serial output (needs pyserial) |
font5x8.bin |
font file loaded by adafruit_framebuf, used through adafruit_ssd1306 (e.g. simpledisplay.py). Copy it to the board as well. |
lib/ |
Adafruit CircuitPython libraries, compiled .mpy |
data.txt, *_noise*.txt, exp_aug_17/ |
measurement logs |
lib/ holds compiled libraries from the
Adafruit CircuitPython Bundle,
which are MIT-licensed by Adafruit Industries. Several scripts started from
Adafruit examples and keep their SPDX-License-Identifier: MIT headers. To
refresh the libraries instead of using these copies, use
circup.
The firmware is licensed under the MIT License. The hardware in this repository is under CERN-OHL-S-2.0 (see the top-level LICENSE).