Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6970

Off topic discussion • Potentiometer only returning values for half of a turn

$
0
0
This is something I noticed a while ago, but I decided to put it on the back-burner since they were still technically "working." However, now that I've made some good progress on my project, and am also waiting on a Digikey shipment, I'd like to sort this out.

I have a few breadboards with anywhere from 1-8 pots on each. Some of the pots are connected directly to the ADC pin on a Raspberry Pi Pico, others run through a MCP3008 (see attached photo). However, all have the same problem. I only get values from the pots within the first 180 degrees of turning the pot. At the 180 degree mark, I've reached the maximum output. When I'm reading directly from the pots, I'm using MicroPython's `ADC.read_u16()` method. Any idea what I'm doing wrong?

Most of the pots I'm using are this one: https://www.digikey.se/en/products/deta ... 03/3781150. I do have two of these, though, https://www.sunfounder.com/products/10p ... breadboard and I'm having the same problem.
IMG_20250103_122229153.jpg

Statistics: Posted by dayunbao — Sun Feb 02, 2025 1:56 pm — Replies 7 — Views 65



Viewing all articles
Browse latest Browse all 6970

Trending Articles