In file included from sketch_may23a.cpp:43:C:\Users\Ashley Harwood\Desktop\arduino-1.0\libraries\EEPROMEx/EEPROMEx.h:23:20: error: EEPROM.h: No such file or directorysketch_may23a:45: error: no matching function for call to 'ITDB02::ITDB02(int, int, int, int, int)'C:\Users\Ashley Harwood\Desktop\arduino-1.0\libraries\ITDB02/ITDB02.h:18: note: candidates are: ITDB02::ITDB02(int, int, int, int, int, int, int, int, int, int, int, int)C:\Users\Ashley Harwood\Desktop\arduino-1.0\libraries\ITDB02/ITDB02.h:15: note: ITDB02::ITDB02(const ITDB02&)sketch_may23a.cpp: In function 'void graphSetup()':sketch_may23a:157: error: no matching function for call to 'ITDB02::TouchInitial(int)'C:\Users\Ashley Harwood\Desktop\arduino-1.0\libraries\ITDB02/ITDB02.h:30: note: candidates are: void ITDB02::TouchInitial()sketch_may23a:158: error: 'class ITDB02' has no member named 'setPrecision'sketch_may23a:158: error: 'PREC_HI' was not declared in this scopesketch_may23a.cpp: In function 'void graphLoop()':sketch_may23a:487: error: 'class ITDB02' has no member named 'dataAvailable'
I am having a devil of a time finding the EEPROM library. Also I can't get the sketch to compile as it says EEPROM not declared in this scope. Using 1.05 IDE.Andrew
Hello Tonno,Reading the pH is fairly simple as the Phidgets 1130 outputs an analog signal which can be converted to a pH. You just do an anologRead on the pin which connects to the Phidgets and run this calculation --> 0.0178 * sensorValue - 1.889What outputs is the current pH value at a constant temperature of 25°C...Dosing is not that easy. I work with a Setpoint and a Hysteris. The setpoint is the pH I would like to have and the hysteris is the amount the pH can deviate from this point.Explaining how the code works is not that simple, but here goes... I first check if the pH is above or below the setpoint. Then change a variable according to that so the program knows if it's a base or acid that needs to be added. Note: If your plants are healthy and absorbing nutrients the pH can only go up. That's because plants use the negative ions for nutrient absorption...Let's assume the pH is above the setpoint. The program now checks if the pH is above the hysteris. If so, dosing will start (which is a small peristaltic pump) until the pH reaches the setpoint. If the setpoint is reached then dosing will stop and the variable is set to 0 again. This repeats constantly...I hope this helps