{"id":1152,"date":"2010-11-29T09:31:15","date_gmt":"2010-11-29T14:31:15","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=1152"},"modified":"2012-07-30T09:29:29","modified_gmt":"2012-07-30T13:29:29","slug":"playing-happy-birthday-tune-with-a-pic-microcontroller","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/playing-happy-birthday-tune-with-a-pic-microcontroller\/","title":{"rendered":"Playing &#8220;Happy Birthday&#8221; tune with a PIC Microcontroller"},"content":{"rendered":"<p>This article describes how to play a melody with microcontrollers. A melody consists of notes that must be played with proper timing gap. Every note has a specific frequency. So if you know the notes that you want to play, then first find out the frequencies of those notes. After that, you can program a microcontroller to generate those frequencies at one of its port with proper timing intervals. You can listen the melody on a piezo buzzer connected to the port pin. This project describes the notes and frequencies to play the popular birthday tune.<\/p>\n<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"540\" height=\"360\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowScriptAccess\" value=\"always\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/QncE-MF0jCw&amp;hl=en_US&amp;feature=player_embedded&amp;version=3\" \/><param name=\"allowfullscreen\" value=\"true\" \/><embed type=\"application\/x-shockwave-flash\" width=\"540\" height=\"360\" src=\"http:\/\/www.youtube.com\/v\/QncE-MF0jCw&amp;hl=en_US&amp;feature=player_embedded&amp;version=3\" allowscriptaccess=\"always\" allowfullscreen=\"true\"><\/embed><\/object><\/p>\n<p><!--more--><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td><script type=\"text\/javascript\">\/\/ <![CDATA[\n                google_ad_client = \"pub-3251335376149574\"; \/* Embedded-Lab_Blog_468x15, created 10\/1\/10 *\/ google_ad_slot = \"5007918417\"; google_ad_width = 468; google_ad_height = 15;\n\/\/ ]]><\/script><br \/>\n<script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\">\n<\/script><\/td>\n<td><a href=\"http:\/\/picboard.blogspot.com\/2010\/11\/experiment-no-7-generating-melody-with.html\" target=\"_blank\"><strong>Read More<\/strong><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>This article describes how to play a melody with microcontrollers. A melody consists of notes that must be played with proper timing gap. Every note has a specific frequency. So if you know the notes that you want to play, then first find out the frequencies of those notes. After that, you can program a microcontroller to generate those frequencies at one of its port with proper timing intervals. You can listen the melody on a piezo buzzer connected to the port pin. This project describes the notes and frequencies to play the popular birthday tune.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[121,122,6],"class_list":["post-1152","post","type-post","status-publish","format-standard","hentry","category-pic-projects","tag-birthday-tune-with-pic","tag-pic-melody","tag-pic12f683"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1152","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=1152"}],"version-history":[{"count":7,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1152\/revisions"}],"predecessor-version":[{"id":5818,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1152\/revisions\/5818"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=1152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=1152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=1152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}