This publication will detail my plans/designs for the upcoming Puriphico prototype, including its code, custom PCB schematic, and case design.
The new prototype is scheduled for the end of June/beginning of July, when I will reveal it in full detail and demonstrate its operation in various bathroom settings.
The below code incorporates Bluetooth connectivity as well as the calibration system. The calibration system featured here, however, is different to the one published prior in the way that it recognizes handwashing. A separate article (I don't want this one to be too long) will be published to cover this mechanism in greater detail, as well as other parts of the code, so that you have the option to follow along and understand the logic behind it.
*Please note: I know there are areas for improvement in this code, especially considering I have largely emitted the use of return-functions; if you spot any areas for improvement, or simply have questions, send them through the contact page or simply write a comment. Thanks!