All Projects → YuriiSalimov → Ntc_thermistor

YuriiSalimov / Ntc_thermistor

Licence: mit
[For Arduino and STM32] Library for working with a NTC thermistor.

Projects that are alternatives of or similar to Ntc thermistor

Tft espi
Arduino and PlatformIO IDE compatible TFT library optimised for the STM32, ESP8266 and ESP32 that supports different driver chips
Stars: ✭ 1,215 (+6294.74%)
Mutual labels:  arduino, stm32, arduino-library
Remotedebug
Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
Stars: ✭ 467 (+2357.89%)
Mutual labels:  arduino, arduino-library
Awesome Arduino
A curated list of awesome Arduino hardwares, libraries and softwares with update script
Stars: ✭ 446 (+2247.37%)
Mutual labels:  arduino, arduino-library
Guislice
GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
Stars: ✭ 534 (+2710.53%)
Mutual labels:  arduino, arduino-library
Dimswitch
Arduino library to control dimmable ballasts for fluorescent light tubes
Stars: ✭ 17 (-10.53%)
Mutual labels:  arduino, arduino-library
Arduino Foc
Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
Stars: ✭ 387 (+1936.84%)
Mutual labels:  arduino, arduino-library
Esp32 Ble Keyboard
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 533 (+2705.26%)
Mutual labels:  arduino, arduino-library
Espui
A simple web user interface library for ESP32 and ESP8266
Stars: ✭ 330 (+1636.84%)
Mutual labels:  arduino, arduino-library
Arduinojson
📟 JSON library for Arduino and embedded C++. Simple and efficient.
Stars: ✭ 5,456 (+28615.79%)
Mutual labels:  arduino, arduino-library
Brutal
Payload for teensy like a rubber ducky but the syntax is different. this Human interfaes device ( HID attacks ). Penetration With Teensy . Brutal is a toolkit to quickly create various payload,powershell attack , virus attack and launch listener for a Human Interface Device ( Payload Teensy )
Stars: ✭ 678 (+3468.42%)
Mutual labels:  arduino, arduino-library
Arduinothread
⏳ A simple way to run Threads on Arduino
Stars: ✭ 760 (+3900%)
Mutual labels:  arduino, arduino-library
Control Surface
Arduino library for creating MIDI controllers and other MIDI devices.
Stars: ✭ 377 (+1884.21%)
Mutual labels:  arduino, arduino-library
Qrcode
QR code generation library in C, optimized for low-power devices, such as Arduino.
Stars: ✭ 351 (+1747.37%)
Mutual labels:  arduino, arduino-library
Onebutton
An Arduino library for using a single button for multiple purpose input.
Stars: ✭ 418 (+2100%)
Mutual labels:  arduino, arduino-library
Rf24mesh
OSI Layer 7 Mesh Networking for RF24Network & nrf24L01+ devices
Stars: ✭ 329 (+1631.58%)
Mutual labels:  arduino, arduino-library
Watchy
Watchy - An Open Source E-Ink Smartwatch
Stars: ✭ 469 (+2368.42%)
Mutual labels:  arduino, arduino-library
Esp8266 Weather Station
ESP8266 Weather Station library supporting OpenWeatherMap, Aeris and other sources
Stars: ✭ 822 (+4226.32%)
Mutual labels:  arduino, arduino-library
Ds3232rtc
Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks
Stars: ✭ 320 (+1584.21%)
Mutual labels:  arduino, arduino-library
Heatpump
Arduino library to control Mitsubishi Heat Pumps via connector cn105
Stars: ✭ 327 (+1621.05%)
Mutual labels:  arduino, arduino-library
Arduino Homekit Esp8266
Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
Stars: ✭ 545 (+2768.42%)
Mutual labels:  arduino, arduino-library

NTC Thermistor Library

For Arduino ant STM32 boards.

The Library implements a set of methods for working with a NTC thermistor. Provides a temperature reading in Celsius, Fahrenheit and Kelvin.

Installation

  1. Download the Latest release from gitHub.
  2. Unzip and modify the Folder name to "NTC_Thermistor" (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

Connect to the analog side of an Arduino Uno. Run 5V through the thermistor, then a pull-down resistor (R0), and into ground. To measure the temperature pull a line off the junction of the thermistor and the resistor, and into an analog pin (A1 here).

Diagram

Methods

    // Instantiation:
    /**
        pin - an analog port number to be attached to the thermistor.
        R0 - reference resistance.
        Rn - nominal resistance.
        Tn - nominal temperature in Celsius.
        B - b-value of a thermistor.
    */
    NTC_Thermistor thermistor(pin, R0, Rn, Tn, B);

    // Read a temperature in Celsius.
    double celsius = thermistor.readCelsius();
    // Read a temperature in Kelvin.
    double Kelvin = thermistor.readKelvin();
    // Read a temperature in Fahrenheit.
    double fahrenheit = thermistor.readFahrenheit();
    // For older devices.
    double farenheit = thermistor.readFarenheit();

Examples

Serial Reading

Average Measurement

Smooth Measurement

STM32...

All examples...

Created by Yurii Salimov.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].