Cannot read voltage properly.

My UNO can’t read voltage properly using the example sketch ReadAnalogVoltage.

The voltage does change as i twist the pot but only between 1,1~1,3v. (I’ve also tested without the float function, making the sensorValue sit at around 300/1023)
When first powering the board, the voltage will drop from ~5v over the course of a few seconds.

The outer pins of the pot are connected to +5v and GND, the middle pin to A0. I’ve tried changing the analog pin without any result.

I hope someone can help me with this problem.

What is the value of the pot? 1K, 5K, 10K? Or something much lower that is drawing a lot of current?


Okay. the problem was solved 4 minutes after that i posted this. The problem was a broken wire, stupid me...

Thanks anyways guys!