Basically what the title states. I have a potentiometer hooked up to an uno on an analouge pin to read the value from the potentiometer. However the value keeps going from 0 to 1023 and then back to 0 despite me not touching the potentiometer and I have no clue whats causing this
No. with a pot properly connected the pin would always have some voltage on it. The OP probably doesn't have the pot wired up right. But he won't show what he has so we're just left to guess for now.