// API callback
related_results_labels_thumbs({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$blogger":"http://schemas.google.com/blogger/2008","xmlns$georss":"http://www.georss.org/georss","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$thr":"http://purl.org/syndication/thread/1.0","id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472"},"updated":{"$t":"2024-07-04T14:42:20.019+05:30"},"category":[{"term":"PIC"},{"term":"16F"},{"term":"Audio"},{"term":"Basic"},{"term":"SSD"},{"term":"Indicator"},{"term":"Clock"},{"term":"LED"},{"term":"LCD"},{"term":"I2C"},{"term":"18F"},{"term":"Counter"},{"term":"Sensor"},{"term":"USB"},{"term":"12F"},{"term":"Matrix"},{"term":"Tools"},{"term":"Apps"},{"term":"DS1307"},{"term":"Programmer"},{"term":"Timer"},{"term":"Tuner"},{"term":"Uart"},{"term":"LDR"},{"term":"Remote"},{"term":"SPI"},{"term":"Security"},{"term":"DS1302"},{"term":"DS323x"},{"term":"Decoder"},{"term":"Logic"},{"term":"PCF8583"}],"title":{"type":"text","$t":"Scorpionz - Electronic Circuits and Microcontroller Projects"},"subtitle":{"type":"html","$t":""},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/-\/16F?alt=json-in-script\u0026max-results=7"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/search\/label\/16F"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"},{"rel":"next","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/-\/16F\/-\/16F?alt=json-in-script\u0026start-index=8\u0026max-results=7"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/04276791138418315268"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhOi2xKRvoV6gXKWi71KMKmEIRnpUCIKqooPVvYUWrT3XVz-dq56xLd_XdqhlDm93ymdLdRr_Y1tlZVnEiI63IqdHSIir_OVOWfXUvlAOQYI6s6Q_0RjB2Q1bTb0y2T_g\/s113\/19_scorpionsecondary.jpg"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"29"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"7"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-4305931222798994858"},"published":{"$t":"2020-11-01T14:05:00.221+05:30"},"updated":{"$t":"2022-01-09T19:27:31.657+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"I2C"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tuner"},{"scheme":"http://www.blogger.com/atom/ns#","term":"USB"}],"title":{"type":"text","$t":"AN7223 LM7001 PLL FM Stereo Tuner, JQ8400 USB MP3, Bluetooth Audio Player - 16F690"},"content":{"type":"html","$t":"\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh3LigyGY9NGCqalQV1gtgbhcYmZFqdf1tlBKPLaKf1NhE5YNEEJ9DUipuZdSFC1Ir19RC549E9OrVjzu5EjvmYjk2ax8HD3OIvpsKxuhJQFta1HTPwEHe9Cq0amsQLk-AbkP2xzqmVHcKc\/s403\/usb_fm.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"FM USB MP3 Player\" border=\"0\" data-original-height=\"236\" data-original-width=\"403\" height=\"187\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh3LigyGY9NGCqalQV1gtgbhcYmZFqdf1tlBKPLaKf1NhE5YNEEJ9DUipuZdSFC1Ir19RC549E9OrVjzu5EjvmYjk2ax8HD3OIvpsKxuhJQFta1HTPwEHe9Cq0amsQLk-AbkP2xzqmVHcKc\/w320-h187\/usb_fm.jpg\" title=\"FM USB MP3 Player\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EAudio Player\u003Cbr \/\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is my new project, 3 in 1 audio player that design for my amplifier.  It built in FM radio, USB player and Bluetooth module. Also include a simple mixer with op-amp. \n\u003Cbr \/\u003E\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjtdqnOb4jypEz-UoG5V5kTVZ07Y0dd07Dg-dUmz1FIAq1fVKmip6epG-tHPwHFDPU2yU0I-uD14M_sApSo-sRhFLmQgmDoSJ4_3yaoIKVgMAhfB01lwawlHMpPzop3wMWesYdB2meF7FF8\/s1800\/Bottom+PCB%257E1.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Bottom PCB\" border=\"0\" data-original-height=\"1800\" data-original-width=\"1350\" height=\"320\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjtdqnOb4jypEz-UoG5V5kTVZ07Y0dd07Dg-dUmz1FIAq1fVKmip6epG-tHPwHFDPU2yU0I-uD14M_sApSo-sRhFLmQgmDoSJ4_3yaoIKVgMAhfB01lwawlHMpPzop3wMWesYdB2meF7FF8\/w240-h320\/Bottom+PCB%257E1.jpg\" title=\"Bottom PCB\" width=\"240\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EBottom PCB\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg9BX5lDpV6U8Gt8Tc2r7VNhtKDtOox40h6hunX_v40YS_ooyAQXj21OsMnvp7KncQhyphenhyphenKrsoYlYsYq_z2F3MiYmgEDwm6IuzohLnwi9wUVAsLrxI7SbgxfpleRbKMrUfZZpyNqaKm3RErPv\/s2048\/Top+PCB%257E1.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Top PCB\" border=\"0\" data-original-height=\"1536\" data-original-width=\"2048\" height=\"240\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg9BX5lDpV6U8Gt8Tc2r7VNhtKDtOox40h6hunX_v40YS_ooyAQXj21OsMnvp7KncQhyphenhyphenKrsoYlYsYq_z2F3MiYmgEDwm6IuzohLnwi9wUVAsLrxI7SbgxfpleRbKMrUfZZpyNqaKm3RErPv\/w320-h240\/Top+PCB%257E1.jpg\" title=\"Top PCB\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ETop PCB\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiw01FFvkRF5xGLRnHb9W5DK_cp5wuc51kgzfZA3U86_uYl3UieW4latJ4bN03qFqSSZlC5hCxhvqJpk-w0QpVXZZtzUJDc1rGmIHkgFBb8_Y24h2aJmRWgf5YK_i2JxeWZos3Ymb7ZL2ce\/s2048\/Side+View.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Side View\" border=\"0\" data-original-height=\"1536\" data-original-width=\"2048\" height=\"240\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiw01FFvkRF5xGLRnHb9W5DK_cp5wuc51kgzfZA3U86_uYl3UieW4latJ4bN03qFqSSZlC5hCxhvqJpk-w0QpVXZZtzUJDc1rGmIHkgFBb8_Y24h2aJmRWgf5YK_i2JxeWZos3Ymb7ZL2ce\/w320-h240\/Side+View.jpg\" title=\"Side View\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ESide View\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nFor tuner section I used AN7223 and TA7343 and for PLL here I used LM7001 low cost IC. JQ8400 used for USB function and it controlled by a PIC16F690 microcontroller.  U can use any Bluetooth audio module for this. I used MH-M18 Bluetooth module for this. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgpg0jnB7J9xrR9RSB5ZIcAgj-bZwBtpSs60BQ9ghMAhIcwKVzDzhEc-DY6nMwHzhyFMDbIbXzUKlvz9ElAsPBcIOzK9s_WaZNVE-G9-wker6r5819WuH4ic4q_jNk-TbZaNAHhKlUXoB9S\/s781\/jq8400+module+pin.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"JQ8400 Module\" border=\"0\" data-original-height=\"646\" data-original-width=\"781\" height=\"264\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgpg0jnB7J9xrR9RSB5ZIcAgj-bZwBtpSs60BQ9ghMAhIcwKVzDzhEc-DY6nMwHzhyFMDbIbXzUKlvz9ElAsPBcIOzK9s_WaZNVE-G9-wker6r5819WuH4ic4q_jNk-TbZaNAHhKlUXoB9S\/w320-h264\/jq8400+module+pin.jpg\" title=\"JQ8400 Module\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EJQ8400 Module\u003Cbr \/\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh57wOj4cHBh8JSKT4MAyLJbdZ7-gNKIkT3oEYVSmWTY841rycIDP-3kPq1KZRJ0sddUpwIHegHePQ24tP7ahTylAp4sKWsr5Fv2J8Q8HE-IiAVyeeMMisXwj9Fkf7WtSrt_XGomKZAHGh-\/s617\/-2016744598-1167099602.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Bluetooth Module\" border=\"0\" data-original-height=\"472\" data-original-width=\"617\" height=\"245\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh57wOj4cHBh8JSKT4MAyLJbdZ7-gNKIkT3oEYVSmWTY841rycIDP-3kPq1KZRJ0sddUpwIHegHePQ24tP7ahTylAp4sKWsr5Fv2J8Q8HE-IiAVyeeMMisXwj9Fkf7WtSrt_XGomKZAHGh-\/w320-h245\/-2016744598-1167099602.jpg\" title=\"Bluetooth Module\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EBluetooth Module\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nPlease read my previous post for detailed information about \u003Ca href=\"https:\/\/scopionz.blogspot.com\/2015\/06\/pll-synthesized-fm-receiver-pic16f88.html\" rel=\"nofollow\" target=\"_blank\"\u003EPLL FM tuner\u003C\/a\u003E and \u003Ca href=\"https:\/\/scopionz.blogspot.com\/2020\/08\/jq8400-mp3-voice-module-microe-c-code.html\" rel=\"nofollow\" target=\"_blank\"\u003Ejq8400\u003C\/a\u003E. I wrote a small sample program for control this unit and u can modify it according to your need. Don’t use relay. Just connect I2C directly to R37 \u0026amp; R39.\n\u003Cbr \/\u003E\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiGfPPHu3DeBZFHXMMp7mV2Ke2aaEoe9SFrpP3yraZNEhpr1dcY5jEcOqfxms5Vnw_HuKQ3Shu45-we5nNg9n3BJi2RcpnXl7SL9shCli6AP3E7iIBB-qROIldfm4W9FRnGMggfO-xf1IOe\/s1890\/audio+player.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Control Circuit\" border=\"0\" data-original-height=\"1482\" data-original-width=\"1890\" height=\"251\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiGfPPHu3DeBZFHXMMp7mV2Ke2aaEoe9SFrpP3yraZNEhpr1dcY5jEcOqfxms5Vnw_HuKQ3Shu45-we5nNg9n3BJi2RcpnXl7SL9shCli6AP3E7iIBB-qROIldfm4W9FRnGMggfO-xf1IOe\/w320-h251\/audio+player.jpg\" title=\"Control Circuit\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EControl Circuit\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cu\u003EUsage of usb command\u003C\/u\u003E\n\u003C\/h4\u003E\n\u003Cmyquote\u003E\/\/ --------- commands -----------------\nWrite_Df(0x06,0,0); \/\/ mp3 next\nWrite_Df(0x05,0,0); \/\/ mp3 prev\nWrite_Df(0x02,0,0); \/\/ mp3 play\nWrite_Df(0x03,0,0); \/\/ mp3 pause\nWrite_Df(0x04,0,0); \/\/ mp3 stop\nWrite_Df(0x21,0,0); \/\/ mp3 random\nWrite_Df(0xA3,0,5); \/\/ mp3 ff 5s\nWrite_Df(0xA2,0,5); \/\/ mp3 fr 5s\nwrite_Df(0x87,Cur_Tr\u0026gt;\u0026gt;8,Cur_Tr); \/\/ mp3 track play (max 9999)\u003C\/myquote\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMikro c source code for Control circuit, source code for PLL FM, Hex file for jq8400 controller and PCB file and circuit are in download section. Hope you like it.\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\u003C\/div\u003E\u003Ch3 class=\"trigger\"\u003E\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\u003Cdiv class=\"toggle_container\"\u003E\u003Cdiv class=\"block\"\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\u003Ca href=\"http:\/\/tiny.cc\/PLL_FM_demo\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EPLL FM Code\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\u003Ca href=\"http:\/\/tiny.cc\/Audio_sample\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EController Code\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\u003Ca href=\"http:\/\/tiny.cc\/amp_df_hex\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EJQ8400 Controller HEX\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\u003Ca href=\"http:\/\/tiny.cc\/audio_ply_pcb\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EPCB And Sch File\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003C\/blockquote\u003E\u003C\/div\u003E\u003C\/div\u003E\u003Cbr \/\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/4305931222798994858\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/11\/an7223-lm7001-pll-fm-stereo-tuner.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4305931222798994858"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4305931222798994858"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/11\/an7223-lm7001-pll-fm-stereo-tuner.html","title":"AN7223 LM7001 PLL FM Stereo Tuner, JQ8400 USB MP3, Bluetooth Audio Player - 16F690"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh3LigyGY9NGCqalQV1gtgbhcYmZFqdf1tlBKPLaKf1NhE5YNEEJ9DUipuZdSFC1Ir19RC549E9OrVjzu5EjvmYjk2ax8HD3OIvpsKxuhJQFta1HTPwEHe9Cq0amsQLk-AbkP2xzqmVHcKc\/s72-w320-h187-c\/usb_fm.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-6948529515935856864"},"published":{"$t":"2020-04-19T11:26:00.001+05:30"},"updated":{"$t":"2020-04-19T11:26:09.072+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"7 Band Real Time Audio Spectrum Analyzer Circuit - 16F819 BA3834S"},"content":{"type":"html","$t":"\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/thumbs.gfycat.com\/DifficultAllAphid-small.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16F819 Audio Spectrum Analyzer\" border=\"0\" data-original-height=\"251\" data-original-width=\"335\" height=\"149\" src=\"https:\/\/thumbs.gfycat.com\/DifficultAllAphid-small.gif\" title=\"16F819 Audio Spectrum Analyzer\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E\u003Cspan style=\"font-size: xx-small; text-align: start;\"\u003E16F819 Audio Spectrum Analyzer\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nThis is the new version of my previous \u003Ca href=\"https:\/\/scopionz.blogspot.com\/2014\/10\/real-time-audio-spectrum-analizer.html\" target=\"_blank\"\u003Espectrum analyzer\u003C\/a\u003E. Used PIC16F819 microcontroller and BA3834 Band-pass filter for spectrum analyzer. It has two versions, BA3834S and BA3834F. Here i used BA3834S. BA3834 are 7-band, band-pass filter ICs that use microprocessor time division to produce serial output for spectrum analyzer displays. To minimize the number of attached components required and enable compact and reliable designs, all of the capacitors for the filters are on the chip. So we can build spectrum analyzer easily\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhWH1qfio7ZYxnS7KfSde2xICOqiBVSN6Z0OEH2hYgRcSiqsAzPAQcZwtGdTwncSPH36J-3qKCHY_XtOlW6ndbGcztc4ZXIqOqj1FyXZndjKsWPbp10ZgXvz1EJ3z1iJOx8-vcu7R-3RI3-\/s1600\/16f819+analizer+circuit.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16f819 analizer circuit\" border=\"0\" data-original-height=\"352\" data-original-width=\"766\" height=\"183\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhWH1qfio7ZYxnS7KfSde2xICOqiBVSN6Z0OEH2hYgRcSiqsAzPAQcZwtGdTwncSPH36J-3qKCHY_XtOlW6ndbGcztc4ZXIqOqj1FyXZndjKsWPbp10ZgXvz1EJ3z1iJOx8-vcu7R-3RI3-\/s400\/16f819+analizer+circuit.JPG\" title=\"16f819 analizer circuit\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EAnalizer circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nThis circuit included 11 modes (9 patterns, off and random) and it shows which pattern currently running at start-up (S1, S2, etc.). In off mode it shows S0 on display and S+ for random mode. The pattern mode saved to Eeprom to run at next power up. In random mode it changes its pattern in every 3.5 minutes.\u003Cbr \/\u003E\nPCB, Circuit, and hex available in below\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbCcdd45akEKo7M6mQdepAcMDk7x18ew1k030kXenxYHy4QaJ8IjZTP3cv13cXf3EvoMymDbvKh9SEIAh8ik3lp6N7ylgSzGWHRpHCPrpzweogGa9QRswqEv1v3PPWK3eElZd7NqZ6bM50\/s1600\/16f819+analizer.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16f819 analizer\" border=\"0\" data-original-height=\"472\" data-original-width=\"1026\" height=\"90\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbCcdd45akEKo7M6mQdepAcMDk7x18ew1k030kXenxYHy4QaJ8IjZTP3cv13cXf3EvoMymDbvKh9SEIAh8ik3lp6N7ylgSzGWHRpHCPrpzweogGa9QRswqEv1v3PPWK3eElZd7NqZ6bM50\/s200\/16f819+analizer.jpg\" title=\"16f819 analizer\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh1jJad2aAx-S55incUDDQG8gI1-tfH525duT1YIMp2mpiib7cVRSUf94NP9YKzhPS19iU-_zB0BoOG0kpy0wr52dEmOxUEwXiRpJBU42wo3kaYJzd86MvU0tFVTqO8F5zIDCVgzIt_T3l_\/s1600\/16f819+analizer+pcb.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16f819 analizer pcb\" border=\"0\" data-original-height=\"853\" data-original-width=\"1600\" height=\"105\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh1jJad2aAx-S55incUDDQG8gI1-tfH525duT1YIMp2mpiib7cVRSUf94NP9YKzhPS19iU-_zB0BoOG0kpy0wr52dEmOxUEwXiRpJBU42wo3kaYJzd86MvU0tFVTqO8F5zIDCVgzIt_T3l_\/s200\/16f819+analizer+pcb.jpg\" title=\"16f819 analizer pcb\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjp9GIJ9UYZ38bSdi21uLodqkpS3WxdDgrxiYJ17W7vJXfRwiSYhmu7WNIjnpW6KFEBnlRXbxm6aKwKny4nQiyaOMtLFM11biv6mrT6btvMzXHLVxDkxxhLR0Gt2HCWrSAbrdS5ikZicazo\/s1600\/16f819+analizer+pcb+b.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16f819 analizer pcb\" border=\"0\" data-original-height=\"696\" data-original-width=\"1600\" height=\"85\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjp9GIJ9UYZ38bSdi21uLodqkpS3WxdDgrxiYJ17W7vJXfRwiSYhmu7WNIjnpW6KFEBnlRXbxm6aKwKny4nQiyaOMtLFM11biv6mrT6btvMzXHLVxDkxxhLR0Gt2HCWrSAbrdS5ikZicazo\/s200\/16f819+analizer+pcb+b.jpg\" title=\"16f819 analizer pcb\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ciframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https:\/\/www.blogger.com\/video.g?token=AD6v5dzaJH7M_CAM6Yn8Ip73SNRTHEGg_vZzJSFPr1ohItlfzfAe32jWYAub2LsusnDbjPS7z8ouzujp1IouEdLBdQ' class='b-hbp-video b-uploaded' frameborder='0'\u003E\u003C\/iframe\u003E\u003C\/div\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\u003C\/div\u003E\u003Ch3 class=\"trigger\"\u003E\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\u003Cdiv class=\"toggle_container\"\u003E\u003Cdiv class=\"block\"\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cdiv style=\"text-align: center;\"\u003E\u003Ca href=\"http:\/\/tiny.cc\/16f819_anz\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ESchematic, PCB and Hex\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\u003C\/blockquote\u003E\u003C\/div\u003E\u003C\/div\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/6948529515935856864\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/04\/7-band-real-time-audio-spectrum.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6948529515935856864"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6948529515935856864"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/04\/7-band-real-time-audio-spectrum.html","title":"7 Band Real Time Audio Spectrum Analyzer Circuit - 16F819 BA3834S"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhWH1qfio7ZYxnS7KfSde2xICOqiBVSN6Z0OEH2hYgRcSiqsAzPAQcZwtGdTwncSPH36J-3qKCHY_XtOlW6ndbGcztc4ZXIqOqj1FyXZndjKsWPbp10ZgXvz1EJ3z1iJOx8-vcu7R-3RI3-\/s72-c\/16f819+analizer+circuit.JPG","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-5071799516182466562"},"published":{"$t":"2019-02-02T13:29:00.002+05:30"},"updated":{"$t":"2020-11-01T14:09:19.087+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Uart"},{"scheme":"http://www.blogger.com/atom/ns#","term":"USB"}],"title":{"type":"text","$t":"Uart Controlled DF Player Mikroc Code - 16F628A"},"content":{"type":"html","$t":"\u0026nbsp; The DFPlayer Mini MP3 Player is a small and low cost MP3  module with an simplified output directly to the speaker. The module can  be used as a stand alone module with attached battery, speaker and push  buttons or used in combination with a PIC, Arduino or any other with  RX\/TX capabilities. For this project, I would control the MP3 Player  module with a microcontroller and RS232.\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: left;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhsFcG-KjI8BW2Aru3DxxQLNx4m1TanmlbzwWV9SurXbofbWrp3fbtC6PWV_gBytj1RLUMA3kqG6wtfLZ-b7tz_eP2yH-wy__WTJmB7hHMVf5KkNCyTAQq7Sey7yLY1A-PgsyZ_5GOIYR7t\/s1600\/df_player.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DF Player\" border=\"0\" data-original-height=\"600\" data-original-width=\"600\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhsFcG-KjI8BW2Aru3DxxQLNx4m1TanmlbzwWV9SurXbofbWrp3fbtC6PWV_gBytj1RLUMA3kqG6wtfLZ-b7tz_eP2yH-wy__WTJmB7hHMVf5KkNCyTAQq7Sey7yLY1A-PgsyZ_5GOIYR7t\/s200\/df_player.jpg\" title=\"DF Player\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDF Player \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\n\u0026nbsp; The DF Player module has all the features which a MP3 player should  have. Including advance equalizers, looping and shuffling functions. But  here I will show you how to build a simple player with Play\/Pause,  Next\/Preview and vol Up\/Down functions. Later you can add more features.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhdeuBZBlDr_Sxle1xLouHl_P3x7qvV1v8mhv865Bkp1VKOEl6nI9UbCj_dOZtZ0__uYw1A_yP6dyOXXg_-u23Ppmp_RsQK9lHUY1e90cHQyPTjp9ZjEERuoYw8oj2iCm4CbR63QzVxeVJc\/s1600\/dfplayer-pin.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DF Player Pin\" border=\"0\" data-original-height=\"316\" data-original-width=\"488\" height=\"207\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhdeuBZBlDr_Sxle1xLouHl_P3x7qvV1v8mhv865Bkp1VKOEl6nI9UbCj_dOZtZ0__uYw1A_yP6dyOXXg_-u23Ppmp_RsQK9lHUY1e90cHQyPTjp9ZjEERuoYw8oj2iCm4CbR63QzVxeVJc\/s320\/dfplayer-pin.jpg\" title=\"DF Player Pin\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDF Player Pin\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003C\/div\u003E\u003Ch4\u003E\u003Cu\u003ESpecifications:\u003C\/u\u003E\u003C\/h4\u003E\u003Cul\u003E\u003Cli\u003ESupported sampling rates (kHz): 8\/11.025\/12\/16\/22.05\/24\/32\/44.1\/48\u003C\/li\u003E\n\u003Cli\u003E24 -bit DAC output, support for dynamic range 90dB , SNR support 85dB\u003C\/li\u003E\n\u003Cli\u003EFully supports FAT16 , FAT32 file system, maximum support 32G of the TF card, support 32G of U disk, 64M bytes NORFLASH\u003C\/li\u003E\n\u003Cli\u003EA variety of control modes, I\/O control mode, serial mode, AD button control mode \u003C\/li\u003E\n\u003Cli\u003EAudio data sorted by folder, supports up to 100 folders, every folder can hold up to 255 songs\u003C\/li\u003E\n\u003Cli\u003E30 level adjustable volume\u003C\/li\u003E\n\u003Cli\u003E6 -level EQ adjustable\u003C\/li\u003E\n\u003C\/ul\u003E\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhhPqS9T5Qc1yE8EDNHKQSivSzfROcgdvrk2bp4m3tKQo8_2fitk27G9xwCV2UjdH8LLFtRE4MKhnsaag_wU0t-DeyrX7geAwvODt5J3Hj6lmFgbL8amXOKtEJQ2ynHJCpHb7GxZAJj3Qum\/s1600\/MP3-PLAY+-+Layout01.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Stand-alone Circuit\" border=\"0\" data-original-height=\"274\" data-original-width=\"550\" height=\"158\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhhPqS9T5Qc1yE8EDNHKQSivSzfROcgdvrk2bp4m3tKQo8_2fitk27G9xwCV2UjdH8LLFtRE4MKhnsaag_wU0t-DeyrX7geAwvODt5J3Hj6lmFgbL8amXOKtEJQ2ynHJCpHb7GxZAJj3Qum\/s320\/MP3-PLAY+-+Layout01.jpg\" title=\"Stand-alone Circuit\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EStand-alone Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Ch4\u003E\u003Cu\u003ECircuit:\u003C\/u\u003E\u003C\/h4\u003E\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgKzSCj9PPHWQfGVPdWU6YCHKkoEk4qhlm3BHg02xVQuii9Y2rLIbj1TYAcP41DvWh6sVYyNXw7SEqdEiTGVe18d0VIp8GwdTda1nGYaYU_FfyWSm7DX502sa8QzMqcDzZdUnTJcsF_jvkh\/s1600\/df+player.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DF Palyer Circuit\" border=\"0\" data-original-height=\"321\" data-original-width=\"476\" height=\"215\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgKzSCj9PPHWQfGVPdWU6YCHKkoEk4qhlm3BHg02xVQuii9Y2rLIbj1TYAcP41DvWh6sVYyNXw7SEqdEiTGVe18d0VIp8GwdTda1nGYaYU_FfyWSm7DX502sa8QzMqcDzZdUnTJcsF_jvkh\/s320\/df+player.jpg\" title=\"DF Palyer Circuit\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDF Palyer Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nIn this circuit I used PIC16F628A and its configure to run using its internal oscillator. For sending commands to the PIC i used uart terminal that built in with Mikroc and u need a TTL converter module fo that. Rx pin of df player connected to the PIC's Tx and Rx pin of PIC connected to the TTL converter's Tx.\u003Cbr \/\u003E\nRx pin of TTL converter connected to the df player's Tx (optional)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"float: left; margin-right: 1em; text-align: left;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEitdbHR-uS3fgAUkbL_33ASg0CX8un_O2OnDJD1M8FxhE23UwW3LBUtd2Yc4Bz0_4JJ4Ax3BhpiRx99ezp_AJWuKR39m2zUrCtTx35GhYLEO_b-8KM_t2d5NVsP3_oV16wifb5e8Ageg2G1\/s1600\/Uart+TTL+Module.jpg\" imageanchor=\"1\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Uart TTL Module\" border=\"0\" data-original-height=\"355\" data-original-width=\"562\" height=\"125\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEitdbHR-uS3fgAUkbL_33ASg0CX8un_O2OnDJD1M8FxhE23UwW3LBUtd2Yc4Bz0_4JJ4Ax3BhpiRx99ezp_AJWuKR39m2zUrCtTx35GhYLEO_b-8KM_t2d5NVsP3_oV16wifb5e8Ageg2G1\/s200\/Uart+TTL+Module.jpg\" title=\"Uart TTL Module\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EUart TTL Module\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh7GBxQkD_Uq9p8DviSOkb3PAnj2k6yNrwDMZvxd6b7ROUK36ky6LDQEOwM55P2edX9wYCcGsM-yUokBIH5qxiVUlvsoGbr8gQFrXe-D1orS35d_7woUUmeeSIkdZpVAXxDd7ba71XKMXgP\/s1600\/USB+TTL+Module.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"USB TTL Module\" border=\"0\" data-original-height=\"322\" data-original-width=\"414\" height=\"155\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh7GBxQkD_Uq9p8DviSOkb3PAnj2k6yNrwDMZvxd6b7ROUK36ky6LDQEOwM55P2edX9wYCcGsM-yUokBIH5qxiVUlvsoGbr8gQFrXe-D1orS35d_7woUUmeeSIkdZpVAXxDd7ba71XKMXgP\/s200\/USB+TTL+Module.jpg\" title=\"USB TTL Module\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EUSB TTL Module\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nConnect circuit as above and plug usb or TF card.Then open uart terminal and enter commands as below..\u003Cbr \/\u003E\nr - Play, s - Pause, n - Next, p - Previous, u - Vol+, d - Vol-.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhS6PDNEkOOTnJh37RjrV9sUmHtznWi13QN98ZY2nNANi2fCep8Oz9MFDErzhBYo8VFgekQbls3QR0f-O3m0wbbu3RKwHyNYWJvL5j_27f7ppA7bydkoQ19YgRnaeexmwZ_vHBc4QOG1Hhx\/s1600\/df+palyer+connection.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"df palyer connection\" border=\"0\" data-original-height=\"1005\" data-original-width=\"1600\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhS6PDNEkOOTnJh37RjrV9sUmHtznWi13QN98ZY2nNANi2fCep8Oz9MFDErzhBYo8VFgekQbls3QR0f-O3m0wbbu3RKwHyNYWJvL5j_27f7ppA7bydkoQ19YgRnaeexmwZ_vHBc4QOG1Hhx\/s320\/df+palyer+connection.jpg\" title=\"df palyer connection\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDf palyer connection\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg-RLbXnQPlh8AS4l3mEEshI5sfx6nGsP2R3B3UVLE1hI6MXjWLwHvflQL9nBjJlw0mt3_MRDXasHCC86kY1oYUpo6lV4NiJx3T6Qr-hC4Z4WB8-fAD9Qnj-kHSXOhC36llbx3Yuo9cs2Wl\/s1600\/Df+circuit+in+dot+board.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Circuit in dot board\" border=\"0\" data-original-height=\"768\" data-original-width=\"756\" height=\"320\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg-RLbXnQPlh8AS4l3mEEshI5sfx6nGsP2R3B3UVLE1hI6MXjWLwHvflQL9nBjJlw0mt3_MRDXasHCC86kY1oYUpo6lV4NiJx3T6Qr-hC4Z4WB8-fAD9Qnj-kHSXOhC36llbx3Yuo9cs2Wl\/s320\/Df+circuit+in+dot+board.jpg\" title=\"Circuit in dot board\" width=\"315\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ECircuit in dot board\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Ch4\u003E\u003Cu\u003ECode:\u003C\/u\u003E\u003C\/h4\u003EThis code was written by using mikroC PRO for PIC v6.\u003Cbr \/\u003E\n\u003Cmyquote class=\"tr_bq\"\u003E\u003Cbr \/\u003E\n\/**************************************************************************\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDF Player\u003Cbr \/\u003E\nCopyright (C) 2019 Scorpionz\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis program is free software: you can redistribute it and\/or modify\u003Cbr \/\u003E\nit under the terms of the GNU General Public License as published by\u003Cbr \/\u003E\nthe Free Software Foundation, either version 3 of the License, or\u003Cbr \/\u003E\n(at your option) any later version.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis program is distributed in the hope that it will be useful,\u003Cbr \/\u003E\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\u003Cbr \/\u003E\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\u003Cbr \/\u003E\nGNU General Public License for more details.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nYou should have received a copy of the GNU General Public License\u003Cbr \/\u003E\nalong with this program.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026gt;\u0026gt; Email: scorpionzblog@gmail.com\u003Cbr \/\u003E\n\u0026gt;\u0026gt; Blog : scopionz.blogspot.com\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n***************************************************************************\/\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nchar df_rd[10], dump, j, u_data;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid Write_Df_Data(char cmd, char data_H, char data_L) \/\/------- df data ----\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\n\u0026nbsp; char m = 0;\u003Cbr \/\u003E\n\u0026nbsp; char df_wr[] = {0x7E,0xFF,0x06,0,0,0,0,0xEF};\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[3]= cmd;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[5]= data_H;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[6]= data_L;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp; Delay_ms(100);\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp; for (m=0; m\u0026lt;8; m++) UART1_Write(df_wr[m]);\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp; Delay_ms(300);\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid interrupt() {\u0026nbsp;\u0026nbsp; \/\/-------- interrupt --------------------------------------\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;if (PIR1.RCIF) {\u0026nbsp;\u0026nbsp;\u0026nbsp; \/\/------- Usart interrupt ----------\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; PIE1.RCIE = 0;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; u_data = UART1_Read();\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data==0x7E)\u0026nbsp; {\u0026nbsp;\u0026nbsp;\u0026nbsp; \/\/ check first byte 0x7E\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; for (j=1; j\u0026lt;10; j++) { \/\/ read next 9 bytes 0xFF, 0x06, 0x03, 0x00, 0x00, 0x01, 0xFE, 0xF7, 0xEF\u003Cbr \/\u003E\nNo:\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(UART1_Data_Ready()) {\u0026nbsp;\u0026nbsp;\u0026nbsp; \/\/ Check, is data Ready..?\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_rd[j] = UART1_Read();\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; else goto No;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; delay_ms(50);\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(UART1_Data_Ready()) dump = UART1_Read(); \/\/remove duplicate data\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(df_rd[9]==0xEF) { \/\/check last byte 0xEF\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; delay_ms(100);\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(df_rd[3]==0x3C) Write_Df_Data(0x01,0,0); \/\/play next song\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; for (j=0; j\u0026lt;10; j++) df_rd[j]=0;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \/\/clear read buffer\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; else { \/\/------ keyboard commands -------------\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data=='n') Write_Df_Data(0x01,0,0); \/\/next\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data=='p') Write_Df_Data(0x02,0,0); \/\/prev\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data=='u') Write_Df_Data(0x04,0,0); \/\/vol+\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data=='d') Write_Df_Data(0x05,0,0); \/\/vol-\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data=='r') Write_Df_Data(0x0D,0,0); \/\/resume\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(u_data=='s') Write_Df_Data(0x0E,0,0); \/\/stop\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; PIE1.RCIE =1;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; PIR1.RCIF =0;\u003Cbr \/\u003E\n\u0026nbsp; }\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid main() \u003Cbr \/\u003E\n{\u003Cbr \/\u003E\n\u0026nbsp;PCON.OSCF = 1;\u0026nbsp;\u0026nbsp; \/\/4MHz Internal OSC\u003Cbr \/\u003E\n\u0026nbsp;CMCON\u0026nbsp; |= 0x07;\u0026nbsp; \/\/Disable Comparators\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;INTCON.GIE=1;\u003Cbr \/\u003E\n\u0026nbsp;INTCON.PEIE=1;\u003Cbr \/\u003E\n\u0026nbsp;PIE1.RCIE=1;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;TRISA = 0x00;\u003Cbr \/\u003E\n\u0026nbsp;TRISB = 0xFE;\u0026nbsp; \/\/Tx Rx\u003Cbr \/\u003E\n\u0026nbsp;PORTA = 0;\u003Cbr \/\u003E\n\u0026nbsp;PORTB = 0;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;Delay_Ms(3000);\u0026nbsp;\u0026nbsp; \/\/ Df initialization 1.5 ~ 3Sec\u003Cbr \/\u003E\n\u0026nbsp;UART1_Init(9600);\u003Cbr \/\u003E\n}\u003C\/myquote\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\u003C\/div\u003E\u003Ch3 class=\"trigger\"\u003E\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\u003Cdiv class=\"toggle_container\"\u003E\u003Cdiv class=\"block\"\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cdiv style=\"text-align: center;\"\u003E\u003Ca href=\"http:\/\/tiny.cc\/df_datasheet\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EDatasheet\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/df_code\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EDF Player Files\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\u003C\/blockquote\u003E\u003C\/div\u003E\u003C\/div\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/5071799516182466562\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2019\/02\/uart-controlled-df-player-mikroc-code.html#comment-form","title":"2 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5071799516182466562"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5071799516182466562"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2019\/02\/uart-controlled-df-player-mikroc-code.html","title":"Uart Controlled DF Player Mikroc Code - 16F628A"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhsFcG-KjI8BW2Aru3DxxQLNx4m1TanmlbzwWV9SurXbofbWrp3fbtC6PWV_gBytj1RLUMA3kqG6wtfLZ-b7tz_eP2yH-wy__WTJmB7hHMVf5KkNCyTAQq7Sey7yLY1A-PgsyZ_5GOIYR7t\/s72-c\/df_player.jpg","height":"72","width":"72"},"thr$total":{"$t":"2"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-9025807555071597086"},"published":{"$t":"2017-11-04T13:14:00.002+05:30"},"updated":{"$t":"2017-11-13T20:38:09.237+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Clock"},{"scheme":"http://www.blogger.com/atom/ns#","term":"DS323x"},{"scheme":"http://www.blogger.com/atom/ns#","term":"I2C"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"DS3231 RTC Clock mikro C Demo Code - 16F648A"},"content":{"type":"html","$t":"\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh8x8KCZ4mBYlO9Y-vb26A18pMmp9z13Agbyf0g2zKzG1uL6b_ALcG4ZW_eR8zTcL-8PtaVz3ghyphenhyphenEkjyMANdlxgK3IYG2DX8SbASy8nv8f0oZitlpMv4Ta7zwMdT1CaNrQe6BfS7chY4ttP\/s1600\/lcd+clock.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"LCD Clock\" border=\"0\" data-original-height=\"138\" data-original-width=\"366\" height=\"120\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh8x8KCZ4mBYlO9Y-vb26A18pMmp9z13Agbyf0g2zKzG1uL6b_ALcG4ZW_eR8zTcL-8PtaVz3ghyphenhyphenEkjyMANdlxgK3IYG2DX8SbASy8nv8f0oZitlpMv4Ta7zwMdT1CaNrQe6BfS7chY4ttP\/s320\/lcd+clock.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ELCD Clock\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Ch3\u003E\nIntroduction:\n\u003C\/h3\u003E\nThe DS323x is a low-cost, extremely accurate I²C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. The device incorporates a battery input, and maintains accurate timekeeping when main power to the device is interrupted. The integration of the crystal resonator enhances the long-term accuracy of the device as well as reduces the piece-part count in a manufacturing line. The DS323x is available in commercial and industrial temperature ranges, and is offered in a 16-pin, 300-mil SO package.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"float: left; margin-right: 1em; text-align: left;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgTcgVyB27dmb1aKysBENgVkCXCAXqif_F_iyp7INm9dAvxRFyiz9uFsI6dp0Hk2XTOVS-q1q5d77nP9D6tEITLHTPmXqjcADvpj1-ifYIwLU9D-Waeba6VyPUFBP-CD1mxH0NiDD3ZYQBd\/s1600\/ds3231+block.png\" imageanchor=\"1\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS3231 Block Diagram\" border=\"0\" data-original-height=\"646\" data-original-width=\"833\" height=\"155\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgTcgVyB27dmb1aKysBENgVkCXCAXqif_F_iyp7INm9dAvxRFyiz9uFsI6dp0Hk2XTOVS-q1q5d77nP9D6tEITLHTPmXqjcADvpj1-ifYIwLU9D-Waeba6VyPUFBP-CD1mxH0NiDD3ZYQBd\/s200\/ds3231+block.png\" title=\"DS3231 Block Diagram\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDS3231 Block Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\nThe RTC maintains seconds, minutes, hours, day, date, month, and year information. The date at the end of the month is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with an active-low AM\/PM indicator. Two programmable time-of-day alarms and a programmable square-wave output are provided. Address and data are transferred serially through an I²C bidirectional bus.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMost RTCs use an external 32kHz timing crystal that is used to keep time with low current draw. And that’s all well and good, but those crystals have slight drift, particularly when the temperature changes (the temperature changes the oscillation frequency very very very slightly but it does add up!) This RTC is in a beefy package because the crystal is inside the chip! And right next to the integrated crystal is a temperature sensor. That sensor compensates for the frequency changes by adding or removing clock ticks so that the timekeeping stays on schedule.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiVeRcyB7tV0fE7OnM5TlHkzso36t-WvdlMu2xyqTNfQhNuoHLyJhFQ4wEd7tXYx2BgGMfJM1V7Ty1mTcMdJSSoOMuZn8x9eibjDGMaGXBqZqD7oP8RLHtn0vAIK0itPuzFC31_Ry_hCyKm\/s1600\/ds3231+module.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS3231 module\" border=\"0\" data-original-height=\"351\" data-original-width=\"561\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiVeRcyB7tV0fE7OnM5TlHkzso36t-WvdlMu2xyqTNfQhNuoHLyJhFQ4wEd7tXYx2BgGMfJM1V7Ty1mTcMdJSSoOMuZn8x9eibjDGMaGXBqZqD7oP8RLHtn0vAIK0itPuzFC31_Ry_hCyKm\/s320\/ds3231+module.JPG\" title=\"DS3231 module\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDS3231 module\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is the finest RTC you can get, and now it in a compact, breadboard-friendly breakout. With a coin cell plugged into the back, you can get years of precision timekeeping, even when main power is lost. Great for data-logging and clocks, or anything where you need to really know the time.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\nThe Circuit:\n\u003C\/h3\u003E\nThe circuit is very simple. It used PIC16F648A Pic micro, 16x2 LCD and DS3231 RTC module. The PIC used it's internal oscillator and run at 4MHz. Proteus and Hex file can download from the bottom of the page.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhV2Sx2H_tf-lIC2XOTWaef0M1iO2SPTTBaSYY_fpqu-426y36H6vMRXaXufd3M6L4W_nW-WNMA5eFgM6behPIzttwEg7Z1oOhq7V58BMsF_hgpeI1dvOYdVoJZvII-_7ULblI1_ZApI6Vp\/s1600\/ds3131.BMP.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS323x RTC Clock Circuit\" border=\"0\" data-original-height=\"780\" data-original-width=\"1433\" height=\"217\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhV2Sx2H_tf-lIC2XOTWaef0M1iO2SPTTBaSYY_fpqu-426y36H6vMRXaXufd3M6L4W_nW-WNMA5eFgM6behPIzttwEg7Z1oOhq7V58BMsF_hgpeI1dvOYdVoJZvII-_7ULblI1_ZApI6Vp\/s400\/ds3131.BMP.jpg\" title=\"DS323x RTC Clock Circuit\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDS323x RTC Clock Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\nMikroC PRO Source Code:\n\u003C\/h3\u003E\n\u003Cmyquote\u003E\/**************************************************************************\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDS323x RTC Clock Demo\u003Cbr \/\u003E\nCopyright (C) 2017 Scorpionz\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis program is free software: you can redistribute it and\/or modify\u003Cbr \/\u003E\nit under the terms of the GNU General Public License as published by\u003Cbr \/\u003E\nthe Free Software Foundation, either version 3 of the License, or\u003Cbr \/\u003E\n(at your option) any later version.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis program is distributed in the hope that it will be useful,\u003Cbr \/\u003E\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\u003Cbr \/\u003E\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\u003Cbr \/\u003E\nGNU General Public License for more details.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nYou should have received a copy of the GNU General Public License\u003Cbr \/\u003E\nalong with this program.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026gt;\u0026gt; Email: scorpionzblog@gmail.com\u003Cbr \/\u003E\n\u0026gt;\u0026gt; Blog : scopionz.blogspot.com\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n***************************************************************************\/\u003Cbr \/\u003E\n\u003Cbr \/\u003E\u003Cbr \/\u003E\n\/\/ Software I2C connections\u003Cbr \/\u003E\nsbit Soft_I2C_Scl           at RB2_bit;\u003Cbr \/\u003E\nsbit Soft_I2C_Sda           at RB1_bit;\u003Cbr \/\u003E\nsbit Soft_I2C_Scl_Direction at TRISB2_bit;\u003Cbr \/\u003E\nsbit Soft_I2C_Sda_Direction at TRISB1_bit;\u003Cbr \/\u003E\n\/\/ End Software I2C connections\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n\/\/ LCD module connections\u003Cbr \/\u003E\nsbit LCD_RS at RB0_bit;\u003Cbr \/\u003E\nsbit LCD_EN at RB3_bit;\u003Cbr \/\u003E\nsbit LCD_D4 at RB4_bit;\u003Cbr \/\u003E\nsbit LCD_D5 at RB5_bit;\u003Cbr \/\u003E\nsbit LCD_D6 at RB6_bit;\u003Cbr \/\u003E\nsbit LCD_D7 at RB7_bit;\u003Cbr \/\u003E\u003Cbr \/\u003E\n\nsbit LCD_RS_Direction at TRISB0_bit;\u003Cbr \/\u003E\nsbit LCD_EN_Direction at TRISB3_bit;\u003Cbr \/\u003E\nsbit LCD_D4_Direction at TRISB4_bit;\u003Cbr \/\u003E\nsbit LCD_D5_Direction at TRISB5_bit;\u003Cbr \/\u003E\nsbit LCD_D6_Direction at TRISB6_bit;\u003Cbr \/\u003E\nsbit LCD_D7_Direction at TRISB7_bit;\u003Cbr \/\u003E\n\/\/ End LCD module connections\u003Cbr \/\u003E\u003Cbr \/\u003E\n\nchar seconds, minutes, hours, day, date, month, year, tem_l, tem_h; \/\/ Global variables\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n\/\/--------------------- Reads time and date information from RTC (DS3231)\u003Cbr \/\u003E\nvoid Read_Time()\u003Cbr \/\u003E \n{\u003Cbr \/\u003E\n  Soft_I2C_Start();               \/\/ Issue start signal\u003Cbr \/\u003E\n  Soft_I2C_Write(0xD0);           \/\/ Address DS3231, see DS3231 datasheet\u003Cbr \/\u003E\n  Soft_I2C_Write(0);              \/\/ Start from address 0\u003Cbr \/\u003E\n  Soft_I2C_Start();               \/\/ Issue repeated start signal\u003Cbr \/\u003E\n  Soft_I2C_Write(0xD1);           \/\/ Address DS3231 for reading R\/W=1\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n  seconds = Bcd2Dec(Soft_I2C_Read(1));     \/\/ Read seconds byte\u003Cbr \/\u003E\n  minutes = Bcd2Dec(Soft_I2C_Read(1));     \/\/ Read minutes byte\u003Cbr \/\u003E\n  hours = Bcd2Dec(Soft_I2C_Read(1));       \/\/ Read hours byte\u003Cbr \/\u003E\n  day = Bcd2Dec(Soft_I2C_Read(1));         \/\/ Read day byte\u003Cbr \/\u003E\n  date = Bcd2Dec(Soft_I2C_Read(1));        \/\/ Read date byte\u003Cbr \/\u003E\n  month = Bcd2Dec(Soft_I2C_Read(1));       \/\/ Read month byte\u003Cbr \/\u003E\n  year = Bcd2Dec(Soft_I2C_Read(1));        \/\/ Read year byte\u003Cbr \/\u003E\u003Cbr \/\u003E\n  \n  Bcd2Dec(Soft_I2C_Read(1));  \/\/ Alarm\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\u003Cbr \/\u003E\n  \n  Bcd2Dec(Soft_I2C_Read(1));  \/\/ Data\u003Cbr \/\u003E\n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\u003Cbr \/\u003E\n  \n  Bcd2Dec(Soft_I2C_Read(1));\u003Cbr \/\u003E\u003Cbr \/\u003E\n  \n  tem_h = Bcd2Dec(Soft_I2C_Read(1));  \/\/ Temp\u003Cbr \/\u003E\n  tem_l = Bcd2Dec(Soft_I2C_Read(0));\u003Cbr \/\u003E\u003Cbr \/\u003E\n  \n  Soft_I2C_Stop();                    \/\/ Issue stop signal\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\u003Cbr \/\u003E\n\nvoid write_data(char address, char w_data)\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\n  Soft_I2C_Start();           \/\/ issue I2C start signal\u003Cbr \/\u003E\n  Soft_I2C_Write(0xD0);       \/\/ send byte via I2C (device address + W)\u003Cbr \/\u003E\n  Soft_I2C_Write(address);    \/\/ send byte (address of DS3231 location)\u003Cbr \/\u003E\n  Soft_I2C_Write(w_data);     \/\/ send data (data to be written)\u003Cbr \/\u003E\n  Soft_I2C_Stop();            \/\/ issue I2C stop signal\u003Cbr \/\u003E\n  delay_ms(50);\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n\/\/-------------------- Output values to LCD\u003Cbr \/\u003E\nvoid Display_Time()\u003Cbr \/\u003E \n{\u003Cbr \/\u003E\n   Lcd_Chr(2, 7, (hours \/ 10)   + 48);\u003Cbr \/\u003E\n   Lcd_Chr(2, 8, (hours % 10)   + 48);\u003Cbr \/\u003E\n   Lcd_Chr(2,10, (minutes \/ 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(2,11, (minutes % 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(2,13, (seconds \/ 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(2,14, (seconds % 10) + 48);\u003Cbr \/\u003E\u003Cbr \/\u003E\n   \n   Lcd_Chr(2,16, (day % 10) + 48); \/\/ day\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\u003Cbr \/\u003E\n\nvoid Display_Date()\u003Cbr \/\u003E \n{\u003Cbr \/\u003E\n   Lcd_Out(1,1,\"Date: \");   \/\/ Prepare and output static text on LCD\u003Cbr \/\u003E\n   Lcd_Chr(1,9,'-');\u003Cbr \/\u003E\n   Lcd_Chr(1,12,'-');\u003Cbr \/\u003E\n   Lcd_Out(1,13,\"20\");      \/\/ start from year 2000\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n   Lcd_Chr(1, 7, (date \/ 10)   + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1, 8, (date % 10)   + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1,10, (month \/ 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1,11, (month % 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1,15, (year \/ 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1,16, (year % 10) + 48);\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\n\nvoid Display_Temp()\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\n   Lcd_Out(1, 1,\"Temp: +\");\u003Cbr \/\u003E\n   Lcd_Out(1,13,\"ßC  \");\u003Cbr \/\u003E\n   Lcd_Chr(1,10,'.');\u003Cbr \/\u003E\u003Cbr \/\u003E\n   \n   tem_l=tem_l*25;\u003Cbr \/\u003E\u003Cbr \/\u003E\n   \n   Lcd_Chr(1, 8, ((tem_h \u0026amp; 127) \/ 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1, 9, ((tem_h \u0026amp; 127) % 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1, 11, (tem_l \/ 10) + 48);\u003Cbr \/\u003E\n   Lcd_Chr(1, 12, (tem_l % 10) + 48);\u003Cbr \/\u003E\u003Cbr \/\u003E\n   \n   if(tem_h \u0026amp; 128) Lcd_Chr(1, 7, '-');\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n\/\/------------------ Performs project\u003Cbr \/\u003E\nvoid Init_Main()\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\n  PCON.OSCF = 1;             \/\/4MHz\u003Cbr \/\u003E\n  CMCON  |= 0x07;            \/\/ Disable Comparators      CMCON  |= 7;\u003Cbr \/\u003E\n  OPTION_REG = 0;\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n  Soft_I2C_Init();           \/\/ Initialize Soft I2C communication\u003Cbr \/\u003E\n  Lcd_Init();                \/\/ Initialize LCD\u003Cbr \/\u003E\n  Lcd_Cmd(_LCD_CLEAR);       \/\/ Clear LCD display\u003Cbr \/\u003E\n  Lcd_Cmd(_LCD_CURSOR_OFF);  \/\/ Turn cursor off\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n  Lcd_Out(1,3,\".:Scorpionz:.\");\u003Cbr \/\u003E\n  Delay_ms(500);\u003Cbr \/\u003E\n  Lcd_Out(2,1,\"Ds3231 RTC Clock\");\u003Cbr \/\u003E\n  Delay_ms(1500);\u003Cbr \/\u003E\n  Lcd_Cmd(_LCD_CLEAR);\u003Cbr \/\u003E\n  Lcd_Out(2,1,\"Time: \");\u003Cbr \/\u003E\n  Lcd_Chr(2,9,':');\u003Cbr \/\u003E\n  Lcd_Chr(2,12,':');\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n write_data(14,0x40); \/\/SQWE output at 1 Hz\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n\/\/----------------- Main procedure\u003Cbr \/\u003E\nvoid main() {\u003Cbr \/\u003E\n  Delay_ms(500);\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n  Init_Main();               \/\/ Perform initialization\u003Cbr \/\u003E\u003Cbr \/\u003E\n\n  while (1) {                \/\/ Endless loop\u003Cbr \/\u003E\n    Read_Time();             \/\/ Read time from RTC(DS3231)\u003Cbr \/\u003E\n    Display_Time();          \/\/ Prepare and display on LCD\u003Cbr \/\u003E\n    Display_Date();\n    Delay_ms(450);\u003Cbr \/\u003E\n    Display_Temp();\u003Cbr \/\u003E\n    Delay_ms(450);\u003Cbr \/\u003E\n  }\u003Cbr \/\u003E\n}\u003C\/myquote\u003E\n\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003C\/div\u003E\n\u003Ch3 class=\"trigger\"\u003E\n\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\n\u003Cdiv class=\"toggle_container\"\u003E\n\u003Cdiv class=\"block\"\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/Ds323x_demo\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EDS323x RTC Clock Demo Code\u003C\/span\u003E\u003C\/a\u003E\n\n\u003C\/div\u003E\n\u003C\/blockquote\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/9025807555071597086\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2017\/11\/ds3231-rtc-clock-demo-code-16f648a.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/9025807555071597086"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/9025807555071597086"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2017\/11\/ds3231-rtc-clock-demo-code-16f648a.html","title":"DS3231 RTC Clock mikro C Demo Code - 16F648A"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh8x8KCZ4mBYlO9Y-vb26A18pMmp9z13Agbyf0g2zKzG1uL6b_ALcG4ZW_eR8zTcL-8PtaVz3ghyphenhyphenEkjyMANdlxgK3IYG2DX8SbASy8nv8f0oZitlpMv4Ta7zwMdT1CaNrQe6BfS7chY4ttP\/s72-c\/lcd+clock.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-6771437801035742999"},"published":{"$t":"2015-12-26T13:12:00.001+05:30"},"updated":{"$t":"2020-11-04T13:31:24.431+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Counter"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Timer"}],"title":{"type":"text","$t":"Multi Stage Simple Programmable Timer Circuit - 16F628A"},"content":{"type":"html","$t":"\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiBVgAiU_lR9E_RpfH_gy5K_Rq980fRdVLSvjHEJ89-TCBY72xQJ3x1LDq20smNo1gMKRbm1vU9pKhxSl4ClpaOAOl62GMxvvnaQeWy00bwAqrq2K_ShISRO07lo_ImFwJU2Pi25uJPN81e\/s1600\/programmable-digital-timer-switch-actuators-2_2.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"255 Stages Simple Programmable Timer Circuit\" border=\"0\" height=\"314\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiBVgAiU_lR9E_RpfH_gy5K_Rq980fRdVLSvjHEJ89-TCBY72xQJ3x1LDq20smNo1gMKRbm1vU9pKhxSl4ClpaOAOl62GMxvvnaQeWy00bwAqrq2K_ShISRO07lo_ImFwJU2Pi25uJPN81e\/s320\/programmable-digital-timer-switch-actuators-2_2.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nElectronic delay timers are devices which are able to count and produce different time delay intervals as per the external settings. The elapsing of the set time is mostly indicated through an audible alarm to alert the user. Timers play an important role in our everyday life, whether it’s your cell phone, wall clock, TV\/DVD sets, computers they are present everywhere.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUsually an ordinary electronic timer is able to produce single-shot delay intervals and setting up its initializing point becomes inaccessible. The present simple programmable timer circuit design eliminates this drawback.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg0R3v4lGILcJIQCA3UV53fQmsQLbHtl9qPq3OdM94LfCpz239A2_AUfk2oF-eCzcDnjfOifmBrWGOECn_b38PpOKMvVJaIpaF-_DLXJR0RtKUnLX5auwmxXvqytpvDJr-qh_DUQyj0TLqi\/s1600\/sprg_sw.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple Programmable Timer Circuit - 16F628\" border=\"0\" height=\"285\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg0R3v4lGILcJIQCA3UV53fQmsQLbHtl9qPq3OdM94LfCpz239A2_AUfk2oF-eCzcDnjfOifmBrWGOECn_b38PpOKMvVJaIpaF-_DLXJR0RtKUnLX5auwmxXvqytpvDJr-qh_DUQyj0TLqi\/s400\/sprg_sw.jpg\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ESimple Programmable Timer Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is a one of the simple circuit of programmable timer circuit. The time range of this timer is 1 second to 255 hours. The delay time can be change by dip switches. The whole circuit of programmable timer is build using cheap \u003Ci\u003EPIC16F628A\u003C\/i\u003E microcontroller and few passive components.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003ECircuit Operation\u003C\/u\u003E\u003C\/h3\u003E\nAfter power applied, the \u003Ci\u003ESTART\u003C\/i\u003E led will turn on and you need to configure the delay time, timer mode and repeat mode. The delay time of this circuit can change by using dip switches. Those dip switches are represent 8-bit binary number and that number use to set delay time. When the delay time over, \u003Ci\u003ERLY ON\u003C\/i\u003E led will turn on.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEg:\u003Cbr \/\u003E\nIf you need to set delay time to 150 then, dip switch configuration is 10010110 (RB0-RB7).\u003Cbr \/\u003E\n1 = Off and 0 = On\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWhen you pressed the \u003Ci\u003ESTART\u003C\/i\u003E button, \u003Ci\u003ESTART\u003C\/i\u003E led will begin to blink and you can observe timer status by that.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003ETime Mode\u003C\/u\u003E\u003C\/h4\u003E\nThis circuit can operate in 3 different time modes (Seconds, Minutes and Hours).  Those modes can select from \u003Ci\u003EMODE\u003C\/i\u003E buttons.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Col\u003E\n\u003Cli\u003EIf both \u003Ci\u003EPORTA.F6\u003C\/i\u003E and \u003Ci\u003EPORTA.F7\u003C\/i\u003E are low or high, then circuit is running in seconds’ mode (0 – 255 seconds)\u003C\/li\u003E\n\u003Cli\u003EIf \u003Ci\u003EPORTA.F6\u003C\/i\u003E high and \u003Ci\u003EPORTA.F7\u003C\/i\u003E low, then the circuit is running in minutes’ mode (0 – 255 minutes)\u003C\/li\u003E\n\u003Cli\u003EIf \u003Ci\u003EPORTA.F6\u003C\/i\u003E low and \u003Ci\u003EPORTA.F7\u003C\/i\u003E high, then the circuit is running in hours’ mode (0 – 255 hour)\n\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003ERepeat Mode\u003C\/u\u003E\u003C\/h4\u003E\nIf \u003Ci\u003EPORTA.F1\u003C\/i\u003E is low then repeat mode will turn on. The circuit running continuously and \u003Ci\u003ERLY ON\u003C\/i\u003E led will turn on and off repeatedly.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo control heavy load, remove \u003Ci\u003ERLY ON\u003C\/i\u003E led and connect 5v relay through NPN transistor. Then connect you device across the relay. Supply voltage for this circuit is 5v and use voltage regulator ic such as \u003Ci\u003ELM7805\u003C\/i\u003E, if you use voltage above that. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003C\/div\u003E\n\u003Ch3 class=\"trigger\"\u003E\n\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\n\u003Cdiv class=\"toggle_container\"\u003E\n\u003Cdiv class=\"block\"\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/prg_sw_hex\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ESimple Programmable Timer\u003C\/span\u003E\u003C\/a\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/prg_sw_src\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EMikroC Code\u003C\/span\u003E\u003C\/a\u003E\n\n\u003C\/div\u003E\n\u003C\/blockquote\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/6771437801035742999\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/12\/multi-stage-simple-programmable-timer.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6771437801035742999"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6771437801035742999"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/12\/multi-stage-simple-programmable-timer.html","title":"Multi Stage Simple Programmable Timer Circuit - 16F628A"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiBVgAiU_lR9E_RpfH_gy5K_Rq980fRdVLSvjHEJ89-TCBY72xQJ3x1LDq20smNo1gMKRbm1vU9pKhxSl4ClpaOAOl62GMxvvnaQeWy00bwAqrq2K_ShISRO07lo_ImFwJU2Pi25uJPN81e\/s72-c\/programmable-digital-timer-switch-actuators-2_2.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-5126635709769782403"},"published":{"$t":"2015-11-26T18:58:00.001+05:30"},"updated":{"$t":"2020-11-04T13:28:17.220+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tools"}],"title":{"type":"text","$t":"Simple and Accurate LC Meter Circuit - 16F690"},"content":{"type":"html","$t":"\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj2oeJLTfqKk1L3lcb_PiXUBv5_NaLwJ7Ao76d9pWLWGOwo1-FqtzU8xHw8B40nsKohYYzr-zj71bIXMRVvV7XPrfM6UcsB8ZwcrQgWX9OEN6dCqug9OgCcXqbZ8ui_EpsPDDd0Hg-5rzk1\/s1600\/lc_meter.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple and Accurate LC Meter - 16F690\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj2oeJLTfqKk1L3lcb_PiXUBv5_NaLwJ7Ao76d9pWLWGOwo1-FqtzU8xHw8B40nsKohYYzr-zj71bIXMRVvV7XPrfM6UcsB8ZwcrQgWX9OEN6dCqug9OgCcXqbZ8ui_EpsPDDd0Hg-5rzk1\/s1600\/lc_meter.jpg\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDigital LC Meter\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nA LCR meter [Inductance (L), Capacitance (C), and Resistance (R)] is a piece of electronic test equipment used to measure the inductance, capacitance and, resistance of a component. Inductance is the property of an electrical circuit causing voltage to be generated proportional to the rate of change in current in a circuit. In Electronics, capacitance is the ability of a body to hold an electrical charge. Capacitance is also a measure of the amount of electrical energy stored (or separated) for a given electric potential. The electrical resistance of an electrical element measures its opposition to the passage of an electric current. The meter reads L, C and R directly with no human calculation required.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nRecently I found this LC meter project on internet and I was looking for that kind of project. Therefore, I build. Amazing it is work! Also the accuracy of this LC meter is great and it is very easy to build. So that, I post it here, because I think it is useful to you. You can visit original post from using this link: \u003Ca href=\"http:\/\/www.hobbielektronika.hu\/cikkek\/lcm3_alkatresz_mero_muszer_-_kit_lehetoseg.html\" target=\"_blank\"\u003ELMC3\u003C\/a\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe data below were determined based on theoretical calculations, the scale and the display automatically change.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" border=\"2\" cellpadding=\"3\" cellspacing=\"0\"\u003E\n\u003Ctbody\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003E\u003C\/td\u003E\n            \u003Ctd\u003EMin\u003C\/td\u003E\n            \u003Ctd\u003EMax\u003C\/td\u003E\n            \u003Ctd\u003EResolution\u003C\/td\u003E\n            \u003Ctd\u003EAccuracy\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003ENon Polar Condenser\u003C\/td\u003E\n            \u003Ctd\u003E1pF\u003C\/td\u003E\n            \u003Ctd\u003E1nF\u003C\/td\u003E\n            \u003Ctd\u003E0.1pF\u003C\/td\u003E\n            \u003Ctd\u003E1%\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003E\u003Cbr \/\u003E\u003C\/td\u003E\n            \u003Ctd\u003E1nF\u003C\/td\u003E\n            \u003Ctd\u003E100nF\u003C\/td\u003E\n            \u003Ctd\u003E1pF\u0026nbsp;\u003C\/td\u003E\n            \u003Ctd\u003E1%\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003E\u003Cbr \/\u003E\u003C\/td\u003E\n            \u003Ctd\u003E100nF\u003C\/td\u003E\n            \u003Ctd\u003E1uF\u0026nbsp;\u003C\/td\u003E\n            \u003Ctd\u003E1nF\u003C\/td\u003E\n            \u003Ctd\u003E2.5%\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003EElectrolytic Capacitor\u003C\/td\u003E\n            \u003Ctd\u003E100nF\u003C\/td\u003E\n            \u003Ctd\u003E100,000uF\u003C\/td\u003E\n            \u003Ctd\u003E1nF\u003C\/td\u003E\n            \u003Ctd\u003E5%\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003EInductor\u003C\/td\u003E\n            \u003Ctd\u003E10nH\u003C\/td\u003E\n            \u003Ctd\u003E20H\u003C\/td\u003E\n            \u003Ctd\u003E10nH\u003C\/td\u003E\n            \u003Ctd\u003E5%\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003EResistance\u003C\/td\u003E\n            \u003Ctd\u003E1mΩ\u003C\/td\u003E\n            \u003Ctd\u003E0.5Ω\u003C\/td\u003E\n            \u003Ctd\u003E1mΩ\u003C\/td\u003E\n            \u003Ctd\u003E5%\u0026nbsp;\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003Ctr\u003E\n            \u003Ctd\u003EInductance\u003C\/td\u003E\n            \u003Ctd\u003E0.5Ω\u003C\/td\u003E\n            \u003Ctd\u003E30Ω\u003C\/td\u003E\n            \u003Ctd\u003E10mΩ\u003C\/td\u003E\n            \u003Ctd\u003E10%\u003C\/td\u003E\n        \u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\nSpecifications of the LC Meter\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjvmRGKSh5SH0q-jAFUfwSoG3YrxpHzBPixrLf44U3_eN1cVWR5F5GR2KjhVy0CiVFHuBW4ZRmu_48Kr7vBpDixN7p7wUV1q8KZHmwKN8q1zU1kmm73EWQNQhX041GYqLseIlIJvUh7UpSU\/s1600\/lc_meter_sch.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple and Accurate LC Meter Circuit\" border=\"0\" height=\"258\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjvmRGKSh5SH0q-jAFUfwSoG3YrxpHzBPixrLf44U3_eN1cVWR5F5GR2KjhVy0CiVFHuBW4ZRmu_48Kr7vBpDixN7p7wUV1q8KZHmwKN8q1zU1kmm73EWQNQhX041GYqLseIlIJvUh7UpSU\/s400\/lc_meter_sch.JPG\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ELC Meter Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003ELC Switch:\n\u003C\/b\u003E\u003Cbr \/\u003E\nThe purpose of this is, switch between inductance and capacitance mode. When you turn on the LC meter, you should set it to C mode.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003ECalibration Switch:\n\u003C\/b\u003E\u003Cbr \/\u003E\nYou can calibrate LC meter by pressing this. See Calibration for more details.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003ELC Meter Calibration\u003C\/u\u003E\u003C\/h3\u003E\nYou have 3 modes to calibrate. When the process is\ncompleted, calibrated values are saving to the microcontroller’s internal\nEEPROM, so of course they are available after the re-start. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E\u003Cu\u003EC Calibration\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Col\u003E\n\u003Cli\u003ESwitch on\u003C\/li\u003E\n\u003Cli\u003ESwitch \u003Ci\u003E\u003Cb\u003EL\/C\u003C\/b\u003E\u003C\/i\u003E switch to \u003Ci\u003E\u003Cb\u003EC\u003C\/b\u003E\u003C\/i\u003E position\u003C\/li\u003E\n\u003Cli\u003ELeave the test probes freely. Do not even touch it\u003C\/li\u003E\n\u003Cli\u003EPress and hold the \u003Ci\u003E\u003Cb\u003ECALIB\u003C\/b\u003E\u003C\/i\u003E button until the message \u003Ci\u003E\u003Cb\u003ESwitch to meas\u003C\/b\u003E\u003C\/i\u003E. Then release the button\u003C\/li\u003E\n\u003Cli\u003EWait for the appearance of \u003Ci\u003E\u003Cb\u003E0.00 pF\u003C\/b\u003E\u003C\/i\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cb\u003E\u003Cu\u003EL Calibration\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Col\u003E\n\u003Cli\u003ESwitch on\u003C\/li\u003E\n\u003Cli\u003ESwitch to the \u003Ci\u003E\u003Cb\u003EL\u003C\/b\u003E\u003C\/i\u003E position\u003C\/li\u003E\n\u003Cli\u003EConnect \u003Ci\u003E\u003Cb\u003EL\/C\u003C\/b\u003E\u003C\/i\u003E probe and \u003Ci\u003E\u003Cb\u003EGND\u003C\/b\u003E\u003C\/i\u003E probe together\u003C\/li\u003E\n\u003Cli\u003EPress and hold the \u003Ci\u003E\u003Cb\u003ECALIB\u003C\/b\u003E\u003C\/i\u003E button until the message \u003Ci\u003E\u003Cb\u003ESwitch to meas\u003C\/b\u003E\u003C\/i\u003E. Then release the button\u003C\/li\u003E\n\u003Cli\u003EWait for the appearance of \u003Ci\u003E\u003Cb\u003E0.00 uH\u003C\/b\u003E\u003C\/i\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cb\u003E\u003Cu\u003EESR Calibration\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Col\u003E\n\u003Cli\u003ESwitch on\u003C\/li\u003E\n\u003Cli\u003ESwitch to the \u003Ci\u003E\u003Cb\u003EC\u003C\/b\u003E\u003C\/i\u003E position\u003C\/li\u003E\n\u003Cli\u003EConnect \u003Ci\u003E\u003Cb\u003ELE\u003C\/b\u003E\u003C\/i\u003E probe and \u003Ci\u003E\u003Cb\u003EGND\u003C\/b\u003E\u003C\/i\u003E probe together\u003C\/li\u003E\n\u003Cli\u003EPress and hold the \u003Ci\u003E\u003Cb\u003ECALIB\u003C\/b\u003E\u003C\/i\u003E button until the message \u003Ci\u003E\u003Cb\u003ESwitch to meas\u003C\/b\u003E\u003C\/i\u003E. Then release the button\u003C\/li\u003E\n\u003Cli\u003ENote the value shown on the screen\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cb\u003E\u003Cu\u003ECalibration Values\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003EF0 = 499.9k\u003C\/li\u003E\n\u003Cli\u003EFcal = 355.9k\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cul\u003E\n\u003Cli\u003ERe = 180Ω\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cul\u003E\n\u003Cli\u003EUesr0 = 58.3mV\u003C\/li\u003E\n\u003Cli\u003EFesr = 83.6k\u003C\/li\u003E\n\u003Cli\u003ERx = 0mΩ [-5mΩ to 5mΩ]\n\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003ECritical Components\u003C\/u\u003E\u003C\/h3\u003E\nAll the below resistors are 1%.\n\u003Cbr \/\u003E\n(In my circuit, I used normal resistors and those are measured using digital multimeter)\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003E47Ω - R11\u003C\/li\u003E\n\u003Cli\u003E47kΩ - R8\u003C\/li\u003E\n\u003Cli\u003E100kΩ - R3-R5\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cul\u003E\n\u003Cli\u003E1nF - C8, C11 (Polypropylene or Polyester)\u003C\/li\u003E\n\u003Cli\u003E33nF - C10 (Polypropylene 275V AC)\u003C\/li\u003E\n\u003Cli\u003E10uF - C7, C9 (Tantalum)\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cul\u003E\n\u003Cli\u003E100uH - L1 (Low-loss DC resistance of 0.3-0.4Ω)\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003ETesting\u003C\/u\u003E\n\u003C\/h3\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiHKR2xvQ_EmSo4CAPt44dX2i0J3LkvlmE-xdt22k5RgFwGo6BQrGvBq2F9NBwhYH3eVJ8rPcpxJoa445ipL6iFygZk3nwsed5bNameJlQqWasOQPXAC-1_LXtQ4TwJ1JoTjXgRuxCfWKFk\/s1600\/LCM3_C.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple and Accurate LC Meter Circuit - 16F690 test c\" border=\"0\" height=\"268\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiHKR2xvQ_EmSo4CAPt44dX2i0J3LkvlmE-xdt22k5RgFwGo6BQrGvBq2F9NBwhYH3eVJ8rPcpxJoa445ipL6iFygZk3nwsed5bNameJlQqWasOQPXAC-1_LXtQ4TwJ1JoTjXgRuxCfWKFk\/s320\/LCM3_C.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Echeck 22pF ceramic capacitor\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj1B8z8hurhbK_T3qxD7ragz0XlqWiPqTri5pKxptc2mptrevECM5G30sRoMjA-sfuSgBeget8ywshMr95XuVPU3jboRmF-2P7lKXdsH44dypAEaiukN9DBxUjBdZX8v3qkT5ycp7j-rfPd\/s1600\/LCM3_E.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple and Accurate LC Meter Circuit - 16F690 test e\" border=\"0\" height=\"276\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj1B8z8hurhbK_T3qxD7ragz0XlqWiPqTri5pKxptc2mptrevECM5G30sRoMjA-sfuSgBeget8ywshMr95XuVPU3jboRmF-2P7lKXdsH44dypAEaiukN9DBxUjBdZX8v3qkT5ycp7j-rfPd\/s320\/LCM3_E.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Echeck 100uF electrolytic capacitor\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjSIKEhzGw0gags4b5jk1xZhp-VmkAsWmMym1VbZJV2P7RM7XMICdjXhKyK3RdcsnhNi9aYT4q2StxQgwFWpwnK6DhgwvMgKJKmOKC-CdnjW8xGNk4VahdXKeQBjId2nh7pOgmCnBMjR3J7\/s1600\/LCM3_L.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple and Accurate LC Meter Circuit - 16F690 test l\" border=\"0\" height=\"267\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjSIKEhzGw0gags4b5jk1xZhp-VmkAsWmMym1VbZJV2P7RM7XMICdjXhKyK3RdcsnhNi9aYT4q2StxQgwFWpwnK6DhgwvMgKJKmOKC-CdnjW8xGNk4VahdXKeQBjId2nh7pOgmCnBMjR3J7\/s320\/LCM3_L.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Echeck 100uH inductor\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nI was unable to find a reed relay, so I put 5v ordinary relay temporarily. In addition, my PCB designed for the \u003Ci\u003E\u003Cb\u003ETL2285\u003C\/b\u003E\u003C\/i\u003E switches. But, I bought \u003Ci\u003E\u003Cb\u003ETL2230\u003C\/b\u003E\u003C\/i\u003E by mistake :)\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf the back-light brightness is low, you can increase back-light brightness by decreasing the value of the resistor R2 to 470Ω - 1k. You can change display contrast by adjusting 10k preset.\u003Cbr \/\u003E\nFor PCB, Schematic and hex file, click download button.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: red;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EYou need to discharge capacitors properly before measuring.\u003C\/span\u003E\n\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003C\/div\u003E\n\u003Ch3 class=\"trigger\"\u003E\n\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\n\u003Cdiv class=\"toggle_container\"\u003E\n\u003Cdiv class=\"block\"\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/lcm3v135\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELC Meter\u003C\/span\u003E\u003C\/a\u003E\n\u003C\/div\u003E\n\u003C\/blockquote\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/5126635709769782403\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/simple-and-accurate-lc-meter-circuit.html#comment-form","title":"18 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5126635709769782403"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5126635709769782403"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/simple-and-accurate-lc-meter-circuit.html","title":"Simple and Accurate LC Meter Circuit - 16F690"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj2oeJLTfqKk1L3lcb_PiXUBv5_NaLwJ7Ao76d9pWLWGOwo1-FqtzU8xHw8B40nsKohYYzr-zj71bIXMRVvV7XPrfM6UcsB8ZwcrQgWX9OEN6dCqug9OgCcXqbZ8ui_EpsPDDd0Hg-5rzk1\/s72-c\/lc_meter.jpg","height":"72","width":"72"},"thr$total":{"$t":"18"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7249981651615478837"},"published":{"$t":"2015-11-18T11:45:00.002+05:30"},"updated":{"$t":"2020-11-04T13:23:47.361+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Timer"}],"title":{"type":"text","$t":"Programmable Digital Seven Segment Timer Circuit - 16F628"},"content":{"type":"html","$t":"\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjMJcY1yKG3JIaOyw2lzxJGStRYhA1_32GYL4nbdYGTsZBKYO-6L7tLQairD6fOCxscWsJz-BX5-UDltaUGJ2021TpvTW508zAH1EjhUh80QGtMNCvG4MKRCjs3Bd072ZXmecO3hQRYmjgS\/s1600\/Digital+Timer.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Programmable Digital Timer Circuit\" border=\"0\" height=\"320\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjMJcY1yKG3JIaOyw2lzxJGStRYhA1_32GYL4nbdYGTsZBKYO-6L7tLQairD6fOCxscWsJz-BX5-UDltaUGJ2021TpvTW508zAH1EjhUh80QGtMNCvG4MKRCjs3Bd072ZXmecO3hQRYmjgS\/s320\/Digital+Timer.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ESeven Segment Timer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\u003Cbr \/\u003E\nA timer is a specialized type of clock for measuring time intervals. By function, timers can be categorized to two main types. Those are Counts upwards and counts downward.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTimers originally designed to fulfill a need in industry for a means of keeping time on certain devices. Originally, these timers were mechanical devices and used clockwork mechanisms as a means of keeping a regular time. The invention of two electromechanical timer designs allowed for more precise time measurement. The first uses the principle of heat expansion to increase the temperature of a metal finger made of two different metals with differing rates of thermal expansion. As electric current flows through the metal, it begins to heat and one side expands more quickly than the other does, which in turn, moves the electrical contact away from an electrical switch contact. The second uses a small AC motor, which turns at a predetermined rate due to the application of an alternating current. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFinally, digital timers invented. Digital logic circuits are now so cheap that it has become a better investment to buy a digital timer than a mechanical or electromechanical timer. Individual timers implemented with single chip circuits.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis is a very simple adjustable digital timer circuit based on the PIC16F628A microcontroller and it can be programmed to schedule the on and off operation of an electrical appliance. This timer consists of three parts: power supply, control circuit and display. Working voltage of the circuit is 5v - 12v. It depends on the relay voltage. If you use 5v relay then you can omitted the LM7805 regulator IC and apply 5v directly. Otherwise, you have to use regulator IC and apply suitable voltage according to the relay voltage. The schematic is very simple and accurate of the circuit is very good. PIC use its internal oscillator.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjeVgu3JPuxVgotZaT1lMtTuquYHqkrIx7i0jH5IojQG3HS6jzAC6QQViv1XYVtDa2atpsodvHq0X85Kf8G683_dVvca61cOF0lsVwAEXgMziDGTk8xJwDw9ZOFGVubmEy4EcM7z6UEfKdL\/s1600\/4dg_tmr.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Programmable Digital SSD Timer Circuit - PIC16F628A\" border=\"0\" height=\"297\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjeVgu3JPuxVgotZaT1lMtTuquYHqkrIx7i0jH5IojQG3HS6jzAC6QQViv1XYVtDa2atpsodvHq0X85Kf8G683_dVvca61cOF0lsVwAEXgMziDGTk8xJwDw9ZOFGVubmEy4EcM7z6UEfKdL\/s400\/4dg_tmr.jpg\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EProgrammable Digital Timer Schematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\u003Cbr \/\u003E\nThere are two versions of hex file are available. Those are \"4dg_tmr_min.hex\" and \"4dg_tmr_hr.hex\". The first file for the minute timer. It display minutes and seconds. Adjustable time is 1 second to 60 minutes. Other hex file for hourly timer and its adjustable time is 1 minute to 24 hours. This will display hours and minutes on the seven segments.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003EConfiguration\u003C\/u\u003E\u003C\/span\u003E\u003C\/h3\u003E\nIf the time runs too fast or too slow, you can able to adjust the speed by changing the value of Eeprom address 0. Default value is 44 (0x2c). Typical value is 59 (0x3B). Maximum is 255 (0xFF). In repeat mode delay time before restart the timer, determine by value of Eeprom address 3. Default value is 10 (0x0A). Maximum is 255 (0xFF). See below picture for more details.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ctable align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjyqyh2b3euoShPbRqj_3t7iZ6Ckxa5U8o7Fp62PUkgQ7nqnKPdHPl7MOy6_3_cmkMH8vPY9UEiFQO0A2Hy9cIFcv6E8AorZik0RyZB13hj9WST_vjZbfWvIaw9G1sNStuER9vmy3v-9Yw8\/s1600\/4dg_tmr_config.JPG\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"Programmable Digital Timer Circuit configuration\" border=\"0\" height=\"218\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjyqyh2b3euoShPbRqj_3t7iZ6Ckxa5U8o7Fp62PUkgQ7nqnKPdHPl7MOy6_3_cmkMH8vPY9UEiFQO0A2Hy9cIFcv6E8AorZik0RyZB13hj9WST_vjZbfWvIaw9G1sNStuER9vmy3v-9Yw8\/s320\/4dg_tmr_config.JPG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EEeprom Configuration\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003EOperation of the timer\n\u003C\/span\u003E\u003C\/u\u003E\u003C\/h3\u003E\nThis circuit uses 5 push buttons to control the their functions.\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ESTART\/PAUSE: When the timer is on, the device is in pause condition even the switch was in closed position. Pressing this button, you can switch between the start and pause timer.\u003C\/li\u003E\n\u003Cli\u003EFOR\/BACKWARD: This allows you to select counter mode. Either upwards or count down.\u003C\/li\u003E\n\u003Cli\u003EREPEAT: When the timer reaches 00:00, it starts again from previous value you set.\u003C\/li\u003E\n\u003Cli\u003ELEFT\/RIGHT: This allows you to change values on display. The selected digit is incremented by pressing those buttons and values on the display are stored to the Eeprom.\n\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nNow connect device you want to operate, through the relay. Set the desired time using left and right buttons and press start. When the timer reaches 00:00, relay will activate.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003C\/div\u003E\n\u003Ch3 class=\"trigger\"\u003E\n\u003Cimg src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgxDYxsPjCPOIsq77ilBw8lKRDWctzAbaIPazTlYLMwhDgTgtbwcGhkO5JDarvYd2Ra839oMtgLr1arP5yMVsKSeUqWhvRQ5Ddk4AVdzL98jzXYipeCxGQum_JwHIoKeey_ZiC25JJgZEE\/s1600\/DOWNLOAD.png\" \/\u003E\u003C\/h3\u003E\n\u003Cdiv class=\"toggle_container\"\u003E\n\u003Cdiv class=\"block\"\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\n\u003Ca href=\"http:\/\/tiny.cc\/4ssd_prg_tmr\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EProgrammable Digital Timer\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\n\u003C\/div\u003E\n\u003C\/blockquote\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/7249981651615478837\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/programmable-digital-ssd-timer-circuit.html#comment-form","title":"46 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7249981651615478837"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7249981651615478837"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/programmable-digital-ssd-timer-circuit.html","title":"Programmable Digital Seven Segment Timer Circuit - 16F628"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/16788868236927971222"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"30","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjd4FUk8kZ81qA5RH-8TE_fE-lTn418FZvTVTpV4dMcuL2J5XFvkMZI3ZRhvLp-6_wGzPKh7UWWA09Xjk3NLUeJ31fOe7wglNXt0CZ1qvAr95_wj5WzoIVV7K7-u5K2EbA\/s220\/19_scorpionsecondary.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjMJcY1yKG3JIaOyw2lzxJGStRYhA1_32GYL4nbdYGTsZBKYO-6L7tLQairD6fOCxscWsJz-BX5-UDltaUGJ2021TpvTW508zAH1EjhUh80QGtMNCvG4MKRCjs3Bd072ZXmecO3hQRYmjgS\/s72-c\/Digital+Timer.jpg","height":"72","width":"72"},"thr$total":{"$t":"46"}}]}});