Hall effect sensor only giving half of input voltage

here’s your photo…

And here’s the data sheet…
DATASHEET PDF

Here your second image…. much clearer.

As you move on, please try to provide as much info as possible in the post, because many users are unlikely to chase down links or poorly posted content.

Thanks for using code tags !
Now, to your question…
Do you have the chip configured for ratiometric (analog) output, or PWM ? That will muck things up a bit !

Your ‘circuit’ isn’t clear, is that using LEGO or some other assembly ?