Need help on averaging numbers for a project

Hello and welcome.

Well, you need something like:

avg-measure-main

But, there’s no such node as avg-measure in XOD standard library (yet). No problem, you can make your own:

The basic idea is to trigger N readings and store their sum with count node. When N readings are accumulated, pass the result of the “sum / N” to the node output.

I didn’t check it for myself but hope I gave you the necessary direction. A xodball of the project is attached: lets-make-a-beer.xodball (7.3 KB)