In this exercise, I'm using values retrieved from an Arduino photoresitor to drive the visibility of a widget component in Unreal Engine 5.
The analog values are imported in the range 0-1013 and converted to 0-1 in the Level Blueprint.
This is what the Blueprint looks like: