No description
  • Rust 99.9%
  • RPC 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rogier Colijn 429e337df5 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0
- Live mode (top right): the stream over a width you set, nothing kept. Capture mode:
  captures as tabs in memory (New capture, Recapture into the open one, rename, remove), the
  capture settings in the right bar.
- Plots stacked one per channel by default, own colours; merge (like with like), split,
  remove, drag a legend entry onto a plot. Full range by default, fitted on a click, or set
  per plot. Shift+wheel zooms values.
- Oversampling on the board (protocol 2: up to 16 bits; measured 1.18 → 0.07 mV noise) and a
  filter on the PC (2-pole low-pass, 1 kHz by default, or a moving average); samples kept as
  16-bit words so the filter's resolution stays.
- Relays on PA19..PA16 (measured). Zero-current setting removed (REF is at ground).
- Updates work from any protocol version; a board on older firmware is offered the new one.
- Docs: why not 350 kS/s and why no pull-downs, both measured on the board.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 18:51:34 +01:00
.cargo 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
apps/colijncm 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
colijn-core@d8c26b541d 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
crates 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0 2026-10-25 18:51:34 +01:00
docs 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0 2026-10-25 18:51:34 +01:00
firmware 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0 2026-10-25 18:51:34 +01:00
xtask 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
.editorconfig 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
.gitattributes 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
.gitignore 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
.gitmodules 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
AGENTS.md 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
Cargo.lock 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0 2026-10-25 18:51:34 +01:00
Cargo.toml 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0 2026-10-25 18:51:34 +01:00
CLAUDE.md 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
clippy.toml 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
ColijnCM - RelayBoard.md 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
README.md 0.1.1: Live and Capture modes, stacked plots, oversampling and filtering; firmware 0.2.0 2026-10-25 18:51:34 +01:00
rust-toolchain.toml 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00
rustfmt.toml 0.1.0: ColijnCM and the RelayBoard firmware 2026-10-25 14:11:58 +01:00

ColijnCM

PC software and firmware for the RelayBoard: four voltages and four currents sampled at up to 200 kS/s in total, and four relays, over USB.

  • Live: the stream as it comes, over a width you set; nothing is kept. Switch channels off to give the others more of the rate.
  • Captures, as long as the computer's memory allows, kept as tabs (rename, capture again, remove): started by hand, on a trigger (a channel crossing a level, with the samples before it), or on enable (switching relays on, timed to the exact sample by the board).
  • Signal: oversampling on the board (up to 16 bits) and a filter on the PC (a 1 kHz low-pass by default, or a moving average).
  • The ColijnSPICE plot: a plot per channel by default (merge, split, remove), full range or fitted values, box zoom (Ctrl: time only, Shift: values only), wheel zoom (Shift: values), lettered cursors with a value table and math, level cursors, the trigger level as a line you drag, Ctrl+C to copy as a picture.
  • Export to CSV, Excel and NumPy (.npy, binary).
  • Firmware updates through the app; the board's terminal mode works in any serial terminal.
  • No drivers needed on Windows, macOS or Linux (USB CDC).
cargo run --release -p colijncm      # the app (try the demo board without hardware)
cargo xtask firmware                 # build the firmware (and the copy the app installs)
cargo xtask flash                    # bootloader and firmware into a new board (debug probe)
cargo xtask ci                       # every check

Docs: protocol (Colijn Link) · firmware · handoff · colijn-core's docs/agent-guide.md for the family's rules.