Skip to main content

CraftBeerPi4 PT100/PT1000 Sensor Plugin

Project description

Craftbeerpi4 Plugin for PT100/PT1000 Sensor

PT100 / PT1000 probes using a max31865 chip. for wiring go to https://github.com/thegreathoe/cbpi-pt100-sensor/ updated 8/2/17

You can select the conversion mode and number of wires on your probe in software. You will need to select a setting to get the probe working after an update.

You will need to set the reference resistors on the craftbeerpi hardware page! My max31865 chip uses a 4,3 kohm resistor for the PT1000. It might be 430 ohm for a PT100 board

Using a max31865 board like: https://learn.adafruit.com/adafruit-max31865-rtd-pt100-amplifier/

Software installation:

Hardware Installation:

  • on your pi use the following GPIO pins:
  • csPin = 8 this one can be any GPIO you want, if using multiple probes you change this on each one, but keep the other 3 pins the same
  • misoPin = 9
  • mosiPin = 10
  • clkPin = 11

The code for the request to the max chip is from https://github.com/steve71/MAX31865 so all credit really goes there... i slightly modified the code from the craftbeerpi v3 plugin(https://github.com/thegreathoe/cbpi-pt100-sensor) to allow also the usage of tha PT1000 and added some other parameters.

Changelog:

  • 08.12.21: (0.1.1) Removed resampling as it caused issues with respect to long term stability (sensor unresponsivness)
  • 01.12.21: (0.1.0) Improved handling of resampling in case of issues (test)
  • 01.11.21: (0.0.11) Experimental update under development branch: Read another sample if delta between two values is too high
  • 10.06.21: (0.0.10) Calculating average of 2 subsequent values.
  • 29.05.21: (0.0.9) Added filter function to filter out outliers
  • 14.04.21: (0.0.8) Adaption for properties (updated dataclass.py in cbpi)
  • 09.04.21: (0.0.7) Fix in offset handling in case value is not None but empty
  • 15.03.21: (0.0.6) Change to supprt cbpi >= 4.0.0.31
  • 20.02.21: (0.0.4) Change to support cbpi >= 4.0.0.24. Added sensor log fucntionality
  • 14.02.21: (0.0.3) Updated function to retrieve temperature unit. Units will be changed automatically for sensor when settigs saved properly. No need to update the sensor
  • 09.02.21: (0.0.2) Added offset parameter and changed the GPIO.setmode. Currnetly, warnings are displayed during startup of CBPi. However, they cause typically no issues
  • 05.02.21: (0.0.1) Adpated code to run under cbpi4

Old versions:

  • CBPi3
  • 7/20/20:: Added PT1000 functionality. This can be selected in the setup of the sensor. Added also parameters such as offset, low and high vaule filter that are comparable to the OneWireSensor plugins. PT1000 (2-wire) is for instance used in the Speidel Braumeister 20 / 50 and can be read out directly with this plugin. There is no need to change the sensor or the thermowell for these devices.
  • 8/2/17:: Pascal has been working on a pretty nice update which allows you to select the number of wires used on your probe in software... you still need to sever traces or solder jumpers on the board! He has also been added as a contributer
  • 7/2/17:: Verified with Pascal Fouchy that it is working on multiple sensors at once, and i have added the ability to change the reference resistor value from the craftbeerpi hardware page

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbpi4-pt100x-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file cbpi4-pt100x-0.1.1.tar.gz.

File metadata

  • Download URL: cbpi4-pt100x-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for cbpi4-pt100x-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0cae2e3676fd60ddbdebe00bcf17f5338e1c9a395564a180b3ed6955225ad96b
MD5 ed16dc1711346a211e39762b9581c312
BLAKE2b-256 4700a18564c32ddadc3c0522cc023b72fdda7c36a2d1fd1e99befa22ce90bc0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page