Frequency Counter - Need Help

atlas

atlas

@atlas-LIgRCK Oct 22, 2024
Hi people,

I'm a student at MIT at the moment and I’m going to utilize the GPIO-24 – #-Link-Snipped-# produced by Diolan, Ltd. – as a part of my project. The adapter (or, to be more precise, the frequency counter) will be used to measure the speed of a vehicle.

The frequency counter should measure the frequency. I’ll use this value to calculate the speed and output it.

So, I want to use the input to somehow influence the output.

How can I do it?

Any advice is appreciated!!!

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • relto

    relto

    @relto-tkTLnK May 27, 2010

    Hello

    Have you looked at DIOLAN description of the #-Link-Snipped-##-Link-Snipped-#?

    I hope this will help you to get started.
  • atlas

    atlas

    @atlas-LIgRCK May 30, 2010

    Yes, I’ve read their description of freq module. I quite understand how it works.

    The question is: how can I get the frequency value stored in freq counter to generate the speed?

    Ideally, I want to do some math to the frequency and then output the calculated speed.
  • relto

    relto

    @relto-tkTLnK May 31, 2010

    Use this command #-Link-Snipped-#. What’s the problem?
  • atlas

    atlas

    @atlas-LIgRCK Jun 1, 2010

    Good solution.

    I send this command periodically to obtain the freq and calculate the speed.

    Meanwhile, the problem is that: I want the freq counter notify me the exact moment when some fixed speed limit is exceeded.

    How can realize that?
  • relto

    relto

    @relto-tkTLnK Jun 1, 2010

    The usb gpio interface adapter gpio-24 supports event-driven interface. The frequency counter may notify you when your speed limits are reached. See here #-Link-Snipped-# and here #-Link-Snipped-#. This method is ok, assure you.