I have no experience with any pH circuit other than from Atlas Scientific.
You can use any cheap pH circuit compatible with Arduino but you have to adjust Ferduino code by yourself.
The only help you will get from me about this part is available here
Just pay attention that the variable "Stamps" doesn't exists anymore. Instead you should comment out this two variables:
// #define STAMPS_EZO
-- Tue Jun 22, 2021 3:00 pm --
A little bit more of information since code structure has changed.
To edit the code you should use Atom or VSCode with PlatformIO extension.
Here you can find a tutorial to work with Atom.
To add the function void readPh()
you should create a new file like "my_pH_Circuit.h" inside of Modules
Then in the end of Ferduino_Aquarium_Controller.cpp
This variables can be placed in Configuration.h
#define SensorPin A0 //pH meter Analog output to Arduino Analog Input 14
#define Offset 0.00 //deviation compensate
int pHArray; //Store the average value of the sensor feedback
int pHArrayIndex = 0;
unsigned long samplingTime = 0;
unsigned long samplingTime1 = 0;
byte samples = 0;