Software
Overview
The solar tracker's firmware has a fairly comprehensive set of serial I/O features. All of them can be reached over a USB connection from the Arduino IDE's Serial Monitor or any other terminal program, such as CoolTerm.
I then discovered Node-RED, and that led me to build a single tool that combines the conventional serial monitor with record-to-file session logs, telemetry widgets and the project documentation, including a glossary and a function reference.
The Application
The tool, SolarTracker Dashboard, is a Node-RED application packaged as a Windows executable with Electron. It runs on Windows 10 and 11 (64-bit), and the flow and its runtime are packaged inside it, so Node-RED does not need to be installed separately. It is a large file (approximately 400MB), which I put down to the dependencies it has to carry. It is not available yet: I intend to make it available once the project has been proven.
Install
A standard Windows EXE installer, for one user or for everyone on the computer. The install folder can be chosen.
Getting Started
The first window provides a short orientation to the layout and operation of the application.
Terminal Session
A serial monitor for the connected tracker. It streams the firmware's output and sends commands. Lines are colour-coded by severity, so normal status, warnings, faults and boot messages are easy to tell apart. The whole session can be recorded to a file.
The connection looks after itself. The application checks the available COM ports every few seconds and recognizes the tracker by its USB identity, so there is no port to choose. Plugging in, unplugging or moving to another port is handled automatically, and a banner shows the connection state: not connected, connected, reconnecting or switching port. After an unplug, allow about 30 seconds for it to settle. Returning to the Terminal Session from another page replays the tracker's last boot, marked with start and end lines so it is never mistaken for live output.
Session Logs
A viewer for the recorded sessions. Logs are plain text files with a timestamp on every line, each line tagged as sent (TX) or received (RX), and each file is named for the moment recording started. They are generally kept in the Documents folder, so they can also be opened outside the application. In the viewer, logs can be browsed, searched and filtered by severity and time range. Search ignores case, a minus sign excludes a term, and quick-pick chips cover common terms. A session still being recorded can be watched as it grows, refreshing every few seconds. Nothing is deleted automatically: Logs are removed one at a time or in bulk by date range.
Telemetry
Live widgets for the tracker's basic states, updating as data arrives: battery voltage, GPS satellite count, wind speed, and enclosure temperature and humidity. The battery gauge is colour-banded to the firmware's own safety thresholds, the wind gauge to the wind-stow limit, and the GPS count to low, moderate or high. Four trend charts show the last hour of battery voltage, GPS accuracy, wind and humidity. Ten status tiles cover system conditions such as operating mode, faults, wind stow, FRAM, GPS, the OLED and the I2C bus. The telemetry view is read-only.
Documentation
The application also carries the project's reference material: the documents described on the Documentation page, plus the glossary and a function reference. All of it is written and maintained with the firmware project and copied into the application, which only displays it, so the guidance is on hand while operating.
Glossary
Plain-language definitions of the electronics and embedded-programming terms used across the firmware and documentation, with a pointer to the deeper reference where there is one. It is there so that the references, and the firmware's own comments, make sense to someone meeting the vocabulary for the first time.
In Practice
Apart from compiling and uploading the INO file with the Arduino IDE, since building the application, I have used no other tool for serial I/O or for operating the firmware.