2022-11-12 14:20:29 +00:00
|
|
|
# TH7
|
|
|
|
|
2023-11-22 12:14:43 +00:00
|
|
|
### Seven-channel multiple thermocouple reader and logger HAT for the Raspberry Pi.
|
2022-12-08 11:06:52 +00:00
|
|
|
|
|
|
|
This software supports the following thermocouple types:
|
2023-11-22 11:35:15 +00:00
|
|
|
|
2022-12-08 11:06:52 +00:00
|
|
|
- B
|
|
|
|
- E
|
|
|
|
- J
|
|
|
|
- K
|
|
|
|
- N
|
|
|
|
- R
|
|
|
|
- S
|
|
|
|
- T
|
|
|
|
|
|
|
|
Features not yet implemented but planned:
|
2023-11-22 11:35:15 +00:00
|
|
|
|
2022-12-08 11:06:52 +00:00
|
|
|
- More database logging options than SQLite3
|
|
|
|
- Advanced filtering, incl. user-selectable filtering stages and sample sizes
|
|
|
|
- Several logging options at once, one local, one or more remote
|
|
|
|
- Configure any setting via API call either via RESTful JSON API or GRPC
|
|
|
|
- A terminal user interface ("TUI") that may be used to remotely monitor/access/configure a TH7 (w/ auth)
|
|
|
|
- Ability to act in headless mode
|
|
|
|
- Request dumps from filter stages for noise study
|
|
|
|
- ... and more!
|
|
|
|
|
2023-11-22 12:14:43 +00:00
|
|
|
###### Note: Most thermocouples that have a coloured and a white lead, usually have the coloured one as the positive.
|
2023-11-22 11:35:15 +00:00
|
|
|
|
|
|
|

|
2023-11-22 12:14:43 +00:00
|
|
|
|
|
|
|
## Building on a Raspberry Pi
|
|
|
|
|
|
|
|
This code builds without fuss on Raspberry Pi 4 with go version go1.19.3 linux/arm
|
|
|
|
|
|
|
|
```shell
|
|
|
|
wget https://go.dev/dl/go1.19.3.linux-armv6l.tar.gz
|
|
|
|
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.19.3.linux-armv6l.tar.gz
|
|
|
|
```
|
|
|
|
|
|
|
|
edit $HOME/.profile and add the following, if not already there:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
export PATH=$PATH:/usr/local/go/bin
|
|
|
|
```
|
|
|
|
|
|
|
|
source new profile
|
|
|
|
|
|
|
|
```shell
|
|
|
|
. $HOME/.profile
|
|
|
|
```
|
|
|
|
|
|
|
|
then try to build
|
|
|
|
|
|
|
|
```shell
|
|
|
|
make
|
|
|
|
```
|