Arduino based auto alkalinity tester DIY

karimwassef

Active member
I would like to be able to measure alkalinity multiple times a day (as well as while I travel).

So... Combining the following parts

1 Arduino Uno (eventually a mini pro)
4 syringes
4 micro linear actuators with feedback encoders
4 one way valves
1 50ml clear cylinder
1 60RPM DC motor & mount
1 ADA TCS34725 color sensor
2 DC power supplies (12V, 5V)

I think I can make it work... For about $140

Each syringe has a dedicated liquid in/out -

Saltwater to test
Titration fluid (acid with color changing indicator)
RODI to flush
Purge fluid (suction to the bottom of the test cylinder)

The motor is to swirl the tube
The color sensor to detect the absence of red/pink

I'll play around with it but I think I should have a resolution down to 0.5dKH

I'll take pictures once the material gets here.
 
Not promising it'll work. Just that I'm going to try and take you with me :)

The two biggest variables are the micro actuator encoder accuracy and the color sensor trigger levels.

I hope to get those in soon enough to experiment.
 
maybe an ESP-8266 ...7/12 would work instead of a arduino, you would have wireless that way.
it can be programed with the arduino ide.
3 volt and memory could be a problem.
just a thought...
 
Long term, I'm going to run Raspberry Pi 2 for data. Arduino is just a good vehicle to get it up and working.
 
If this works, I'll add a calcium tester.. That would require one more actuator though, unless I give up rinsing with RODI and choose to rinse with saltwater instead. That would reduce cost and complexity...

The Calcium titration needs two liquids instead of one. So the 5 syringes would have to be:

Saltwater
Alk titration
Ca titration #1
Ca titration #2
Export & flush
 
Procedure-

FLUSH
Fill syringe SW with 50ml of new saltwater
Inject SW into test tube (10ml)
Swirl 10sec
Fill syringe X (export) with 15ml from the test tube
Inject X export into drain
Repeat 4 more times

LOAD
Fill syringe SW with 5ml of new saltwater
Inject SW into test tube (10ml)

TEST_ALK
Fill syringe T_ALK with 0.96ml of Alk titration acid/color indicator
Inject T_ALK 0.064ml
Swirl 10sec
Check color (blue = repeat above and add counter) - if no more titration, refill
Check color (yellow = stop and capture count)
---- not sure if I should purge the rest of the acid or leave it
Fill syringe X (export) with 15ml from the test tube
Inject X export into drain

FLUSH

LOAD

TEST_CA
Fill syringe T_CA1 with 0.64ml of Ca titration 1
Inject T_CA1 0.64ml
Swirl 10sec
Fill syringe T_CA2 with 1.92ml of Ca titration 2
Inject T_CA2 0.064ml
Swirl 10sec
Check color (pink = repeat above and add counter) - if no more titration, refill
Check color (blue = stop and capture count)
---- not sure if I should purge the rest or leave it
Fill syringe X (export) with 15ml from the test tube
Inject X export into drain

FLUSH
 
Thanks jimbob. I'll try the Arduino and RGB to see if I can get proof of concept going. Then I can refine it based on reading accuracy.
 
If it works, I'll publish everything including the code to run it. The mechanical implementation is trickiest for me.

Thinking about swirling a tube with an off center DC motor configuration is messy... No spill intended :)
 
Interesting, tagging along, no doubt inspired by those folks who have a working prototype running and have been posting about it for a while now with the intent to patent and eventually go commercial with it......
 
Wouldnt using a colorometer to test the alk be easier to automate than tritation? That way you just need to pump the 1ml solution and swirl. The rest will be pretty much the same, flush, load, test flush
 
Back
Top