APEX controlled DIY alkalinity tester

Reefinmike

Active Member
View Badges
Joined
Sep 13, 2018
Messages
360
Reaction score
327
Rating - 0%
0   0   0
***THIS IS PURELY A FUN PROJECT TO SEE WHAT'S POSSIBLE. THE TRIDENT IS FAR MORE USER FRIENDLY AND WELL INTEGRATED... LIKELY CHEAPER TOO***


I've been tinkering with creating a DIY alk tester using the apex. Previous versions of coding were too complex to adapt to other systems, testing took too long, it was difficult to change desired alkalinity setpoints and just too clunky when it came to directing dosing. I believe I'm finally on the right path now. This system is using a 60ml tank sample with hourly testing at the top of the hour. The code can be adapted to other schedules or tests can be reduced with some simple override code. I spent some time extrapolating data from RHF's DIY alkalinity test article using the largest sample size(1000ml). I found a nice balance using a 60ml sample with a 1:4 acid to rodi dilution .

The test works by first draining the storage water(Step1)using a couple cheap dosers to send the water back to the tank. Midway through returning the sample, the sample dos runs a 30ml profile(S2) to clear "old" water from the sample line. Once the vial is completely dry, the dos adds a 60ml sample of tank water(S3). Next, the dos reagent head adds a 9.6ml profile of reagent(S4) to get the test 90% of the way there. S4 also turns ON the magnetic stirrer. It wont turn off until the test is done- signaled by a 4.50 or lower pH. the OSC VO name S5 is the first level of detection. if pH is 4.50 or lower during this timeframe then my lowest level alk detection VO is triggered signaling an alkalinity of 8.94 or lower. If the pH setpoint isn't reached, the system carries on with steps 6-9 which each add 0.2ml of reagent. VO's monitor these steps to determine when the final pH is reached. If the pH is reached early on, the additional titrations are skipped and the system continues on with draining the waste water and refilling the vial.

The point at which the pH Vo is triggered can be used to direct the dosing until the test starts again. The alk detection VO's stay on until S1 is on again signaling the start of a new test. This is all very new and experimental but I figured I'd let you all in on the ride. I'm certain there will be some kinks to iron out so stay tuned. Code will be included in the next post so it can be edited if there are typos or things don't work as planned.


Items required:
Neptune Systems APEX(any model)
pH probe w/ 4.00 and 7.00 calibration standards
Magnetic Stirrer
Glass vial, dosing lines, and method to hold everything in place(To be Discussed later... I could use someone with experience creatind 3d print files)
2x Cheap $12 amazon 12v dosing pumps(not necessary but it removes a lot of the complexity, avoids running the dos in multiple directions, and potential error from the sample line being submerged)
BRS 50ml/minute doser for waste water(you can use the above pump but I already had this. you can also return the waste water to the reef but I would probably avoid that with hourly testing)
Neptune Dos for sample water and reagent
0.1N(0.05M) sulphuric acid($39/4L on amazon) diluted 1:4 acid:RODI
3 available apex outlets for the stirrer, waste and return pumps. preferably relays

IMG_9018.jpeg
 
OP
OP
R

Reefinmike

Active Member
View Badges
Joined
Sep 13, 2018
Messages
360
Reaction score
327
Rating - 0%
0   0   0
S1- Triggers return to tank 140ml pumps
osc 000:00/001:00/059:00 then ON

S2- triggers dos +30ml sample profile to clear line
osc 000:15/000:30/059:15 then ON

S3- triggers dos +60ml sample profile
osc 001:05/001:25/057:30 then ON

S4- triggers +9.6ml dos reagent profile
osc 002:00/001:10/056:50 then ON

S5- Initial pH check. If below 4.51 then alk <8.94
osc 003:20/000:20/056:20 then ON

S6- Doses an additional 0.2ml reagent. if pH VO is triggered then ALK <9.12
osc 003:50/000:20/055:50 then on
If output pH_Trigger = ON then OFF

S7- Doses an additional 0.2ml reagent. if pH VO is triggered then ALK <9.31
osc 004:20/000:20/055:20 then on
If output pH_Trigger = ON then OFF

S8- Doses an additional 0.2ml reagent. if pH VO is triggered then ALK <9.50
osc 004:50/000:20/054:50 then on
If output pH_Trigger = ON then OFF

S9- Doses an additional 0.2ml reagent. if pH VO is triggered then ALK <9.68
osc 005:20/000:20/054:20 then on
If output pH_Trigger = ON then OFF

pH_Trigger
If pH < 4.51 then ON
if output S4 = ON then OFF
defer 000:03 then ON

ALK<8.94
If output S5 = ON then ON
if output pH_Trigger = OFF then OFF

ALK<9.12
If output S6 = ON then ON
if output pH_Trigger = OFF then OFF

ALK<9.31
If output S7 = ON then ON
if output pH_Trigger = OFF then OFF

ALK<9.50
If output S8 = ON then ON
if output pH_Trigger = OFF then OFF

ALK<9.68
If output S9 = ON then ON
if output pH_Trigger = OFF then OFF

WASTE_TIMER (VO)
Set OFF
if output pH_TRIGGER = ON then ON
defer 001:30 then on

VIAL_REFILL (VO triggers Dos +60ml sample profile to store pH probe wet)
If output S1 = ON then OFF
If output pH_TRIGGER = ON then ON
Defer 002:00 then ON

************************PHYSICAL OUTLETS BELOW******************************************
2x70ml_PUMP
Fallback OFF
set off
if output s1 = ON then ON

DOS_SAMPLE
Fallback OFF
Set OFF
if output S2 = ON then 30ml_SAMPLE(60ml/min profile)
if output S3 = ON then 60ml_SAMPLE(60ml/min profile)
if output VIAL_REFILL = ON then 60ml_SAMPLE(60ml/min profile)

DOS_REAGENT
Fallback OFF
Set OFF
if output S4 = ON then 9.6ml_REAGENT(12ml/min profile)
if output S6 = ON then 0.2ml_REAGENT(7ml/min profile)
if output S7 = ON then 0.2ml_REAGENT(7ml/min profile)
if output S8 = ON then 0.2ml_REAGENT(7ml/min profile)
if output S9 = ON then 0.2ml_REAGENT(7ml/min profile)

MAG_STIRRER
fallback off
if output S4 = on then ON
if outlet WASTE_PUMP = ON then OFF


WASTE_PUMP (BRS 50ml/min pump)
Fallback OFF
Set OFF
If output pH_Trigger = ON then ON
if output WASTE_TIMER = ON then OFF
Defer 000:20 then ON
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 34 27.0%
  • 100% dry rock + 100% live sand

    Votes: 45 35.7%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 27 21.4%
  • 75% live rock, 25% live sand

    Votes: 11 8.7%
  • 25% live rock, 75% live sand

    Votes: 9 7.1%

New Posts

Back
Top