Audio Frequency Counter


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by charudatt View Post
    but I get jumping figures at high speed.
    Hi charudatt,
    Here is an Idea to help with the jitters, after the LCDOUT, save tobedisplay var to a dummy var, and then before updating the display check to see if tobedisplay = dummy and if it does, go back to the loop until it changes.
    Also, what's that about?
    Code:
    goto DisplayRefresh
        goto DisplayRefresh
        goto DisplayRefresh
        goto DisplayRefresh
        goto DisplayRefresh
        goto DisplayRefresh
    Last edited by Archangel; - 28th July 2009 at 09:26.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Thanks Joe

    I thought I got my bearing all messed up. My project is basically a Sound to Light idea (Disco light), and I thought , it was done by sampling the frequency and hence , I went about trying a Audio frequency meter.

    There was a error in the code, I wanted to introduce a slight delay in the LCD routine and i put in those lines to goto DisplayRefresh, actually it should have been Gosub DisplayRefresh.

    Anyway, any pointer / idea for disco lights using PIC.

    Thanks all.

    regards

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    I built one (actually several) back around 1971 in high school electric shop, used an audio transformer secondary to speaker and primary to the gates of 3 SCRs through 3 R/C filters for 3 channel outputs to control 3 strings of colored lights put behind diffuser panels made for fluorescent lights. Wow shades, some Metal music, some get high, and who could even think of going to war ?
    Back on topic . . . R/C network, Analog voltage detection, digital output . . . same theory should work.
    Last edited by Archangel; - 29th July 2009 at 07:33.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default

    OK , did you mean this http://4.bp.blogspot.com/_BQac7gcHPK...1600/color.gif

    Anyway , I got a lot of dope on this forum relating to this topic and shall give it a try.

    Thank you for the help.

    regards

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by charudatt View Post
    OK , did you mean this http://4.bp.blogspot.com/_BQac7gcHPK...1600/color.gif

    Anyway , I got a lot of dope on this forum relating to this topic and shall give it a try.

    Thank you for the help.

    regards
    http://4.bp.blogspot.com/_BQac7gcHPK...P-keI3U/s1600/
    Yes, that was it.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. frequency counter help and pointers
    By comwarrior in forum General
    Replies: 2
    Last Post: - 30th June 2009, 12:51
  2. Replies: 14
    Last Post: - 26th September 2007, 06:41
  3. Frequency Counter
    By Asmith in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 22nd June 2007, 16:54
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  5. Frequency Counter using PIC and PicBasic
    By PICtron in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 28th January 2005, 07:20

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