The pot seems to be sending the right values to the software because I get 0 - 100% according to the knob position. No issues there and by the way, it's controlling a heater.
Where I have issues is the Arduino sending signals to the SSR. At slightly above 50%, somewhere before 1 o'clock, the heater is running at full power as can be seen from the ammeter reading. Then when I go further, it drops some before rising on a more gradual curve until it stops at 5 o'clock.
Extremely fast. Within seconds. Anyway, after some questions from an oversea friend, the problem might be my Arduino board. I've tried with two pots connected to the 5v pin and can't get more than 3v out of it. Not at the same time of course.
That was indeed about a rotary encoder on the same board. I didn't want to mix the two issues together since one was an analog pot and the rotary encoder was digital.
Yes, using a pretty decent quality 10K linear pot. The funny thing is the 5v header is outputting 5v but when connected to a pot, the highest value on the multimeter was 2.8+ with the 10K pot and 2.9+ with a 500K pot before the multimeter said OL.
I get the same thing regardless of whether I'm powering the Uno with my laptop, phone charger or a 12V supply through the DC jack.
Is there another regulator besides the one that's beside the DC jack port? I read that the regulator is bypassed when the board is powered by USB and I do get a nice 5v.
No, but the regulator is only needed when input is 7 volts or more. The Arduino MUST have 5 volts from somewhere. What voltage are you applying to the DC jack?
Just in case anyone has a similar problem, the cause is my (possibly) fake Arduino Uno R3 not being able to supply 5v through a 10K resistance. That's why it dropped to 2.8+ V. With a 100K and 500K pots, I could get the full 5V fine.
10 k will draw a tiny current that should not have any influence on regulated voltage.
Is it a maybe a pot of 10 ohm? Usually those have a wound resistor. You can feel that they do not move smoothly when you turn them.
Or did you destroy your regulator by an accidental siortsge?
No idea for now, buddy. The Arduino was just lying around for over 2 years gathering dust before I gathered enough funds and willpower to complete the project. It's a pity that it couldn't supply enough to a 10K resistance because I was planning to try it with a rotary encoder too but that's also a 10K device.
As for the pot's resistance, pretty sure it's 10K. Have checked a few times with a multimeter. It's not a cheap pot and feels very nice.