{"id":12352,"date":"2016-10-26T17:11:01","date_gmt":"2016-10-26T21:11:01","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=12352"},"modified":"2016-10-26T17:11:01","modified_gmt":"2016-10-26T21:11:01","slug":"spectrum-analyzer-code-arduino-platform","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/spectrum-analyzer-code-arduino-platform\/","title":{"rendered":"Spectrum analyzer code for Arduino platform"},"content":{"rendered":"<p>Spectrum analyzers measure the frequency components contained in an input signal and displays their amplitude as a function of frequency. The amplitude\u00a0is shown on the y-axis and the frequency in the x-axis. They are useful in computing\u00a0transmitter and receiver RF power at antenna tower station, measuring the bandwidth of a transmission channel,\u00a0detecting\u00a0interference in channels, computing transmission losses, etc. For basic DIY applications, there is a\u00a0<a href=\"https:\/\/hackaday.io\/project\/16615-spectrum-analyser-code\" target=\"_blank\"><strong>spectrum analyzer code<\/strong><\/a>\u00a0from\u00a0<a href=\"https:\/\/hackaday.io\/AlanX\">agp.cooper<\/a>\u00a0for Arduino platform. It is ported to\u00a0ATTiny85 but can be easily used with other Arduino compatible processors. It uses <a href=\"http:\/\/www.mstarlabs.com\/dsp\/goertzel\/goertzel.html\" target=\"_blank\">Goertzel&#8217;s algorithm<\/a>\u00a0with a Hamming window for DFT computations and Nokia\u00a0PCD8544 LCD for displaying the signal strengths as a function of frequency.<\/p>\n<div id=\"attachment_12353\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/10\/spectrum.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12353\" class=\"size-full wp-image-12353\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/10\/spectrum.jpg\" alt=\"Spectrum analyzer \" width=\"640\" height=\"480\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/10\/spectrum.jpg 640w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/10\/spectrum-580x435.jpg 580w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-12353\" class=\"wp-caption-text\">Spectrum analyzer<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Spectrum analyzers measure the frequency components contained in an input signal and displays their amplitude as a function of frequency. The amplitude\u00a0is shown on the y-axis and the frequency in the x-axis. They are useful in computing\u00a0transmitter and receiver RF power at antenna tower station, measuring the bandwidth of a transmission channel,\u00a0detecting\u00a0interference in channels, computing transmission losses, etc. For basic DIY applications, there is a\u00a0spectrum analyzer code\u00a0from\u00a0agp.cooper\u00a0for Arduino platform. It is ported to\u00a0ATTiny85 but can be easily used with other Arduino compatible processors. It uses Goertzel&#8217;s algorithm\u00a0with a Hamming window for DFT computations and Nokia\u00a0PCD8544 LCD for displaying the signal<\/p>\n","protected":false},"author":1,"featured_media":12353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150],"tags":[1140,99],"class_list":["post-12352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-2","tag-arduino-projects","tag-spectrum-analyzer"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=12352"}],"version-history":[{"count":3,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12352\/revisions"}],"predecessor-version":[{"id":12356,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12352\/revisions\/12356"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/12353"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=12352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=12352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=12352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}