Hi William,
thank you again for your useful comments and interest in my project.
It's not for a Bingo hall, but it's neither a secret project.
My friend owns a fast food restaurant where he has a policy about free refills for coke and similar beverages.
So the customer buys a first drink than he can refill for a limited period of time.
As of today there's practically no control.
My friend asked me for a solution totally indipendent from the proprietary software used in the shop.
So we decided for a qr code sporting a date/time of ticket emission, a max time for the refill and a max number of refills, completed by a security code that constantly changes.
All the above makes for the mini project I am collecting hints in this thread.
The second part of the project involves the erogation of beverages.
A qr code reader , an esp32, a relay for 24V and a valve able to block/unblock the flow of beverages.
Now you know why I started simple...knowing close to nothing about the electronic stuff that I should assemble
Clearly I'm open to suggestions.