Potentiometer connected to LED - issue


#1

Hey Guys.

I've connected an led to a pot so that I can get more visual feedback on my machine. It all works well on the breadboard. The fucked up thing is that when I use the pot with axoloti, it becomes logarithmic. (It snaps very quickly to high and low values.)
- When I disconnect the led from the potentiometer, it goes back to its linear fashion... Someone has a solution for this? I feel like I've tried everything.


#2

Although I cannot see what you have done, I can only assume that if you have the LED connected directly to the pot, then to the Axo, this won't work unles you are using a double gang port and the led is connected to the other gang. Or you could try a connecting the led to a different GPIO on the Axo, digital out, but have an object blink the led at different rates depending on the pots position.:grin:


#3

Thanks for the info Gavin! I would like to avoid using a digital on the axoboard just for an led since I already have use for all analog/digital ins and outs.... Could you link me to the "double gang port" that you talk about? Sounds interesting :slight_smile:


#4

If you Google double gang pot 10K, you should get lots of options..
Double gang pots look like this..
As you can see its two pots in one, connect the Axo to the top gang, connect the led to the bottom gang.


#5

if you just want a simple brighter = higher value correlation then indeed a double gang pot might do the trick. but, isn't that what the markings on a knob (that you put over the pot) are for? :slight_smile: or in other words, why would you need an additional led for that?


#6

Ahh. Simple! Thanks!


#7

Lokki. Its just for extra cosmetics!