{"id":57806,"date":"2024-11-28T23:52:00","date_gmt":"2024-11-28T18:22:00","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=57806"},"modified":"2025-06-04T11:55:57","modified_gmt":"2025-06-04T06:25:57","slug":"arduino-based-wireless-frequency-meter","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/arduino-based-wireless-frequency-meter","title":{"rendered":"Make An Arduino-Based Wireless Frequency Meter"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/efy-tested-2-150x150.jpg\" alt=\"EFY tested\" class=\"wp-image-57815\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/efy-tested-2-150x150.jpg 150w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/efy-tested-2-324x322.jpg 324w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/figure><\/div>\n\n\n<p><em>This project demonstrates an Arduino-powered wireless frequency meter that can measure the frequency of sinusoidal AC transmissions ranging from 50Hz to 3kHz. Figures 1 and 2 show prototype representations of the transmitter and receiver, respectively.<\/em><\/p>\n\n\n<div class=\"wp-block-image wp-image-57807\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"387\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15-500x387.jpg\" alt=\"Wireless Frequency Meter\" class=\"wp-image-57807\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15-500x387.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15-1024x792.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15-696x539.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15-1068x826.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15-543x420.jpg 543w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/1-15.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Fig. 1: Authors\u2019 prototype of the transmitter side<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image wp-image-57808\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"394\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10-500x394.jpg\" alt=\"Arduino based Wireless Frequency Meter (Receiver side)\" class=\"wp-image-57808\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10-500x394.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10-1024x807.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10-696x549.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10-1068x842.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10-533x420.jpg 533w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/2-10.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Fig. 2: Authors\u2019 prototype of Wireless Frequency Meter (Receiver side)<\/figcaption><\/figure><\/div>\n\n\n<p>The block diagrams of the transmitter and receiver sides are shown in Figs 3 and 4, respectively.<\/p>\n\n\n<div class=\"wp-block-image wp-image-57809 size-medium\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"82\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/3-7-500x82.jpg\" alt=\"Block diagram of the Wireless Frequency Meter transmitter side\" class=\"wp-image-57809\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/3-7-500x82.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/3-7-1024x167.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/3-7-696x113.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/3-7-1068x174.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/3-7.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Fig. 3: Block diagram of the transmitter side<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image wp-image-57810\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"118\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/4-6-500x118.jpg\" alt=\"Block diagram of the Wireless Frequency Meter receiver side\" class=\"wp-image-57810\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/4-6-500x118.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/4-6-1024x242.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/4-6-696x164.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/4-6-1068x252.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/4-6.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Fig. 4: Block diagram of the receiver side<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Wireless Frequency Meter &#8211; Circuit and Working<\/strong><\/h2>\n\n\n\n<p>The main components used in the&nbsp;Wireless Frequency Meter project and their role is described below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"348\" height=\"500\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-1-2-348x500.jpg\" alt=\"Wireless Frequency Meter Components\" class=\"wp-image-57816\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-1-2-348x500.jpg 348w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-1-2-292x420.jpg 292w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-1-2.jpg 636w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Arduino Uno<\/strong><\/h3>\n\n\n\n<p><a href=\"https:\/\/www.electronicsforu.com\/arduino-basics-schematics\" target=\"_blank\" rel=\"noopener noreferrer\">Arduino Uno<\/a> is an AVR ATmega328P microcontroller (MCU)-based development board with six analogue input pins and fourteen digital I\/O pins. The MCU has 32kB ISP flash memory, 2kB RAM and 1kB <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/learn-electronics\/eeprom-difference-flash-memory\">EEPROM<\/a>. The board provides the capability of serial communication via UART, SPI and I2C.<\/p>\n\n\n\n<p>The MCU can operate at a clock frequency of 16MHz. In our project, Arduino Uno is used on the receiver side. Digital I\/O pin 5 is used as input pin and is connected to DATA pin of 434MHz RX module. Digital I\/O pins 7, 8, 9, 10, 11 and 12 of Arduino are used to interface with the 16&#215;2 character LCD to display the value of the measured frequency.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Rectifier Diodes<\/strong><\/h3>\n\n\n\n<p>Rectifier diodes (1N4007) are used to rectify the alternating input signal to pulsating DC on transmitter side.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>MCT2E<\/strong><\/h3>\n\n\n\n<p>MCT2E opto-coupler IC is used to isolate input side from the next stage and also produce signals from pulsating DC waveform on transmitter side.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>LCD<\/strong><\/h3>\n\n\n\n<p>The <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/learn-electronics\/16x2-lcd-pinout-diagram\">16&#215;2 LCD<\/a>, present at the receiver end, is used to display the value of frequency. It is interfaced with Arduino Uno board in four-bit mode. LCD pins RS, EN, D4, D5, D6 and D7 are connected to digital I\/O pins 12, 11, 7, 8, 9 and 10 of Arduino, respectively.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>434 MHz TX-RX Modules<\/strong><\/h3>\n\n\n\n<p>The 434MHz transmitter (TX) and receiver (RX) modules are used to transmit and receive radio frequency (RF) signals between two devices. Carrier frequency of the module used here is 434MHz.<\/p>\n\n\n\n<p>The circuit diagrams of the transmitter and receiver sides are shown in Figs 5 and 6, respectively.<\/p>\n\n\n<div class=\"wp-block-image wp-image-57811\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"322\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2-500x322.jpg\" alt=\"Circuit diagram of the Wireless Frequency Meter transmitter side\" class=\"wp-image-57811\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2-500x322.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2-1024x659.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2-696x448.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2-1068x688.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2-652x420.jpg 652w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/5-2.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Fig. 5: Circuit diagram of the transmitter side<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image wp-image-57812\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"370\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-500x370.jpg\" alt=\"Circuit diagram of the Wireless Frequency Meter receiver side\" class=\"wp-image-57812\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-500x370.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-1024x758.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-80x60.jpg 80w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-485x360.jpg 485w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-696x515.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-1068x790.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1-568x420.jpg 568w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/6-1.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Fig. 6: Circuit diagram of the receiver side<\/figcaption><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>Download source folder: <a href=\"https:\/\/efy.efymag.com\/admin\/issuepdf\/Make%20an%20Arduino-Based%20Wireless%20Frequency%20Meter.zip\" target=\"_blank\" rel=\"noopener\">click here<\/a><\/strong><\/h4>\n\n\n\n<p>The signal whose frequency is to be measured is applied to test signal input terminals, as shown in the transmitter-side circuit diagram (Fig. 5). In this frequency meter, test signal must be an alternating one and its amplitude must not be greater than 10V peak-to-peak.<\/p>\n\n\n\n<p>The next stage is a bridge rectifier, which converts the alternating signal to a fully-rectified pulsating DC signal. The signal is then applied to pin 1 of MCT2E opto-coupler. Pin 1 is connected to anode of the internal LED of the opto-coupler. <\/p>\n\n\n\n<p>With the help of the opto-coupler, spikes are produced. Frequency of the signal is twice that of test signal input. The signal is applied to DATA pin of 434 MHz TX.<\/p>\n\n\n\n<p>On receiver side, 434MHz RX module demodulates the received signal. DATA pin of 434MHz RX is connected to digital I\/O pin 5 of Arduino Uno, which calculates frequency of the test signal and displays it on the LCD and serial monitor of Arduino IDE. Test signal frequencies 1576Hz and 2399Hz displayed on the serial monitor are shown in Fig. 7.<\/p>\n\n\n<div class=\"wp-block-image wp-image-57813\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"500\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/7-1-441x500.jpg\" alt=\"Test signal frequencies (1576Hz and 2399Hz) displayed on the serial monitor \" class=\"wp-image-57813\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/7-1-441x500.jpg 441w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/7-1-370x420.jpg 370w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/7-1.jpg 636w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><figcaption class=\"wp-element-caption\">Fig. 7: Test signal frequencies (1576Hz and 2399Hz) displayed on the serial monitor<\/figcaption><\/figure><\/div>\n\n\n<p>This project can be used for experimenting, learning, testing and troubleshooting audio equipment in the audible range between 50Hz and 3kHz.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Arduino Code for Wireless Frequency Meter<\/strong><\/h2>\n\n\n\n<p>Arduino IDE 1.6.5 is used for programming Arduino Uno. Select the proper COM port and board from Tools menu in the IDE. Upload freq_meter_wl_1.ino source code to the board. <\/p>\n\n\n\n<p>From Tools menu of Arduino IDE, open the serial monitor and select the proper baud rate (9600 is used here) to display the frequency on the serial monitor.<\/p>\n\n\n\n<p>For troubleshooting, test the signals at different test points marked in the circuit diagrams. Expected voltages at different test points are listed in Table 2.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"429\" height=\"500\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-2-429x500.jpg\" alt=\"Wireless Frequency Meter Voltage Test\" class=\"wp-image-57817\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-2-429x500.jpg 429w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-2-360x420.jpg 360w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/12\/table-2.jpg 637w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/figure><\/div>\n\n\n<p><strong>Recommended:<\/strong> Explore our extensive collection of\u00a0<a href=\"https:\/\/www.electronicsforu.com\/category\/electronics-projects\/arduino-projects\">Arduino projects<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Further Enhancements and Uses<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Application<\/strong>: This wireless frequency meter measures frequencies throughout audio ranges, making it suitable for repairing audio equipment and educational settings that require wireless frequency transfer.<\/li>\n\n\n\n<li><strong>Expandability<\/strong>: This device can measure higher frequencies with adjustments to the frequency input range or wireless modules. Additionally, adding extra display elements or incorporating SD card storage for frequency logs could increase the project&#8217;s versatility.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><em><strong>Saikat Patra<\/strong> is passionate about electronics and microcontroller-based embedded system applications.<\/em><\/p>\n\n\n\n<p><em><strong>Shibendu Mahata<\/strong> is M.Tech (gold medalist) in instrumentation and electronics engineering from Jadavpur University. He is interested in designing microcontroller-based real-time embedded signal processing and process control systems<\/em><\/p>\n\n\n\n<p>This article was first published on 28 December 2019 and recently updated in October 2024.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project demonstrates an Arduino-powered wireless frequency meter that can measure the frequency of sinusoidal AC transmissions ranging from 50Hz to 3kHz. Figures 1 and 2 show prototype representations of the transmitter and receiver, respectively. The block diagrams of the transmitter and receiver sides are shown in Figs 3 and 4, respectively. Wireless Frequency Meter [&hellip;]<\/p>\n","protected":false},"author":38613,"featured_media":57808,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,3805,6071],"tags":[10539,1985,110,83],"class_list":{"0":"post-57806","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-projects","8":"category-hardware-diy","9":"category-arduino-projects","10":"category-intermediate-projects","11":"tag-dec-2019","12":"tag-diy-projects","13":"tag-electronics-projects","14":"tag-featured"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/57806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/users\/38613"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=57806"}],"version-history":[{"count":1,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/57806\/revisions"}],"predecessor-version":[{"id":164848,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/57806\/revisions\/164848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/57808"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=57806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=57806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=57806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}