Kelvin

A four-channel thermocouple logger that records to its own microSD card. Read one from the bench, or several at once from your phone.

What it is

An ESP32 with up to four K-type thermocouples, a small colour display and a microSD card. It shows the live temperatures on its own screen, records runs to the card, and serves the same data over Bluetooth, its own Wi-Fi access point, and your home network — so it is useful whether or not anything else is switched on.

Download

Android app
kelvin.apk
Windows app
KelvinSetup.exe
Node — first flash
kelvin-node-factory.bin
Node — update only
kelvin-node.bin

The Android app is signed with the project key and installs as an unknown source. The Windows installer is unsigned, so SmartScreen shows an "unknown publisher" prompt the first time — code signing costs more than this project justifies.

The Windows app can also reach a node down a USB-C cable, which needs no network at all — useful on a bench with no Wi-Fi, or for a node whose stored credentials are wrong. Close any serial monitor or flashing tool first: a port is one conversation.

Which node image?

FileContainsWrite toUse when
kelvin-node-factory.bin Bootloader, partition table, OTA selector and the application 0x0 The board has never run Kelvin
kelvin-node.bin The application only 0x10000, or over the air Updating a node that already works

Flashing kelvin-node.bin to a blank board leaves it dead — there is no bootloader in front of it. If you are unsure, the factory image is always safe: it rewrites everything.

First flash

Over USB-C, once. Everything after this can go over the air from the app.

This browser cannot flash — it has no Web Serial API. Use Chrome or Edge on a desktop, or the command-line method below. Flashing needs a secure connection. Open this page over https.

Plug the board in, click the button, pick its serial port from the list, and let it erase and write. Nothing to install. Chrome or Edge on a desktop only — Firefox, Safari and every mobile browser lack the Web Serial API this uses.

Or on Windows, one script

flash-kelvin.bat

Put it in a folder of its own and double-click it. It fetches esptool once, checks the firmware image against the published checksum on every run so it always writes the current release, finds the board's COM port, and flashes it. If more than one port looks plausible it lists them with their device names, so a CH340 is easy to tell from a Bluetooth port that also calls itself COM.

To skip the search, pass the port: flash-kelvin.bat COM9. To wipe the chip first — settings and stored samples included — add /erase.

Or from a terminal

pip install esptool

esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 \
           write_flash -z 0x0 kelvin-node-factory.bin

Port is /dev/ttyUSB0 on Linux, COMx on Windows, /dev/cu.usbserial-* on macOS. The board uses a CH340 USB-serial chip, which needs a driver on Windows and older macOS — if no port appears at all, that is why. If the flash refuses to start, hold BOOT, tap EN, release BOOT, and run it again.

Flashing wipes the node's settings and its stored samples. To keep a node's logs, pull them from the app first.

Getting started

  1. Power the node. Its display shows the name of the Wi-Fi network it is broadcasting and the password.
  2. Join that network from your phone, open the app, and connect to 192.168.4.1.
  3. On the Node tab, give it your home Wi-Fi details. It stays reachable on its own network either way.
  4. After that it answers to kelvin.local from anywhere on your LAN.