Audio Level Meter


Results 1 to 13 of 13

Threaded View

  1. #7
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    You need to use the line in level (normally 1v peak to peak RMS) from a CD / Tape deck. You then need to make a filter fo that the peaks provide a cleaner input (well at least thats what I used form my disco light project).

    The attached image shows the filter I used to input the signal into an 877 PIC. I can't post the code as it was written in JAL (before I discovered PBP ) but works on the pinciple of converting the voltage to a value between 0 and 254, and then making pin on the output port go high, so for example, if the input equated to 120 the first four pins RB0 - RB3 would be made high. Its not quite a true VU or Peak level meter, and I'm sure with re-coding you could do something better, but the effect to a decent track with lots of quiet bits between the beat looks cool
    Attached Images Attached Images  

Similar Threads

  1. Hall Effect flow meter with 16F876
    By revelator in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th March 2010, 21:42
  2. Replies: 24
    Last Post: - 1st December 2009, 09:01
  3. PIC Audio
    By toofastdave in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 27th June 2007, 14:49
  4. Pic driven digital audio delay
    By skimask in forum Off Topic
    Replies: 12
    Last Post: - 19th April 2007, 21:42
  5. Serin2 and Serout2 with or without level converter
    By fbestepe in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st May 2004, 08:10

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