Dashboards
So far every tutorial has driven the board with hardware (buttons, sensors) or watched it through the serial console and plotter. A Dashboard lets you build your own on-screen control panel: buttons, toggles, sliders, numeric fields and indicator LEDs that talk to a running board in real time — no upload required to change a value.
A dashboard is a third kind of sheet, alongside the normal flow sheets and the wiring sheet. Instead of wiring modules together, you drop widgets onto a free-form canvas and point each one at a module in your design.
The dashboard talks to the board over the same live link the rest of the IDE uses (USB or Bluetooth Low Energy). It does not generate or change firmware — it sends commands to firmware that is already running. Make sure your project is uploaded first.
Adding a Dashboard sheet
From the menu, choose Sheets → Add Dashboard (or the + next to the sheet tabs and pick Dashboard). A new tab appears after the wiring sheet, showing an empty dark canvas instead of the usual wiring grid.
You can have one dashboard per project. Switch to it like any other sheet by clicking its tab.
Widgets
Widgets live in their own palette categories (shown only while a dashboard sheet is active). Drag one from the palette onto the canvas, then double-click it — or right-click → Edit — to configure it in the sidebar.
| Widget | Purpose |
|---|---|
| Button | Momentary control — sends one value while pressed, another on release. |
| Toggle | Sticky on/off switch — sends an on value or an off value and remembers its state. |
| Slider | Drag to set a value within a range; sends on every change. |
| Number | Type or step a precise number; sends it, with optional unit conversion. |
| Number Selector | Like Number, but the user picks from a fixed dropdown of preset values instead of typing. |
| Number Display | Read-only formatted value with an optional unit suffix — polls a module output / parameter. |
| Led | Read-only indicator — polls a value from the board and tints itself between two colours. |
| Graph | Read-only real-time time-series — polls a value at a configurable rate and plots it on a scrolling chart. |
What a widget sends — the Action
Every control widget has an Action that decides what kind of command it dispatches to its target module. These map one-to-one to the runtime commands the IDE already uses:
| Action | Effect on the target |
|---|---|
| SetInput | Feeds a value into one of the module's inputs (as if a wire delivered it). |
| SetOutput | Forces one of the module's outputs. |
| SetParam | Changes a runtime parameter live (e.g. a Software Timer's frequency). Not saved. |
| SetAndSaveParam | Same as SetParam, but also persists the new value to the board's storage so it survives a reset. |
You then pick the Target node (any module in your project) and the index (which input / output / parameter on that target — the label changes to Input index, Output index or Param index to match the Action).
SetParam / SetAndSaveParam target a module's runtime parameters — the same fields you set in its edit dialog (a Software Timer's Frequency, a Range module's bounds, etc.). This is how you tune a live board from a slider or a number field.
Common options
Every widget also has:
- Color — the accent colour (button background, slider tint, toggle fill…). A live colour picker updates the canvas as you drag.
- Comment — a tooltip shown when you hover the widget in the dashboard viewer.
Button
| Option | Meaning |
|---|---|
| Press value | Value dispatched while the button is held (default 255). |
| Release value | Value dispatched when released (default 0). |
A Button is ideal for a SetInput to a Software Timer's reset input, a one-shot trigger, momentary jog controls, and so on.
Toggle
| Option | Meaning |
|---|---|
| On value | Value sent when switched on (default 255). |
| Off value | Value sent when switched off (default 0). |
The toggle fills with the accent colour when on, and is outlined when off. Its state is remembered with the project.
Slider
| Option | Meaning |
|---|---|
| Min / Max | Range of the slider. |
| Step | Increment (integer or fractional). |
The slider dispatches continuously as you drag. Internally the rapid stream of values is rate-limited so it never floods the link.
Number
A typed numeric field with a Send button (Enter also sends). Beyond Min / Max / Step it adds two things:
| Option | Meaning |
|---|---|
| Value type | Raw (sent as-is), Frequency (display in Hz/kHz/mHz, firmware always receives Hz), or Period (display a period in µs/ms/s/mn, firmware receives the equivalent frequency 1 / period). |
| Unit | The unit shown next to the field; the choices follow the Value type. |
| Digits | Number of decimals the displayed value is rounded to. |
The Period value type is handy with a Software Timer: think "blink every 20 ms" and let the widget send the matching frequency.
Number Selector
Same dispatch as Number — pick an Action (SetInput / SetOutput / SetParam / SetAndSaveParam), a Target node and an index — but instead of typing a value the user picks one from a dropdown of preset options. The list is configured in the edit dialog as one option per line, in either form:
| Line format | Effect |
|---|---|
123 | Value 123, shown in the dropdown as 123. |
123=Slow | Value 123, shown in the dropdown as Slow. |
0.5=Half | Floats work too. |
Typical use: a Software Timer between named frequencies, a stepper between named gears, a Range output between coarse / medium / fine modes — anywhere the user shouldn't be typing arbitrary numbers.
Number Display
Read-only counterpart to Number. Like the Led it has a Source (GetOutput or GetParam), a Target node and an index; instead of a colour it shows the value as a formatted number:
| Option | Meaning |
|---|---|
| Source | GetOutput or GetParam. |
| Refresh (ms) | Poll period (default 500). |
| Digits | Decimals the value is rounded to. |
| Unit | Optional suffix (°C, mm, V, kg, …). |
| Color | Colour of the value text. |
Perfect for live sensor readouts — a DS18B20 temperature, an HX711 weight, an AS5600 angle, an ADC voltage.
Graph
Read-only real-time chart, same Dygraph engine used by board_manager.html and the IDE's plotter. Same Source / Target / index as Display, with a few chart-specific options:
| Option | Meaning |
|---|---|
| Source / Target / index | What to read. |
| Refresh (ms) | How often a new sample is fetched (default 200). |
| Window (s) | How many seconds of history are kept on screen — older samples scroll off. |
| Auto Y | Autoscale the Y axis to the live data. |
| Y min / Y max | Used when Auto Y is off — useful for keeping several Graph widgets on the same scale. |
| Color | Trace colour. |
Single channel per widget; drop several Graph widgets side by side for multi-variable plots.
Led
A read-only indicator. Instead of an Action it has a Source:
| Option | Meaning |
|---|---|
| Source | GetOutput (read a module output) or GetParam (read a runtime parameter). |
| Target node / index | Which module and which output/param to read. |
| Min / Max | Values mapped to the off and on colours. |
| Off color / On color | The LED tint is interpolated between these as the value moves from Min to Max. |
| Refresh (ms) | How often the value is polled (default 500). |
The Led colour is interpolated smoothly, so it works as a simple bar-graph-in-a-dot as well as an on/off lamp.
Connecting the board for live control
Widgets only do something when a board is connected. Select your board in the connection dropdown at the top of the window — exactly as you would before an upload:
- USB — over the Board Server, or directly through the browser (WebHID / Web Serial).
- Bluetooth Low Energy — pick + Add BLE board… to pair a board exposing the Nordic UART service. Once paired it appears in the dropdown like any other board.
Your project must contain a NodeBlue Interface so the board can receive these commands. On most boards one is added automatically (the HID/serial config interface); you can also place an explicit interface module and wire it.
For BLE, the board's firmware must run a BLE UART (the nBLEuart module) wired to a NodeBlue Interface. The IDE keeps the link alive in the background so the dashboard stays responsive.
Reading values back from the board
A dashboard isn't only one-way. When you open it, widgets that read values fetch the current state from the running board:
- Number and Slider widgets set to SetParam / SetAndSaveParam issue a GetParam on load and display the board's actual value — so a freshly-opened dashboard reflects reality, not the last value you happened to type.
- Led widgets poll continuously (GetOutput or GetParam) at their refresh rate.
For read-back to work, two things must be true on the firmware side:
- The board must be able to reply — the NodeBlue Interface output has to be wired back to the transport (for BLE, the interface output →
nBLEuart). Sending alone (SetParam, button presses) only needs the inbound direction. - The target module must support the read — it has to answer
GetParam/GetOutput. Stock modules that expose runtime parameters (Software Timer's frequency, mode and period count, for example) answerGetParam; modules with outputs answerGetOutput.
If the board is offline, or a target doesn't answer, the widget simply keeps its last value (and a one-line note is logged to the info pane). Nothing breaks — read-back is best-effort.
Editing the dashboard
The dashboard canvas behaves like the flow canvas, with conveniences for laying widgets out:
- Move — drag a widget. Resize — drag a corner handle.
- Select — click a widget; Shift-click or drag a rubber-band box to select several.
- Align — right-click a multi-selection for Align Left / Right / Center H / Top / Bottom / Center V.
- Copy / Cut / Paste —
Ctrl-C/Ctrl-X/Ctrl-V, or the right-click menu. Pasted widgets land slightly offset and stay selected. - Delete —
Deletekey or the right-click menu. - Undo / Redo —
Ctrl-Z/Ctrl-Y, including moves, resizes and alignments.
Clicking a widget also loads it into the Edit sidebar tab (if that tab is open), so you can adjust the last-clicked widget without reopening the dialog each time. Clicking empty canvas clears the Edit tab.
Sharing a dashboard: the Viewer
Once a dashboard is built, you can open a clean, full-screen version with no editor chrome via View → Dashboard Viewer (it opens in a new tab, carrying the current project's id). The viewer hides the palette, sidebars and most of the toolbar — keeping only the board selector, the light/dark theme toggle and the language picker — and makes the widgets non-editable but fully interactive.
Who can open it depends on the project's sharing setting:
- A project flagged Public can be opened by anyone with the link.
- Otherwise the viewer requires the project's owner (or an admin) to be logged in.
The viewer uses the exact same live link as the editor, so a phone or tablet pointed at the URL becomes a remote control for the board.
That wraps up the core NodeBlue tutorials. From here, explore the module groups — logic, math, communication, sensors, audio and more — each covered in its own tutorial.