Analog pins don't seem to read/display the right signals

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!

It sounds like you are doing the right thing. Can you post a picture of your pot and the wiring please.


Red (5V)
Green (Analog)
Black (GND)

The red wire from the pot is going to some pin I can’t read the value of, but what I can read looks like more letters than a simple 5V. Why not connect it to the voltage on the rails of the bread board.

As this processor is a 3V3 device the pot should not be connected to 5V but to 3V3.

You’re a life saver!

In the demonstrations I’ve seen, they had different boards with a dedicated 5V pin. On mine here, the “USB” pin (what the red wire is connected to) has a voltage somewhere between 4.8V-5.2V. But simply using the onboard 3V pin on mine fixed it! Thank you :slight_smile:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.