Well right now I have the Pot connected to ground, voltage, and the output to AN3/RA4 of PIC16f684. I am simply using ADC to read the value of the pot and set that value as a delay in a loop. So when my pot is turned one way, my lights and patterns are changing fast, and when its the other way they slow down. I want to implement that same feature, but with the sound. No sound/quiet would make the patterns (Controlled by the PIC) change slowly, and loud sound change quickly. Since the pot is just controlling resistance, and thus the voltage sent to AN3, I guess I would need some sort of mic/IC setup that would send more voltage in when it's quiet (for this purpose, but I guess I can take whatever and just use the inverse of that value in my program).
Bookmarks