Taking this a step further, because I was hitting my evaporation point and still needing to add kalk to maintain pH, I started to implement a concentrated salt mix that would require some precise pumps to dose particular amounts of kalk, concentrated salt and removal of old salt water to maintain an orchestrated balance of the tanks salinity.
I started off doing this manually with 2 versas but because versas are not currently programmable based on inputs, I decided that after some time developing the proof of concept that I was ready to stop manually doing the math and have software do the heavy lifting.
And because I have a desire to engineer everything myself, I took to solidworks to design the specifics from the mechanical portion all the way to the case design.
This guy does a lot, it can be used as a continuous waterchanger, independently dose continuously from 1ml/min to 300ml/min, it can dose based on time of day and amount. Basically the typical stuff you'd expect from a peri-pump. Not to mention that the user has full control of calibration. You can set the amount to calibrate to and the duration of calibration (more on that later because I think this is the best approach for calibrating).
However, for my needs, it communicates with the kalk controller and receives current kalk pump rates, and amount dosed. Once the daily evaporation is hit, this pump kicks in and starts adding the correct amount of concentrated salt to be mixed with the kalk being dispensed so that the sum of both equal targeted salinity (I have mine set to 35ppt but any salinity can be targeted). Finally, the old saltwater pump removes the sum of both kalk and concentrated salt being dispensed.
It sounds complicated, it kind of is, but my buddy Richard made sure all that was handled with the software and all the user has to do is input the target salinity and the salinity of the concentrated salt mix, everything else is handled with the software. Super simple.
In true fashion I whipped up a circuit board design and ordered all the parts off of digikey.
Of course none of this wouldn't have been possible without my good buddy Richard, arduino coding genius. He made it possible to tap into the TMC5160 motor drivers that provide all the heavy lifting for the stepper motors. Not to mention the interface between the touch screen and ardiuno, but the art work for the touchscreen was all me though hehe.
Here's a down and dirty overview of the 2AWC, I tried hard not to get into the weeds and kept it simple. haha.