3-phase PV router
Loading...
Searching...
No Matches
utils_temp.h File Reference

Provides utilities for managing temperature sensors. More...

#include <Arduino.h>
#include "constants.h"
#include "config.h"
Include dependency graph for utils_temp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DeviceAddress
 Structure representing the address of a device. More...
 

Detailed Description

Provides utilities for managing temperature sensors.

Author
Frédéric Metrich (frede.nosp@m.ric..nosp@m.metri.nosp@m.ch@l.nosp@m.ive.f.nosp@m.r)

This file defines the TemperatureSensing class, which handles temperature sensing using DS18B20 sensors. It includes functions for initializing sensors, reading temperatures, and managing sensor addresses.

  • Sensor Initialization: Initializes the OneWire bus and requests temperature readings.
  • Temperature Reading: Reads and validates temperature data from sensors.
  • Error Handling: Handles disconnected or out-of-range sensors.
Version
0.1
Date
2023-02-09

Definition in file utils_temp.h.