I need to measure alot of different frequencies at the same time (up to 48) How?


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: I need to measure alot of different frequencies at the same time (up to 48) How?

    You know some of things you think are pretty simple like a farmer planting seeds are indeed quite technical and wireless to boot. Awesome integration of technology with one of the most basic requirements of society. Very interesting project that will make me look at using PICs in different ways. Thanks. I hope you find an answer to your desire.

  2. #2
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: I need to measure alot of different frequencies at the same time (up to 48) How?

    I was working on similar project, only difference is that my device monitor 4 seed plates on mechanical planter.
    I used 1 IR LED 5mm, and 3 IR photo diode 3mm side by side connected in series, to detect falling seed from seed plate. If there is no detection for 3-5S then alarm will sound. Additional function is to count seed on each row, and total count.
    Another idea was to monitor holes on plate and to check if there is seed on every hole.
    I didn't use interrupts or counters, just detect falling edge from sensor, count them, and reset alarm timer...
    For edge detection I used
    IF PinOldState>Pin THEN DETECTED
    PinOldState=Pin
    That is all.
    On my setup time frame for detecting each seed is about 5mS. So just put that in loop, or use timer and interrupt on overflow, set interrupt frequency about 1KHz, and you are done...

Similar Threads

  1. How to Measure 2 or more digital inputs a the same time
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 29th April 2013, 02:23
  2. how to measure RPM and SPEED at the same time
    By teeeeee in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th July 2012, 08:34
  3. Measure time in mS between two pulses
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 7th March 2011, 07:20
  4. CCP1 and CCP2 to measure 2 frequencies together
    By bobonapoletano in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th December 2005, 07:34
  5. Using Different Xtal Frequencies
    By bobsimpson in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th July 2003, 21:36

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