HAICU Teensy Control
Code to run on the teensys used for flow and temperature measurement
Loading...
Searching...
No Matches
HAICU teensy_software

This is the codebase to run on the teensys used for flow and temperature measurement, as well as python clients to run on the server.

Full documentation here.

Requirements

Confirmed to run on teensy 4.1. Requires

Firmware

The code that runs directly on the teensy boards is found in the firmware directory. It is compiled and uploaded with Arduino IDE over USB.

Frontends

The teensy code does simple network communication on a UDP port, the python frontends in the frontend directory exchange information through that port.

Installation/Usage

This code itself does not need to be installed, but the MIDAS python bindings do. This probably requires a virtual environment, see Midas documentation for more.

Once the teensy code has been uploaded to the device, it runs continuously. The fe*_multi frontends will each add 5 MIDAS equipments connecting to the five teensys on a given board. Note that on first execution the frontends will enter a placeholder hostname in the ODB, which must be edited by hand.