My Neptune Apex web interface compatible DIY reef controller
I am done with doser code. I will update the files in github soon. I still need to update the circuit diagram a bit for the new feeder.
This is how the browser pages look. It shows the remaining volume in the bar graph.
tap on a pump, and you get to manually dose or reset dosed volume (0 if you refilled the container)
doser setup page
you specify doser name, daily total dose volume in ml, number of doser per day, interval in minutes between doses, dosing start time, and the container volume when it is full.
The start time is so you stagger dosing between the two pumps so you don't pump the two liquids at the same time.
If the interval is set to 0, it will automatically spread the number doses per day evenly.
Say if doses per day is 24, interval 0 will make it dose every hour.
In the above example, interval is 30 minutes. With start time of 12pm, it will does at 12pm, 12:30pm, 1pm,etc until 24 doses are made, which is 12am. This is for if you want to dose something at night only.
This is the calibration page
specify your calibration volume (usually 1ml or 5ml). Set a value for ON time units. The default 980 will run the pump for 1 second. This part is trial and error. You want to get the number of time units needed to get the target calibration volume. Tap the Start button when ready.
Then tap the +Dose button to start dosing into your measuring container. Adjust the ON time value and tap +Doser until you reach your target volume. The total time units is displayed. Once you reach your target, tap Save. Then empty the liquid from your measuring container and tap Test to test dose the same volume. Repeat by tapping the Start button until you get the correct time units to get the target volume.
The dosed volume is stored in eeprom so the value is remembered across reboot. An alarm will sound if the remaining volume is less than one day's dosing volume. And dosing will completely stop if remaining volume is 0. Doser on and off timestamp are logged in outlet log file.
That's it.