Need help with analog input for AttoPilot voltage & current sensor

Hello guys,

I just received my Arduino Uno and I wanted to make a curent monitor (i also have the LCD16x2) using the AttoPilor 90 Amp sensor which I had from another project.

I wanted to calibrate the code I'm using as the values don't match with the ones I measured with my multimeter, but I noticed something weird, if I power the board using the USB there are some values and the LCD looks ok, if I power the board from a 6v UBEC the screen leters look very dim and the shown voltages are higher ?

Why the values are changing when the power source is changing ?

Thank you .

PS. This is my first arduino project.