1. The guitar signal is AC at around 1.5 volts max, and it will be running into the LM386.
2. The output of the LM386 should be amplified up to a max of 5v and it will still be A/C (I assume) so I need to use a rectifying diode setup to convert it to DC.
Also, I've heard there is an electrical engineering software program out there that will simulate electronics so you can build your circuit on the computer without having to buy parts and try them out. This would be immensely helpful. Anybody know what the program is called so maybe I could help myself?
I'm essentially creating an LED light that pulses based on the guitar input's strum patterns.
Is there some reason that you've decided to use the lm386?
If you can recommend an appropriate opamp that will run on the arduino's 5v and will handle the guitar's input, I'm more than willing to order it.
I'd love to try an opamp, but finding one that ran on the arduino's 5v power proved difficult. Every example I found wanted me to use a power supply that had negative voltage or ran on 9-18 volts.
My ADC reading now is at about 400 max, which is much better than what I was getting before. I'm hoping to make this larger because the ADC bottoms out at zero before the note actually dies out. I'm not sure how I can do this.
My ADC reading now is at about 400 max, which is much better than what I was getting before. I'm hoping to make this larger because the ADC bottoms out at zero before the note actually dies out.
The problem is the rectifier. A diode doesn't turn-on until it has about 0.5 to 0.7V across it. Anything "quieter" than that is going to get killed*.