In the latest OS for R Pi you are forced to use the virtual environment. For the long explanation:
https://peps.python.org/pep-0668/
The solution for Thonney development environment users:
(1) Create the virtual environment in thonney:
make a new, clean folder somewhere
switch to...
16 relay board
I can run the C test program - all LED's light in sequence. I can run python in my virtual environment from the command line and import SM16relind works. I can't get it to import in Thonny. I have referenced the python3.11 program correctly. What am I missing?
I then connected 10 M (30 ft) of TC wire to a TC and to the board - works. So apparently, the panel connection strip is the problem. (Just twisted TC extension wire and TC wire together. No screws, solder, etc.)
Further experimentation: If I use a commercially available 6 foot extension cable (comes with M/F plugs), remove the F plug, connect to the board, plug into TC on other end, I get good readings. But the panel plugs wired with commercially available type K cable gives the errors mentioned earlier.
I have everything connected, good response, but the K type thermocouple readings show a significant offset from actual temperature, say 15 degrees F. I am using thermocouple wire from the jacks to the board. Jacks are K type. Polling the boards shows type 3 which should be correct. Any...
Thermocouple board - Is there a way to know if a thermocouple is connected to a thermocouple? I have a project with panel mounted plugs (8 total) and it would be nice to have a way to know if there is a thermocouple plugged in? (Plugs are connected the hat)