Point me in the right direction.... Flash reading physical devices

I’m sure this has been done before…

I would like to know if it’s possible to tie Flash into physical devices, so
the display is of course flash, but underlying input is from a physical device.

Such as metal detector, water gauge, battery voltage, etc.

Any instruction, or links to places which may describe this; please let me know.

Many thanks :slight_smile: