pH and ORP stamp are using standard serial communication to send data they read from the probe. So I used the SoftwareSerial library to get data processed by the arduino and I connected :
- pH RX & TX pin respectively to pin 2 & 3 on the arduino
- ORP TX & TX pin respectively to pin 5 & 6 on the arduino
Temperature sensor is an analog sensor which I connected to pin A0.
Also, I connected power (3.3V) and ground to respective power lines of sensors.
Test code (which is way more complicated than it should be because I was first planning to use an arduino as the final solution… but then decided to go for a BeagleBone) can be found here : https://github.com/jsiobj/poolDuino
do you have the code for this pH and ORP ?
Hello John,
You mean Arduino code ? Yes. As stated in the post, you can find it on Github Atlas Scientific pH and ORP probes Arduino code.
Is that what you are looking for ?
JS
Thats help. I am making a similar project. I will be adding the LCD for display for print out results. And I am making this for just to figure out if this is possible or not is that you know some people add sometimes more or less pH or chlorine to balance water, so I am trying to figure out how much they have to add to balance out water chemistry. so they can add only specific amount of chemicals to the water. I know its difficult since its depends on water level a volume and hot or cold. I am using a room temp level for water for now. if you have any idea would be great help.
Water balance is indeed a difficult thing and I am not at all a specialist. I wanted something to record and send pool data. And if it works well, I may have a try to automatically add chlorine and/or PH- so that I keep a clean water. But to be honest, I had no time to work on this. May be in the future 😉
JS
also I’m getting an error with
#include
#include
Arduino: 1.8.1 (Mac OS X), Board: “Arduino/Genuino Uno”
/Users/mohit/Downloads/poolDuino-master/poolDuino/poolDuino.ino:2:23: fatal error: Streaming.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
Hello John,
You need to install the streaming library which can be found here : http://arduiniana.org/libraries/streaming
I used it in the “printDebug” macro.
JS