You are here

Project #042: Frequency Measurement | Cypress Semiconductor

Project #042: Frequency Measurement

In today's project, we demonstrate how to use the PSoC 4 BLE device to implement a frequency counter. 

Measuring a signal s frequency is a common mixed-signal application. It may be the tachometer signal from a motor or an analog signal for tone detection. For all cases, it requires determining the rate of the signal s oscillation. For mechanical systems, this rate is generally known as revolutions per minute (rpm). For electrical systems, it is better known as cycles per second or Hertz.

This design converts arbitary input signals to square waves using the Opamp Components. The frequency of this input signal is then measured using the TCPWM and UDB Components. The measured values are sent over BLE by using a custom Profile.

You can download this PSoC Creator project from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day042_PSoC_4_BLE_Frequency_Measurement

   

Comments

sham.chetas_1690291's picture

 

Hi,

What will be the maximum frequency we can measure from this setup..

 

 

azbida_2215071's picture

hi 

I think is depend to the clock and the counter time !

sherapova_2972126's picture

Best work you have done, this online site is truly cool with extraordinary truths. Rutabagas

zacknight_2986731's picture

It would be ideal if you share more like that. brian holm lawyer san diego

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.