I am using pots on Yun and I smelled something funny so I touch the pot that is on lowest 0 reading and connected to 5 V as power and A0 as input and my setup is working but MAN....this POT is BURNING....The pot is NOT burning when it is above 120-200 reading but as soon as it gets reading close to 0 it starts burning..
Am I suppose to put a resistor between the pot and arduino? The pot is 10k ohm.
Also, my Yun only has one 5 v pin and one 3.3 V but I have 4 pots I need to connect so would it be okay to put the 4 pots in parallel to 5 v and ground with arduino's ground then stick their analog outputs to the arduino pins?
The linear pot has 2 pins on 1 side and 1 pin on far side. The 2 pins on one side have one the positive terminal and the other is output terminal. the side with only 1 pin is GND. I hooked the positive to 5 V and GND to GND. Output to A0.
I THINK that since the POT only heats up when I put it at 0 reading it may have too much current running through...it is a 10k pot..
If the pots are wired correctly, they will NOT overheat and the adjustment won't affect the current or the heat. Do you have a datasheet for the pots? Do you have a multi-meter?
When wired correctly the voltage is applied across the full 10K at all times and the current will be 5V/10k = 0.5mA no matter the pot setting.
I have 4 pots I need to connect so would it be okay to put the 4 pots in parallel to 5 v and ground
Yes. If they are wired correctly, they can all be wired in parallel between 5V an ground, with the center-taps all going to different Arduino analog inputs.
If you connect the pot wiper (usually the center tab of the three on the typical pot) to either 5v or ground (with the other two tabs connected to 5v/ground), then you will produce a dead short when the wiper is moved to one of the pot extremes. You need to check your wiring and understand what is going on electrically.
Guys it isn't a knob POT...It is a slider pot....has 2 pins on 1 end and 1 pin on other end. I don't know which pin is what...I just plugged it in and tried different pins till the arduino could read the output...Ill now try the "5v" as the analog pin and the current "output" pin as the 5 v and see if I get a reading and if it still heats up. Looks like this:
Find the 2 pins that read 10k (if you can't find it the resistive tracks have burnt out)
Then place the positive on one of those 2 pins, and move the negative terminal of the multimeter to the unused pin, the wiper, now slide the pot back and forth looking for steady decrease/increase, from 1 to 10k ohms on the meter... if it's smooth range up and down, it's good..
Then place positive of arduino to the first pin, gnd to the other pin...
Aha! now it isn't heating up at 0. Basically, The "gnd" pin I had was the 5V, the 5V I had was the GND, the output I had right.
No, you did not have the output right. Just changing gnd, 5v on the pot did not solve your problem. Pots are not polarity sensitive. Now maybe it will heat up when you slide it to the 5V end. I'm guessing as to how you have it hooked up but never-the-less, it will not work as expected. Use a multimeter and understand how to hook it up correctly.
Hi, have you got a meter, DMM to check your circuit.
Put the pot control in the MIDDLE position, then measure the resistance between pairs.
One pair will be 10K, the other two pairs will be abot 5K.
The pair that is 10K are the ends of the pot, 0V and 5V.
The pin that when paired always shows about 5K is the slider and goes to the analog input pin on the arduino.