filmov
tv
Arduino EGT Sensor | Max 31855 Thermocouple Board
Показать описание
Today I walk you through how to setup and use the Max 31855 with a K-Type thermocouple that could be used as an EGT probe in a vehicle. This super simple setup is cheap and effective. You could display these values to an LCD or OLED screen in a vehicle. This is part of the larger project that I am working on my truck.
Stay tuned for more videos!
Tyler,
*************************************************************************************
SUBSCRIBE:
*************************************************************************************
*************************************************************************************
BUY THE ITEMS IN THIS VIDEO (AMAZON.COM):
Video Equipment:
Parts & Tools:
*************************************************************************************
BUY THE ITEMS IN THIS VIDEO (AMAZON.CA):
Video Equipment:
Parts & Tools:
**************************************************************************************
CONTACT ME:
**************************************************************************************
Code Start: /*
/***************************************************
This is an example for the Adafruit Thermocouple Sensor w/MAX31855K
Designed specifically to work with the Adafruit Thermocouple Sensor
These displays use SPI to communicate, 3 pins are required to
interface
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, all text above must be included in any redistribution
****************************************************/
#include "SPI.h"
#include "Adafruit_MAX31855.h"
// Default connection is using software SPI, but comment and uncomment one of
// the two examples below to switch between software SPI and hardware SPI:
// Example creating a thermocouple instance with software SPI on any three
// digital IO pins.
#define MAXDO 3
#define MAXCS 4
#define MAXCLK 5
// initialize the Thermocouple
Adafruit_MAX31855 thermocouple(MAXCLK, MAXCS, MAXDO);
// Example creating a thermocouple instance with hardware SPI
// on a given CS pin.
//#define MAXCS 10
//Adafruit_MAX31855 thermocouple(MAXCS);
void setup() {
while (!Serial) delay(1); // wait for Serial on Leonardo/Zero, etc
// wait for MAX chip to stabilize
delay(500);
}
void loop() {
// basic readout test, just print the current temp
if (isnan(c)) {
} else {
}
delay(1000);
}
*/ Code End
Stay tuned for more videos!
Tyler,
*************************************************************************************
SUBSCRIBE:
*************************************************************************************
*************************************************************************************
BUY THE ITEMS IN THIS VIDEO (AMAZON.COM):
Video Equipment:
Parts & Tools:
*************************************************************************************
BUY THE ITEMS IN THIS VIDEO (AMAZON.CA):
Video Equipment:
Parts & Tools:
**************************************************************************************
CONTACT ME:
**************************************************************************************
Code Start: /*
/***************************************************
This is an example for the Adafruit Thermocouple Sensor w/MAX31855K
Designed specifically to work with the Adafruit Thermocouple Sensor
These displays use SPI to communicate, 3 pins are required to
interface
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, all text above must be included in any redistribution
****************************************************/
#include "SPI.h"
#include "Adafruit_MAX31855.h"
// Default connection is using software SPI, but comment and uncomment one of
// the two examples below to switch between software SPI and hardware SPI:
// Example creating a thermocouple instance with software SPI on any three
// digital IO pins.
#define MAXDO 3
#define MAXCS 4
#define MAXCLK 5
// initialize the Thermocouple
Adafruit_MAX31855 thermocouple(MAXCLK, MAXCS, MAXDO);
// Example creating a thermocouple instance with hardware SPI
// on a given CS pin.
//#define MAXCS 10
//Adafruit_MAX31855 thermocouple(MAXCS);
void setup() {
while (!Serial) delay(1); // wait for Serial on Leonardo/Zero, etc
// wait for MAX chip to stabilize
delay(500);
}
void loop() {
// basic readout test, just print the current temp
if (isnan(c)) {
} else {
}
delay(1000);
}
*/ Code End
Комментарии