Using sound/audio as a potentiometer?


Results 1 to 6 of 6

Threaded View

  1. #3
    Join Date
    Sep 2007
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    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).
    Last edited by mekohler; - 5th October 2007 at 05:39.

Similar Threads

  1. Replace a potentiometer by a digital pot
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 5th November 2007, 07:52
  2. Switch / Potentiometer
    By bearpawz in forum Off Topic
    Replies: 12
    Last Post: - 19th January 2007, 21:45
  3. Potentiometer with indexing.
    By muddy0409 in forum General
    Replies: 2
    Last Post: - 1st January 2006, 19:41
  4. Microchip MCP41xxx Digital Potentiometer Code Trouble
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 18:21
  5. Replies: 9
    Last Post: - 30th August 2005, 06:33

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts