I've been trying to build a simple audio pot to be controlled with PWM with an arduino, but I'm not sure why it doesn't work. I could do it with a LED (not directly which is simple, but with a FET), but audio seems much more complicated.
Here is the schematic so far...
I probably need to connect something to the ground of the Arduino, I tried a few things but it didn't work.
The datasheet for the JFET is here: http://eu.mouser.com/ProductDetail/Fairchild-Semiconductor/J202/?qs=ljbEvF4DwONNF0IklNND3Q%3d%3d
I just want to be able to control the level like a digital pot.