PH4502C-Sensor
Loading...
Searching...
No Matches
ph4502c_sensor.h File Reference

Arduino Library for PH4502C Sensor. More...

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

Go to the source code of this file.

Classes

class  PH4502C_Sensor
 Class for interfacing with the PH4502C pH sensor. More...
 

Macros

#define PH4502C_DEFAULT_CALIBRATION   14.8f
 Default calibration value for the PH4502C sensor.
 
#define PH4502C_DEFAULT_READING_INTERVAL   100
 Default reading interval (in milliseconds) between pH readings.
 
#define PH4502C_DEFAULT_READING_COUNT   10
 Default number of pH readings to average.
 
#define PH4502C_DEFAULT_ADC_RESOLUTION   1024.0f
 Default ADC resolution for the PH4502C sensor.
 
#define PH4502C_VOLTAGE   5.0f
 Operating voltage for the PH4502C sensor.
 
#define PH4502C_MID_VOLTAGE   2.5f
 Voltage that represents a neutral pH reading (pH = 7).
 
#define PH4502C_PH_VOLTAGE_PER_PH   0.18f
 Rate of change in voltage per unit change in pH.
 

Detailed Description

Arduino Library for PH4502C Sensor.

This comprehensive Arduino library allows you to interface with the PH4502C sensor for pH and temperature measurements. The library offers extensive calibration options and flexible configuration to suit various applications.

Definition in file ph4502c_sensor.h.

Macro Definition Documentation

◆ PH4502C_DEFAULT_ADC_RESOLUTION

#define PH4502C_DEFAULT_ADC_RESOLUTION   1024.0f

Default ADC resolution for the PH4502C sensor.

Definition at line 27 of file ph4502c_sensor.h.

◆ PH4502C_DEFAULT_CALIBRATION

#define PH4502C_DEFAULT_CALIBRATION   14.8f

Default calibration value for the PH4502C sensor.

Definition at line 18 of file ph4502c_sensor.h.

◆ PH4502C_DEFAULT_READING_COUNT

#define PH4502C_DEFAULT_READING_COUNT   10

Default number of pH readings to average.

Definition at line 24 of file ph4502c_sensor.h.

◆ PH4502C_DEFAULT_READING_INTERVAL

#define PH4502C_DEFAULT_READING_INTERVAL   100

Default reading interval (in milliseconds) between pH readings.

Definition at line 21 of file ph4502c_sensor.h.

◆ PH4502C_MID_VOLTAGE

#define PH4502C_MID_VOLTAGE   2.5f

Voltage that represents a neutral pH reading (pH = 7).

Definition at line 33 of file ph4502c_sensor.h.

◆ PH4502C_PH_VOLTAGE_PER_PH

#define PH4502C_PH_VOLTAGE_PER_PH   0.18f

Rate of change in voltage per unit change in pH.

Definition at line 36 of file ph4502c_sensor.h.

◆ PH4502C_VOLTAGE

#define PH4502C_VOLTAGE   5.0f

Operating voltage for the PH4502C sensor.

Definition at line 30 of file ph4502c_sensor.h.