Here we are, PCBed the PCB, 3D printed the encloser, soldered everything together and lo and behold! Your own smart pH controller! Yes! in 1/5 of the cost and x5 the fun!
Note - please keep in mind that there are probably some bugs in the code, if you find one please report it in my GitHub repository
Here are some instruction for your first use:
Use only 5v power supply, with minimum 3A rating – No USB power! When in the settings menu you can always long press on the SET button to cancel and go back to the main screen.
Pump Calibration:
Start by inserting one end of the pump’s silicon tube to a cup with water, and the other end to a measuring cylinder (part of the kit)
Power up the controller by connecting it to the power supply, make sure there are readings in the main screen but ignore the values (except the temperature which should be correct).
Press the DOWN button (left button) and the pump should start moving liquid from the water cup – keep pressing until the water flows from the other end into the measuring cylinder.
Note – in case the pump is not moving any liquid first try replacing the ends of the silicon tubes - move the tube that was in the cup of water to the measuring cylinder, and the tube that was in the measuring cylinder to the cup of water and try again. If it still doesn’t help, make sure your power supply has a minimum of 3A rating. If it still doesn’t help, try playing with the off-white silicon tube connected directly to the pump, they are sometimes losing their flexibility due to dry conditions or age in storage. If it still doesn’t help, contact the supplier.
Discard all the water in the measuring cylinder, the current state should be that both ends of the silicon tubes are filled with water, so that next time the pump runs it will immediately start dosing.
Long press on the SET button (center button) to enter the calibration menu, and short press on the DOWN button to move to the pump settings menu. Keep pressing until the arrow on the left will point the “Calibration” setting. Short press on the SET button and follow the on-screen instructions, the pump will start dosing water to the measuring cylinder and once done using the UP and DOWN buttons set the amount of water measured in the measuring cylinder. Short press on SET to save.
To test the results, discard the water from the measuring cylinder, and in the same pump settings menu navigate to the “Test 2ml” and short press on SET, and again SET to confirm – the pump should dose exactly 2ml into your measuring cylinder. If not, you can do the calibration again or change the Flow Rate setting.
Remove the silicon tube from the cup of water and go back to the main screen by long press the SET button. Press on the DOWN button to start the pump until there are no more water inside either end of the silicon tubes.
pH Meter Calibration:
Select pH target:
The pH value that the controller will keep the water at.
Amount:
The amount in ml for each pump dose.
Wait Time:
Time interval in minutes to wait between each pH correction routine.
Buffer:
Set buffer between target pH and current pH, for example if the system dosed hey way to the pH target of 6.3 , and your buffer is 0.2, then it will not kick back again until the current pH will be above 6.5.
Show temperature in Celsius or Fahrenheit:
FAQ:
That’s it! Hope you will learn and enjoy this project as much as I do!
Until next time -
~Tal