Device::Chip::MAX31855 - chip driver for MAX31855 thermocouple amplifier
use Device::Chip::MAX31855; my $chip = Device::Chip:MAX31855->new; $chip->mount(Device::Chip::Adapter::...->new)->get; my $temp = $chip->read_thermocouple()->get;
Device::Chip::MAX31855 communicates with the MAX31855 SPI thermocouple amplifier.
The MAX31855 is a digital thermocouple amplifier and converter containing a thermocouple measurement circuit, cold junction compensator, and digital SPI interface. It provides temperature measurements of an attached K-type thermocouple and the local cold junction sensor, and can detect faults such as open circuit and short to ground (reading faults is not implemented yet).
Returns the termperature of the attached thermocouple in degrees Celsius.
Returns the temperature of the local (cold) junction in degrees Celsius.
Stephen Cavilia <sac+cpan@atomicradi.us>
To install Device::Chip::MAX31855, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Chip::MAX31855
CPAN shell
perl -MCPAN -e shell install Device::Chip::MAX31855
For more information on module installation, please visit the detailed CPAN module installation guide.