RPi Control Tec via Python and CAN
This Script helps you to Control the TEC via the CAN Bus directly. It is outdated and not maintained anymore, because we have now Tessie.
There are 2 options, via the USB to CAN adapter (from seeed studio) or via the can hat for the Raspberry PI
Because we don't need it anymore, i will not further document this, but i published it because may someone want to use it to control the TEC directly
in the tec.py file are also some TEST Routines for testing the TEC and controlling it, also with logs
Install the CAN interface (for RPi CAN Hat)
Add the following line to your /boot/config.txt file:
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000
sudo reboot
pip3 install python-can
... for python module
maybe edit permissions
./resetCAN.sh
... for starting can0
Description
Languages
Python
99.5%
Shell
0.5%