Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • And the code your using while your at it. Issue is probably in the divider circuit, but still good to have a look at all of it. Commented May 13, 2019 at 18:46
  • A potentiometer is a voltage divider in itself. You don't need the extra 1k resistor Commented May 13, 2019 at 18:46
  • @chrisl I am trying to model a sensor which works at 5V as a voltage divider. So can I just use the pot? Most of the simulations that I have seen use a resistor along with pot. Please confirm. Commented May 13, 2019 at 19:08
  • Yes, you only need the pot. Connect it as described at the start of your sketch. A pot is a resistor strip, that gets divided by the middle wiper. Commented May 13, 2019 at 19:17
  • ok, one more question, then what does those voltage dividers with pots serve purpose for? Commented May 13, 2019 at 19:22