I'm trying to make a bar visualization using the PWM on arduino and the LM3914 chips. But when I connect the PWM output to signal input of 3914, it just keep flashing. I guess is the PWM doesn't really output analog voltage so the leds connected to the 3914 just keep blinking all the time.
Any idea to deal with this? I read something about using RC circuit to generate analog voltage, but I'm not sure how to do it, any idea?
Thanks~
There is an application note here http://ww1.microchip.com/downloads/en/AppNotes/00538c.pdf that describe the theory. Try connecting a 1k resistor from the PWM output to the input of the LM3914 with a capacitor across the input (from the LM3914 input pin to ground). You may need to experiment with various values but I would start with a value around .1uf to 1uf.