Well done, indeed. The circuit explanation makes me think you might be an EE? I have some LM324s left over from my days of electrical experimentation and may give it a try. Thanks for posting this.