Skip to content

Commit

Permalink
Added a README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
suoapvs committed Feb 1, 2018
1 parent 6aef40c commit 7620c47
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Binary file added MAX6675_K_Type_Thermocouple.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions README.md
@@ -0,0 +1,42 @@
# MAX6675 Thermocouple Library

For Arduino boards.

The Library implements a set of methods for working with a thermocouple based on the MAX6675 driver.
Provides a temperature reading in Celsius, Fahrenheit and Kelvin.

## Installation

1. [Download](https://github.com/YuriiSalimov/MAX6675_Thermocouple/releases) the Latest release from gitHub.
2. Unzip and modify the Folder name to "MAX6675_Thermocouple" (Remove the '-version')
3. Paste the modified folder on your Library folder
(On your `libraries` folder inside Sketchbooks or Arduino software).
4. Restart the Arduino IDE.

## Circuit Diagram

![Circuit Diagram](MAX6675_K_Type_Thermocouple.png)

## Methods

```
/**
SCK_PIN - SCK digital port number.
CS_PIN - CS digital port number.
SO_PIN - SO digital port number.
*/
MAX6675_Thermocouple thermocouple(SCK_PIN, CS_PIN, SO_PIN);
// Read a temperature in Celsius.
thermocouple.readCelsius();
// Read a temperature in Kelvin.
thermocouple.readKelvin();
// Read a temperature in Fahrenheit.
thermocouple.readFahrenheit();
// For older devices.
thermocouple.readFarenheit();
```

Created by Yurii Salimov.

0 comments on commit 7620c47

Please sign in to comment.