Voltage measurement on Analog PIN

The whole circuit is enclosed in a case, so I think it should be safe.

When we say not safe we mean safe for your Arduino. Having it in a case in no way mitigates against this.