Hi Scott,
Appreciate the response.
That sounds like a wonderful challenge.
If few random thoughts for your consideration:
-
Your construction of a "joulemeter’ is sound. Your timing accuracy may be improved slightly by shifting from blocking to non-blocking delays.
-
If you had time and resources, it would be interesting to contrast and compare an Arduino solution with a Programmable Logic Controller (PLC) solution.
No promises, but yes, please post your material as it will be interesting for our readers to explore. you never know what comments or tips you will receive.
Good luck to you and your team.
Sincerely,
Aaron