As [Mic] often got requests to make high-power switching boards, he recently finally gave in and designed the one shown above based around a solid-state relay. Some of our readers that already play with mains power know that switching should normally occur when the voltage crosses zero volts. The ‘TRIAC BLOC’ is able to do so, which also allows mains frequency measurement. [Mic] then tuned to the internal oscillator of his ATtiny microcontroller with this 50Hz by adjusting its OSCCAL register value, so the switching command can be sent at the ideal moment. Zero crossing detection is implemented by feeding the mains into an AC optocoupler. [Mic] discovered that the optocoupler diodes are not identical, so he had to adjust his firmware to account for the time differences.
All the resources are available on github, we would be interested to hear your detailed analysis of the circuit implemented with the passives R3/C1/L1/R8/C3.
[Robovergne] prides himself on the beautiful reef aquarium that he has set up in his home. These sorts of water displays require constant maintenance due to the mineral requirements of living coral. Rather than add mineral solutions manually, he decided to build a nano-doser using espresso machine pumps (Google Translation).
These vibration pumps run on mains voltage, so he had several options as far as how to control them. Using relays would likely make things pretty noisy, so he chose to use a zero crossing detection circuit to precisely control the pumps’ duty cycles and output.
His setup uses a PIC to control everything from the zero crossing circuit to the display LCD. An amount of product and the distribution time frame are entered using a handful of buttons mounted on the front of his control box, leaving the PIC to do the heavy lifting. It will calculate the proper length of time to run the pump based on several factors, including fluid viscosity and height of release.
It really is an impressive system, and while his needs are very precise, we imagine this sort of setup would be quite useful in building less complicated dispensers, such as those found in an automated bar.
Continue reading to see a few videos of his Nano-doser in action.
Continue reading “Automated aquarium chemical dispenser is extremely precise”