Hi, I'm very new to coding/Arduino and this may be a seemingly senseless problem, so bear with me.
I have a Feather nRF52840 Sense board and I'm going over potentiometer voltage control. I've pulled very simple, bare-bones coding from the internet so I know the coding isn't the issue, as it's pretty much the same wherever I pull it from.
My circuit consists of a jumper wire from the 5V pin into one leg of the potentiometer and a ground wire connected to the far pin of the potentiometer. My analog wire (connected to the middle of the potentiometer) is connected to an analog pin on the board.
I've made sure I use the correct analog pin as in the coding and I've tested every analog pin on the board.
However, instead of gradually increasing from 0 to 1023 from the analogRead function as I turn the knob, I'm gradually increasing from 0 to about 1000 when 2/3 turned then back down to 500's and finally up to 700's when fully turned. I'm not sure what's causing this weird dip and why it doesn't simply go from 0 to 1023 start-to-finish.
I have made sure the voltage is correct from the 5V pin and that all pins are correctly placed.
Am I misunderstanding something? Missing something? Are my analog pins possibly messed up?
(Again, I'm relatively new to everything so my technical vocab and understanding are unfortunately subpar! haha)
I greatly appreciate any help!