// API callback
loadtoc({"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?alt=json-in-script\u0026max-results=500"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"}],"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":"51"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"500"},"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-32110019653302513"},"published":{"$t":"2020-08-06T20:45:00.003+05:30"},"updated":{"$t":"2020-11-01T14:09:32.034+05:30"},"category":[{"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":"JQ8400 MP3 Voice Module Microe C code"},"content":{"type":"html","$t":"Previously I wrote a post about well-known voice module of \u003Ca href=\"https:\/\/scopionz.blogspot.com\/2019\/02\/uart-controlled-df-player-mikroc-code.html\" rel=\"nofollow\" target=\"_blank\"\u003EDFPlayer Mini\u003C\/a\u003E. Today I would like to write a post of advance chip, JQ8400. The main advantages of this chip are;\n\u003Cbr \/\u003E\u003Cul style=\"text-align: left;\"\u003E\u003Cli\u003EInquiry of the file name\n\u003C\/li\u003E\u003Cli\u003EInquiry of duration of the current audio\u003C\/li\u003E\u003Cli\u003EInquiry of playback duration \u003C\/li\u003E\u003Cli\u003EFast backward\n\u003C\/li\u003E\u003Cli\u003EFast forward, etc.\n\u003C\/li\u003E\u003C\/ul\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\/AVvXsEg5uVA1h12iVI3ycCUH9LsLsCM8Q-ARne2rS3Zz5yjbIjXQf26A1zvyLKkZ0SDpi2bcVjnXqpZxbNf83It8fDweD5z9KPQ_54srqGbfjbCLO953lLFf4wUI2pbYDl1zS8_oreTSHhwj4Qos\/s690\/jq8400+module.jpg\" style=\"display: block; margin-left: auto; margin-right: auto; padding: 1em 0px;\"\u003E\u003Cimg alt=\"jq8400 module\" border=\"0\" data-original-height=\"470\" data-original-width=\"690\" height=\"178\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg5uVA1h12iVI3ycCUH9LsLsCM8Q-ARne2rS3Zz5yjbIjXQf26A1zvyLKkZ0SDpi2bcVjnXqpZxbNf83It8fDweD5z9KPQ_54srqGbfjbCLO953lLFf4wUI2pbYDl1zS8_oreTSHhwj4Qos\/w262-h178\/jq8400+module.jpg\" title=\"Jq8400 module\" width=\"262\" \/\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\nJQ8400 module is a SOC solution that combines a 16bit MCU with an ADSP specialized in audio decoding. By using hardware decoding method, it ensures system stability, quality of sound, and small footprint matching requirements of embedded applications. For the flexibility of R\u0026amp;D, control commands can be sent via one-line mode or RS232 serial communication.\u003Cbr \/\u003E\nIt adopts full duplex serial communication protocol: Baud rate 9600, 8-bit data, no parity and 1 stop bit.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cu\u003EMessage Format\u003C\/u\u003E\n\u003C\/h4\u003E\nStarting Code + Command Code + Data Length + Data 1 – Data n + Checksum\n\u003Cbr \/\u003E\n\u003Cul style=\"text-align: left;\"\u003E\u003Cli\u003E\nStarting Code:  fixed as “AA” (in hex) \n\u003C\/li\u003E\u003Cli\u003ECommand Code:  01 – 26 (in hex) \n\u003C\/li\u003E\u003Cli\u003EData Length:  respective data bytes in commands; length=1 stands for command only, no data.\u003C\/li\u003E\u003Cli\u003EChecksum:  The low byte of the sum of all the bytes before the checksum byte.\n\u003C\/li\u003E\u003Cli\u003EData format: high 8-bit first, low 8-bit second.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003C\/li\u003E\u003C\/ul\u003E\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cu\u003ECommunication Mechanism\u003C\/u\u003E\u003C\/h4\u003E\nDefault power-on state is idle and listening for commands from MCU as a guest\nThe module will not initiate communication and a MCU must take initiative.\nThe TTL level of the serial port is 3.3V. Use a 1K ohm resistor if connecting with a 5V MCU.\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;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiMqndA_9B1jDou2cl4gfngPCO6DwcCeaq87zkcyq6HY5WLdT2hL3M7qOSNZGjOmxHS4vfGHQKD0-K6kpfAnvXXALnuqBl4HcQhZIxHTe00MbrOLbjVIv_mU_BhaHh010FMDol1BigS0ZQd\/s781\/jq8400+module+pin.jpg\" style=\"display: block; margin-left: auto; margin-right: auto; padding: 1em 0px;\"\u003E\u003Cimg alt=\"jq8400 module pin\" border=\"0\" data-original-height=\"646\" data-original-width=\"781\" height=\"270\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiMqndA_9B1jDou2cl4gfngPCO6DwcCeaq87zkcyq6HY5WLdT2hL3M7qOSNZGjOmxHS4vfGHQKD0-K6kpfAnvXXALnuqBl4HcQhZIxHTe00MbrOLbjVIv_mU_BhaHh010FMDol1BigS0ZQd\/w328-h270\/jq8400+module+pin.jpg\" title=\"jq8400 module pin\" width=\"328\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EJq8400 Module Pin Details\u003Cbr \/\u003E\u003C\/td\u003E\u003C\/tr\u003E\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cu\u003ECode\u003C\/u\u003E\u003C\/h4\u003E\n\u003Cmyquote\u003E\nunsigned short df_wr[] = {0xAA,0,0,0,0,0};\n\u003Cbr \/\u003E\nvoid write_jq_cmd(char cmd, char data_h, char data_l, char len) \/\/jq cmd data\n{\n\u0026nbsp; char m;\n\u003Cbr \/\u003E\n\u0026nbsp; Delay_ms(200);\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[1]= cmd;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[2]= len;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[3]= data_h;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[4]= data_l;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; df_wr[5]= data_h + data_l + len + df_wr[1] + 0xAA;\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;for (m=0; m\u0026lt;6; m++) {\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Delay_ms(1);\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(len==0 \u0026amp;\u0026amp; m==3) m=5; \/\/(AA 02 00 AC) skip data_h data_l\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(len==1 \u0026amp;\u0026amp; m==3) m=4; \/\/(AA 18 01 03 C6) skip data_h\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; UART1_Write(df_wr[m]);\u0026nbsp; \/\/aa, cmd, len, dh, dl, sm\n\u0026nbsp;\u0026nbsp; }\n\u0026nbsp;\u0026nbsp; Delay_ms(10);\n}\u003C\/myquote\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cu\u003EUsage\u003C\/u\u003E\u003C\/h4\u003E\n\u003Cmyquote\u003E\nwrite_jq_cmd(0x02, 0,0, 0); \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\/\/Play\nwrite_jq_cmd(0x03, 0,0, 0); \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\/\/Pause\nwrite_jq_cmd(0x13, 0,27, 1); \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\/\/Set volume to 27\nwrite_jq_cmd(0x07, 0x00,0xF4, 2); \/\/Play 244th track\nwrite_jq_cmd(0x07, 0x01,0xF4, 2); \/\/Play 500th track\nwrite_jq_cmd(0x23, 0x00,0x0A, 2); \/\/FF 10 seconds\u003C\/myquote\u003E\n\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\/jq8400_data\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EDatasheet\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\u003C\/blockquote\u003E\u003C\/div\u003E\u003C\/div\u003E\u003Cbr \/\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/32110019653302513\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/08\/jq8400-mp3-voice-module-microe-c-code.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/32110019653302513"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/32110019653302513"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/08\/jq8400-mp3-voice-module-microe-c-code.html","title":"JQ8400 MP3 Voice Module Microe C code"}],"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\/AVvXsEg5uVA1h12iVI3ycCUH9LsLsCM8Q-ARne2rS3Zz5yjbIjXQf26A1zvyLKkZ0SDpi2bcVjnXqpZxbNf83It8fDweD5z9KPQ_54srqGbfjbCLO953lLFf4wUI2pbYDl1zS8_oreTSHhwj4Qos\/s72-w262-h178-c\/jq8400+module.jpg","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-169065397911560430"},"published":{"$t":"2020-05-05T20:36:00.000+05:30"},"updated":{"$t":"2020-05-05T20:47:20.527+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"18F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Programmer"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tools"},{"scheme":"http://www.blogger.com/atom/ns#","term":"USB"}],"title":{"type":"text","$t":"OProg - Open Source USB Programmer - 18F2550"},"content":{"type":"html","$t":"Recently I found a programmer from internet. This programmer is completely free and open source. It used few components and working well. I make some changes to it. You can find the original one from  \u003Ca href=\"http:\/\/openprog.altervista.org\/OP_eng.html\" target=\"_blank\"\u003Ehere\u003C\/a\u003E.\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\/AVvXsEhT-oEYgaxWviiPoIa0R_IwdNY217s628MQpSPocMNDZzbStWL_aOS49APKmnJyyYPm1vntiYVdOL3I9B9t97JkgVcjPbn32yqc1USaI9J9wQcQIlyqNI-xE2oChXuShUVMM_MFXVi6cwRB\/s1600\/OPROG.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"OPROG Prototype\" border=\"0\" data-original-height=\"1133\" data-original-width=\"1600\" height=\"226\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhT-oEYgaxWviiPoIa0R_IwdNY217s628MQpSPocMNDZzbStWL_aOS49APKmnJyyYPm1vntiYVdOL3I9B9t97JkgVcjPbn32yqc1USaI9J9wQcQIlyqNI-xE2oChXuShUVMM_MFXVi6cwRB\/s320\/OPROG.jpg\" title=\"OPROG Prototype\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPrototype\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nAdvantages of this programmer are;\u003Cbr \/\u003E\n\u003Cul\u003E\u003Cli\u003ECompletely free and Open Source (including firmware)\u003C\/li\u003E\n\u003Cli\u003EPrograms PIC, dsPIC, ATMEL, EEPROM (I2C, SPI, MicroWire, OneWire, UNIO) \u003C\/li\u003E\n\u003Cli\u003ECan work as ICD debugger\u003C\/li\u003E\n\u003Cli\u003EUSB 2.0 Full Speed interface\u003C\/li\u003E\n\u003Cli\u003ESelf-powered\u003C\/li\u003E\n\u003Cli\u003EDoesn't need drivers\u003C\/li\u003E\n\u003Cli\u003EHardware generated timings for maximum speed and reliability (writes an 18F2550 in 15s)\u003C\/li\u003E\n\u003Cli\u003EOpen source control programs for Linux and Windows\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEhZx6pxDSUyi7ophWlRjXlTjcz-LVnD9G2tABJzX6KZOBq0hrIPLqm_fGYe_FrEUcHOjXIvWrQtu2KxK-lvgMm4FHRsTxoj_spRp5CYeOA-gP_eWOKm4nh61BRXcLdXb0dd9zd-e_5JhaA-\/s1600\/OPROG+sch.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"OPROG diagram\" border=\"0\" data-original-height=\"1132\" data-original-width=\"1600\" height=\"226\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhZx6pxDSUyi7ophWlRjXlTjcz-LVnD9G2tABJzX6KZOBq0hrIPLqm_fGYe_FrEUcHOjXIvWrQtu2KxK-lvgMm4FHRsTxoj_spRp5CYeOA-gP_eWOKm4nh61BRXcLdXb0dd9zd-e_5JhaA-\/s320\/OPROG+sch.jpg\" title=\"OPROG schematic\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ESchematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nMain controller is PIC18F2550, and Supply directly get from PC USB port. HEX, PCB, Schematic and PC software can download from below. And  for latest updates and full description please follow the Open Programmer site.\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\/open_prog\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ESchematic, PCB, PC-App and Hex\u003C\/span\u003E\u003C\/a\u003E\u003C\/div\u003E\u003C\/blockquote\u003E\u003C\/div\u003E\u003C\/div\u003E\u003Cbr \/\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/169065397911560430\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/05\/oprog-open-source-usb-programmer-18f2550.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/169065397911560430"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/169065397911560430"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2020\/05\/oprog-open-source-usb-programmer-18f2550.html","title":"OProg - Open Source USB Programmer - 18F2550"}],"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\/AVvXsEhT-oEYgaxWviiPoIa0R_IwdNY217s628MQpSPocMNDZzbStWL_aOS49APKmnJyyYPm1vntiYVdOL3I9B9t97JkgVcjPbn32yqc1USaI9J9wQcQIlyqNI-xE2oChXuShUVMM_MFXVi6cwRB\/s72-c\/OPROG.jpg","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"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=AD6v5dwaWQjjST_yMcq0M_9ydl7GIqb0ePTjJgxjcTUp5XxN_1CQSzqyntOqqm1Di7U3OTDTGYf4T8nJxGqNB5kmgA' 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-636630622355488097"},"published":{"$t":"2019-01-02T11:09:00.000+05:30"},"updated":{"$t":"2019-01-02T11:18:35.006+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"12F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Decoder"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"Rotary Encoder Decoder Circuit - PIC12F683 Microcontroller"},"content":{"type":"html","$t":"\u0026nbsp;\u0026nbsp;\u0026nbsp;Recently I need a rotary encoder circuit for my amplifier. So I searched the internet and test some circuits and codings I found. But nothing work for me. Some are worked but not accurate. So i decided to build my own.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003EWhat Is Rotary Encoder\u003C\/u\u003E\u003C\/h3\u003E\n\u003Ctable cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"clear: right; float: left; margin-bottom: 1em; 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\/AVvXsEjmH47UtrQ7K2FTV00zaiJXfsPJEiiHv_4-D4nK2bKLYbs6fUzkDzoXsgDWMAYCh_cgjR7nlUweJ2QNIRMk_NFHu9y3dMgAAV2zHcRFtmFNmlQBss5OVBqsl_b-Ibx9jtKZqra6K1WB08jc\/s1600\/encoder.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Typical Rotary Encoder\" border=\"0\" data-original-height=\"300\" data-original-width=\"171\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjmH47UtrQ7K2FTV00zaiJXfsPJEiiHv_4-D4nK2bKLYbs6fUzkDzoXsgDWMAYCh_cgjR7nlUweJ2QNIRMk_NFHu9y3dMgAAV2zHcRFtmFNmlQBss5OVBqsl_b-Ibx9jtKZqra6K1WB08jc\/s200\/encoder.png\" title=\"Typical Rotary Encoder\" width=\"112\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ETypical Rotary Encoder\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;A rotary encoder is a special type of switch that converts the motion of the switch (clockwise or counterclockwise) into an output signal that can be used to determine what direction the knob is being rotated. There are many different types of rotary encoders which use different technologies and construction materials, however, today we’ll be looking specifically at quadrature rotary encoders which are the most common for general electronics. They're used in many applications such as the manual volume control or tuning on a car stereo.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;A quadrature rotary encoder is similar to a potentiometer, however, a rotary encoder doesn’t have limiting points in the rotation; it will rotate infinitely in either direction. Quadrature rotary encoders don’t output an absolute, fixed position, but rather have a number of increments per 360 degrees, and each increment consists of digital pulses known as ‘grey code’. Most encoders have detents which give tactile feedback every time they increment, however, you can also get smooth encoders without detents, usually with a higher number of steps per rotation. \u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003EHow do They Work?\u003C\/u\u003E \u003C\/h3\u003E\n\u003Ctable cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"float: right; text-align: center;\"\u003E\u003Ctbody\u003E\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj65Ezou0chP6Q6NA79EsBOo7ykVVZYPy8B5rS17XxO9GvXCXLJuRN5GnsBca0WlnJIjR8Pi4ckyMA4MvWXB7oj-R73AQxhMl5BHBeNraOLHpvHXkcMIEB_fZf_g_F84tu5DUksxMwEZp0w\/s1600\/Rotary+Encoder+Quadrature+Output+Table.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Quadrature Output Table\" border=\"0\" data-original-height=\"283\" data-original-width=\"455\" height=\"198\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj65Ezou0chP6Q6NA79EsBOo7ykVVZYPy8B5rS17XxO9GvXCXLJuRN5GnsBca0WlnJIjR8Pi4ckyMA4MvWXB7oj-R73AQxhMl5BHBeNraOLHpvHXkcMIEB_fZf_g_F84tu5DUksxMwEZp0w\/s320\/Rotary+Encoder+Quadrature+Output+Table.JPG\" title=\"Quadrature Output Table\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EQuadrature Output Table\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;It has three pins: A, C, and B. C is the common ground for A and B. A and B are the signal pins. When you rotate the knob, A and B come into contact with the common ground pin, in a particular order depending on the direction you are rotating the knob. When each pin comes into contact with the common ground, they produce a signal. These signals are shifted out of phase with each other as one pin connects before the other pin. This is called quadrature encoding. You need to listen to those pins and the way they pulse in order to determine the direction and number of steps.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003EThe Circuit\u003C\/u\u003E\u003C\/h3\u003E\n\u0026nbsp;\u0026nbsp; In my circuit I used PIC12F683 microcontroller. It configured to run using its internal oscillater at 8Mhz and internal pull up enable for GP1. And used few components. 0.47uf capacitor used to avoid noices making by rotary encoder. GP0 indicate rotation and GP4 and 5 indicate direction.\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\/AVvXsEj5AHvkfLQctQd0s-OOEMdwj1thg7vIHKMD6406nANq_6y1DGomfkz_lYYlLcTG2x0KLPMPnjICVTLEkfp8Um1iqPyTUZuzQ5zQB3iXM5WjfjoMUzt3dhjNCnp54H_LXmY6BQzcRJpRPlL5\/s1600\/Rotary+encoder.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Rotary Encoder Circuit\" border=\"0\" data-original-height=\"575\" data-original-width=\"1013\" height=\"226\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj5AHvkfLQctQd0s-OOEMdwj1thg7vIHKMD6406nANq_6y1DGomfkz_lYYlLcTG2x0KLPMPnjICVTLEkfp8Um1iqPyTUZuzQ5zQB3iXM5WjfjoMUzt3dhjNCnp54H_LXmY6BQzcRJpRPlL5\/s400\/Rotary+encoder.jpg\" title=\"Rotary Encoder Circuit\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ERotary Encoder Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003EThe Coding\u003C\/u\u003E\u003C\/h3\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;The code was written by using Mikroc Pro for pic.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cmyquote class=\"tr_bq\"\u003E\/**************************************************************************\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nRotary Encoder\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\n#define SW\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; GPIO.F1\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid Interrupt()\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nINTCON.GIE = 0;\u0026nbsp;\u0026nbsp; \/\/Disable Global Interupt\u003Cbr \/\u003E\n\u0026nbsp; if(INTCON.INTF)\u0026nbsp; \/\/RB0\/INT External Interrupt Flag bit is set\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; {\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; if(SW) GPIO.F4=1;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; else\u0026nbsp;\u0026nbsp; GPIO.F5=1;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; GPIO.F0=1;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; delay_ms(100);\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; GPIO\u0026nbsp;\u0026nbsp; = 0;\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003Cbr \/\u003E\nINTCON.INTF = 0; \/\/Clear RB0\/INT External Interrupt Flag bit\u003Cbr \/\u003E\nINTCON.GIE = 1;\u0026nbsp; \/\/Enable Global Interrupt\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid main()\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\nOSCCON = 0x75;\u003Cbr \/\u003E\nADCON0 = 0x00;\u003Cbr \/\u003E\nCMCON0 = 0x07; \/\/ Disable Comparators\u003Cbr \/\u003E\nCMCON1 = 0x00;\u003Cbr \/\u003E\nANSEL\u0026nbsp; = 0x00;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nINTCON.GIE = 1; \/\/ Global Interrupt Enable\u003Cbr \/\u003E\nINTCON.INTE = 1; \/\/ RB0\/INT External Interrupt Enable bit\u003Cbr \/\u003E\nOPTION_REG = 0b00111111; \/\/ wpu \u0026amp; int fall\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTRISIO = 0b00000110;\u003Cbr \/\u003E\nWPU = 0b00000010;\u003Cbr \/\u003E\nGPIO\u0026nbsp;\u0026nbsp; = 0b00000001;\u003Cbr \/\u003E\ndelay_ms(500);\u003Cbr \/\u003E\nGPIO\u0026nbsp;\u0026nbsp; = 0;\u003Cbr \/\u003E\n}\u003C\/myquote\u003E \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\/rotary683\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ERotary Encoder Decoder\u003C\/span\u003E\u003C\/a\u003E\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\/636630622355488097\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2019\/01\/rotary-encoder-decoder-circuit.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/636630622355488097"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/636630622355488097"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2019\/01\/rotary-encoder-decoder-circuit.html","title":"Rotary Encoder Decoder Circuit - PIC12F683 Microcontroller"}],"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\/AVvXsEjmH47UtrQ7K2FTV00zaiJXfsPJEiiHv_4-D4nK2bKLYbs6fUzkDzoXsgDWMAYCh_cgjR7nlUweJ2QNIRMk_NFHu9y3dMgAAV2zHcRFtmFNmlQBss5OVBqsl_b-Ibx9jtKZqra6K1WB08jc\/s72-c\/encoder.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"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-7655739249916600466"},"published":{"$t":"2015-11-23T11:17:00.002+05:30"},"updated":{"$t":"2015-11-26T13:50:49.604+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"MikroC Programming Guide"},"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\/AVvXsEjoI-jrqnbt5iWp0joGf0CMT9N9eg8IVS-Z4mmoyL7Qt-CeVxxniE5q4f8gXLhUIxbeHby9pa2JTlrAFeEwf8XNUoQV77JwkkW6CoSEP-d4I5j2AeY7EC9ri_45wfLh14yEmjdQXclAGnXo\/s1600\/rd2kit_big.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC Microcontrollers - Programming in C\" border=\"0\" height=\"174\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjoI-jrqnbt5iWp0joGf0CMT9N9eg8IVS-Z4mmoyL7Qt-CeVxxniE5q4f8gXLhUIxbeHby9pa2JTlrAFeEwf8XNUoQV77JwkkW6CoSEP-d4I5j2AeY7EC9ri_45wfLh14yEmjdQXclAGnXo\/s320\/rd2kit_big.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;\"\u003EMicrocontroller Programmer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ci\u003EThe purpose of this post is to provide basic information that one needs to know in order to be able to use microcontrollers successfully in practice. This post, therefore, doesn’t contain any super interesting program or device schematic with amazing solutions. Instead, the following examples are better proof that program writing is neither a privilege nor a talent issue, but the ability of simply putting puzzle pieces together using directives. Rest assured that design and development of devices mainly consists of the ‘test-correct-repeat’ work. Of course, the more you are in it, the more complicated it gets since the puzzle pieces are put together by both children and first-class architects.\n\u003C\/i\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ci\u003ECopyright © 1998–2012. MikroElektronika. All rights reserved. All trade and\/or services marks mentioned are the property of their respective owners.\u003C\/i\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3 id=\"c4v0\"\u003E\n\u003Cu\u003E4.0 TABLE OF CONTENTS\u003C\/u\u003E\u003C\/h3\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v1\" rel=\"nofollow\" target=\"_blank\"\u003E4.1 BASIC CONNECTING\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v2\" rel=\"nofollow\" target=\"_blank\"\u003E4.2 ADDITIONAL COMPONENTS\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v3\" rel=\"nofollow\" target=\"_blank\"\u003E4.3 EXAMPLE 1 - Writing header, configuring I\/O pins, using delay function and switch operator\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v4\" rel=\"nofollow\" target=\"_blank\"\u003E4.4 EXAMPLE 2 - Using assembly instructions and internal oscillator LFINTOSC\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v5\" rel=\"nofollow\" target=\"_blank\"\u003E4.5 EXAMPLE 3 - TMR0 as a counter, declaring new variables, enumerated constants, using relay \u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v6\" rel=\"nofollow\" target=\"_blank\"\u003E4.6 EXAMPLE 4 - Using timers TMR0, TMR1 and TMR2. Using interrupts, declaring new function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v7\" rel=\"nofollow\" target=\"_blank\"\u003E4.7 EXAMPLE 5 - Using watch-dog timer\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v8\" rel=\"nofollow\" target=\"_blank\"\u003E4.8 EXAMPLE 6 - Module CCP1 as PWM signal generator\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v9\" rel=\"nofollow\" target=\"_blank\"\u003E4.9 EXAMPLE 7 - Using A\/D converter\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v10\" rel=\"nofollow\" target=\"_blank\"\u003E4.10 EXAMPLE 8 - Using EEPROM Memory\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v11\" rel=\"nofollow\" target=\"_blank\"\u003E4.11 EXAMPLE 9 - Two-digit LED counter, multiplexing\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v12\" rel=\"nofollow\" target=\"_blank\"\u003E4.12 EXAMPLE 10 - Using LCD display\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v13\" rel=\"nofollow\" target=\"_blank\"\u003E4.13 EXAMPLE 11 - RS232 serial communication\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v14\" rel=\"nofollow\" target=\"_blank\"\u003E4.14 EXAMPLE 12 - Temperature measurement using DS1820 sensor. Use of 1-wire protocol\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v15\" rel=\"nofollow\" target=\"_blank\"\u003E4.15 EXAMPLE 13 - Sound generation, sound library\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v16\" rel=\"nofollow\" target=\"_blank\"\u003E4.16 EXAMPLE 14 - Using graphic LCD display\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/scopionz.blogspot.com\/p\/programming-in-c.html#c4v17\" rel=\"nofollow\" target=\"_blank\"\u003E4.17 EXAMPLE 15 - Using touch panel\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/7655739249916600466\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/microcontrollers-programming-guide.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7655739249916600466"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7655739249916600466"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/microcontrollers-programming-guide.html","title":"MikroC Programming Guide"}],"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\/AVvXsEjoI-jrqnbt5iWp0joGf0CMT9N9eg8IVS-Z4mmoyL7Qt-CeVxxniE5q4f8gXLhUIxbeHby9pa2JTlrAFeEwf8XNUoQV77JwkkW6CoSEP-d4I5j2AeY7EC9ri_45wfLh14yEmjdQXclAGnXo\/s72-c\/rd2kit_big.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"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"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-5309160057817373689"},"published":{"$t":"2015-11-08T09:26:00.001+05:30"},"updated":{"$t":"2020-11-04T13:20:22.783+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":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"Digital LCD Speedometer and Odometer 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\/AVvXsEjwR_G4AjJSCBC4BqGGTHmyMWg_PKleMenyxHPqLaCIJ-4mKcby2QSRf-6r6wnlnHKawnqE0C74Kkb0K08u8GxX-GJHG9U1DYa-lt2BIw1iVpCv5HABixE_qT6rYissgrIGM4C7YXREhMFH\/s1600\/speedo-odometer.jpg\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"speedo odometer\" border=\"0\" height=\"180\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjwR_G4AjJSCBC4BqGGTHmyMWg_PKleMenyxHPqLaCIJ-4mKcby2QSRf-6r6wnlnHKawnqE0C74Kkb0K08u8GxX-GJHG9U1DYa-lt2BIw1iVpCv5HABixE_qT6rYissgrIGM4C7YXREhMFH\/s320\/speedo-odometer.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;\"\u003ESpeedometer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIn my previous post, I explained how to build a simple speedometer circuit using a micro-controller and seven segments. Read it from \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2015\/11\/digital-seven-segment-speedometer.html\" target=\"_blank\"\u003Ehere\u003C\/a\u003E.  This is a further development of that circuit. This circuit indicates both speed and distance.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nA speedometer or a speed meter is an instrument that measures and displays the instantaneous speed of a vehicle. An odometer or odograph is an instrument that indicates distance traveled by a vehicle.\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\/AVvXsEiEoalVwmf025TrZKhs4hL3HELgYPx3B1TPdgPwXMIEsdB-FuXwRKaXyHQWeHJqttVXOomHZBDYJdXF3hJXulm43Q_k4yJo_ChwUNZogqXA4bWwkC0Ym2ug13-xJqGkyv-mdEPYkWpZIX-k\/s1600\/speedo-odometer-circuit.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"speedo odometer circuit\" border=\"0\" height=\"232\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiEoalVwmf025TrZKhs4hL3HELgYPx3B1TPdgPwXMIEsdB-FuXwRKaXyHQWeHJqttVXOomHZBDYJdXF3hJXulm43Q_k4yJo_ChwUNZogqXA4bWwkC0Ym2ug13-xJqGkyv-mdEPYkWpZIX-k\/s400\/speedo-odometer-circuit.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;\"\u003ESpeedometer + Odometer Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFor this circuit I used PIC16F628A micro-controller and 16x2 LCD.  You can able to see speed in first line and distance in second line on the LCD. Distance will update every 100 meters and speed updates every one second. Value of distance writes to Eeprom in every 1 km. I also added a button to this circuit. The purpose is, reset the distance to zero.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSame as the Speedometer Circuit, micro-controller count the signals received to RA4 pin and then calculate speed and distance, then display information on LCD. 8 MHz resonator is use to generate clock signals. However, you can always use crystal for it and make sure to add 22pf ceramic capacitors if you use crystal oscillator.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMeasure the radius of the wheel and enter it to Eeprom address 0x00. Default value for radius is 30cm (0x1E). I used two magnets to operate reed switch. Please refer my previous post for more details and circuit connection. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMaximum speed is 999 kmh \u003Cbr \/\u003E\nMaximum distance is 9999 km\u003Cbr \/\u003E\nSupply voltage is 5v\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\/spd_lcd\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ESpeedo + Odometer\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\/5309160057817373689\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/digital-lcd-speedometer-odometer.html#comment-form","title":"3 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5309160057817373689"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5309160057817373689"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/digital-lcd-speedometer-odometer.html","title":"Digital LCD Speedometer and Odometer 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\/AVvXsEjwR_G4AjJSCBC4BqGGTHmyMWg_PKleMenyxHPqLaCIJ-4mKcby2QSRf-6r6wnlnHKawnqE0C74Kkb0K08u8GxX-GJHG9U1DYa-lt2BIw1iVpCv5HABixE_qT6rYissgrIGM4C7YXREhMFH\/s72-c\/speedo-odometer.jpg","height":"72","width":"72"},"thr$total":{"$t":"3"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3860319318685053850"},"published":{"$t":"2015-11-06T20:25:00.003+05:30"},"updated":{"$t":"2020-11-04T13:17:02.386+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":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"}],"title":{"type":"text","$t":"Digital Seven Segment Speedometer 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\/AVvXsEjLNFmJOBHDIvoeK7NZ-2RN24ePQsQYXiKHA_RmbvcW1QZKC3MiM36VNEbHwKFl9czvklUEvZxjwaeHtqURFYefDiIZnWwjHXcOnT4pVGaVhlYCuo8OmgQXgG1D3hjkOUTYMqLK543NL_VA\/s1600\/speedometer1.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"speedometer1\" border=\"0\" height=\"180\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjLNFmJOBHDIvoeK7NZ-2RN24ePQsQYXiKHA_RmbvcW1QZKC3MiM36VNEbHwKFl9czvklUEvZxjwaeHtqURFYefDiIZnWwjHXcOnT4pVGaVhlYCuo8OmgQXgG1D3hjkOUTYMqLK543NL_VA\/s320\/speedometer1.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;\"\u003ESpeedometer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003EHow Electronic Speedometers Work\u003C\/u\u003E\n\u003C\/h3\u003E\nIn Electronic speedometer, small magnets attached to the vehicle's rotating drive shaft sweep past tiny magnetic sensors (either reed switches or Hall-effect sensors) positioned nearby. Each time the magnets pass the sensors, they generate a brief pulse of electric current. An electronic circuit counts how quickly the pulses arrive and converts this into a speed, displayed electronically on the display. Since the circuit is measuring the number of wheel rotations, it can also keep a count of how far you have traveled, doubling-up as an odometer (distance-measuring meter). Electronic speedometers can also display speeds with analog pointers and dials, just like traditional eddy-current speedos: in that case, the electronic circuit drives a highly controllable electric motor (called a stepper motor) that rotates the pointer through an appropriate angle. Electronic speedometers are more reliable and compact than mechanical ones and the motion sensors can be any distance from the display that shows you your speed, making them suitable for any kind of vehicle!\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiha-FeUh7e4GyDse94UuS2LRV6jpHnGW550F-dtVUSgs4LwioVk9yrfNwSY0SDz74bBkn4p3zTQv38BZ_k0eCBqxnHu-B3bKannT76VHTXPkxyooRktsW7Gap9btxr_n7Th90UO51dtJ8R\/s1600\/ele_speedometor.png\" imageanchor=\"1\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"electronic speedometer\" border=\"0\" height=\"240\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiha-FeUh7e4GyDse94UuS2LRV6jpHnGW550F-dtVUSgs4LwioVk9yrfNwSY0SDz74bBkn4p3zTQv38BZ_k0eCBqxnHu-B3bKannT76VHTXPkxyooRktsW7Gap9btxr_n7Th90UO51dtJ8R\/s320\/ele_speedometor.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n1. A magnet connected to one of the wheels rotates at high speed.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n2. Every time it makes one complete revolution, it passes a magnetic sensor and the field from the magnet triggers the sensor.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n3. A circuit translates them into your instantaneous speed and distance traveled.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n4. A digital display displaying the speed and distance.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nHere I will show you how to build simple yet accurate digital speedometer circuit using just a single IC, seven segments and a few external passive components. The design can be used for all vehicles for indicating their speeds.\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\/AVvXsEhuv1bH4qiKkG4GTvNcQDPpOGzuGxnWCPB7GTsCqFVRwOOHbvizWUllAgb8TTfl7To2pMiK3b37dnkRewC4kWWXYNuEiuWqPOLWUfHvU5TdZtTcinmrF6svW7SBhbHbvXkDZnJSa3wIvqTr\/s1600\/speedo_meter_1_sch.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"ssd speedometer circuit\" border=\"0\" height=\"238\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhuv1bH4qiKkG4GTvNcQDPpOGzuGxnWCPB7GTsCqFVRwOOHbvizWUllAgb8TTfl7To2pMiK3b37dnkRewC4kWWXYNuEiuWqPOLWUfHvU5TdZtTcinmrF6svW7SBhbHbvXkDZnJSa3wIvqTr\/s320\/speedo_meter_1_sch.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;\"\u003ESpeedometer Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe main component of this circuit is PIC16F628A. It count signals receive to RA4, then calculate speed and display it on seven segment. A Reed switch used to sense the speed. If the brightness of seven segments is too much, add 220 – 330 Ohms resistors between PORTB and the display.  There are two version of hex files are available. In v1 micro-controller use its internal oscillator and v2 used external 4MHz oscillator.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMeasure the radius of the wheel and enter it to Eeprom address 0x00. Default value for radius is 30cm (0x1E). You can change update interval by changing the value of Eeprom address 0x01. Default value is 20 (0x14). To increase the sensitivity in this circuit I used two magnets.\u003Cbr \/\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\/AVvXsEhhi7pwfIM6xXuhJp1VgkAkmfSan456INu_7WMitdWzxrWlszRwKAExoiFarDSFzz_Q3IvGoj6ImUY1DmeHRjIeEBpHY_v7NeakoT0ySv95if-XyNgtRsAhVTHCHw3dDvspLDvOSpuOeVEZ\/s1600\/spd+eeprom.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"speedometer eeprom settings\" border=\"0\" height=\"199\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhhi7pwfIM6xXuhJp1VgkAkmfSan456INu_7WMitdWzxrWlszRwKAExoiFarDSFzz_Q3IvGoj6ImUY1DmeHRjIeEBpHY_v7NeakoT0ySv95if-XyNgtRsAhVTHCHw3dDvspLDvOSpuOeVEZ\/s320\/spd+eeprom.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 Settings\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMaximum Speed is 999 Kmh\u003Cbr \/\u003E\nMaximum Radius is 255 cm\u003Cbr \/\u003E\nSupply voltage is 5v\u003Cbr \/\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\/AVvXsEgS4zlb4ld8z_1yNCDm7HZ8D8h447g_ndIwIwO8j3oB3oajG7AHfSGLAU3JDoINBNxcs5a3an1BPX-tsOVDxfwqnI_F3li3NS_0YC8prUOGrSArTUbXDg8VaGJ4jT61ua4JJv2oygVZih5k\/s1600\/speedo_connection.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"speedometer connection\" border=\"0\" height=\"190\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgS4zlb4ld8z_1yNCDm7HZ8D8h447g_ndIwIwO8j3oB3oajG7AHfSGLAU3JDoINBNxcs5a3an1BPX-tsOVDxfwqnI_F3li3NS_0YC8prUOGrSArTUbXDg8VaGJ4jT61ua4JJv2oygVZih5k\/s320\/speedo_connection.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;\"\u003ECircuit Connection\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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\/spd_ssd\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ESSD Speedometer\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\/3860319318685053850\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/digital-seven-segment-speedometer.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3860319318685053850"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3860319318685053850"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/digital-seven-segment-speedometer.html","title":"Digital Seven Segment Speedometer 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\/AVvXsEjLNFmJOBHDIvoeK7NZ-2RN24ePQsQYXiKHA_RmbvcW1QZKC3MiM36VNEbHwKFl9czvklUEvZxjwaeHtqURFYefDiIZnWwjHXcOnT4pVGaVhlYCuo8OmgQXgG1D3hjkOUTYMqLK543NL_VA\/s72-c\/speedometer1.jpg","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3189112151617146146"},"published":{"$t":"2015-11-05T12:11:00.000+05:30"},"updated":{"$t":"2015-11-05T12:25:52.028+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"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":"Sensor"}],"title":{"type":"text","$t":"Simple LED Light Meter Circuit - LB1403"},"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\/AVvXsEjH4Fre96xLM0_ZzTC-uG57-weErkPxTC2rdFQNSFCB7AIx4F1x_gua6zxpOyb_yF06uHo3EDB_SVSzUD5rl4D5TTAa0aONWqIXSxie6oSu9eCmsJ9XVFaTTm8hEzghnfsyyHQigY9Tjvd4\/s1600\/Light-Meter.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"Light Meter\" border=\"0\" height=\"320\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjH4Fre96xLM0_ZzTC-uG57-weErkPxTC2rdFQNSFCB7AIx4F1x_gua6zxpOyb_yF06uHo3EDB_SVSzUD5rl4D5TTAa0aONWqIXSxie6oSu9eCmsJ9XVFaTTm8hEzghnfsyyHQigY9Tjvd4\/s320\/Light-Meter.png\" 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\u003Cbr \/\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nA light meter is a device having a light sensor at one end and a window at the other end which displays the reading that indicates the current light conditions. Light meters are often used in the fields of cinematography, photography and also in test cricket in order to determine the optimum light level for a scene.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUsing LB1403 IC and LDR, we can able to build a cheap light meter. LEDs are used to observe the current light conditions and variable resistor is used for adjust the sensitivity. If the LEDs are too bright, change R1 value (220 - 470 ohms). Supply voltage is 6 - 12V.\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\/AVvXsEgYcXKme_UgzyBlfpcoNTqKtqq19VEDie4aUcZn-2W9prrAyxZbBFDOE1D43H9RATIFcAwBnpvWekvmdrNqn9OHxfLd24GGkWhfV6kE6Af2jhLJzAGvVfHbb8sUfe-q2-hss5vIVtI7Frsj\/s1600\/Light_Meter_+sch.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple LED Light Meter Circuit - LB1403\" border=\"0\" height=\"280\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgYcXKme_UgzyBlfpcoNTqKtqq19VEDie4aUcZn-2W9prrAyxZbBFDOE1D43H9RATIFcAwBnpvWekvmdrNqn9OHxfLd24GGkWhfV6kE6Af2jhLJzAGvVfHbb8sUfe-q2-hss5vIVtI7Frsj\/s400\/Light_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;\"\u003ELight Meter Schematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/3189112151617146146\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/simple-led-light-meter-circuit-lb1403.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3189112151617146146"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3189112151617146146"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/simple-led-light-meter-circuit-lb1403.html","title":"Simple LED Light Meter Circuit - LB1403"}],"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\/AVvXsEjH4Fre96xLM0_ZzTC-uG57-weErkPxTC2rdFQNSFCB7AIx4F1x_gua6zxpOyb_yF06uHo3EDB_SVSzUD5rl4D5TTAa0aONWqIXSxie6oSu9eCmsJ9XVFaTTm8hEzghnfsyyHQigY9Tjvd4\/s72-c\/Light-Meter.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7352195168523674199"},"published":{"$t":"2015-11-04T12:20:00.002+05:30"},"updated":{"$t":"2015-11-29T09:57:19.551+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Sensor"}],"title":{"type":"text","$t":"Simple Automatic Brightness Control Circuit "},"content":{"type":"html","$t":"\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgJq3enDqTbjgTvRNjewzESKXKZEMSziI9OX1iemUcARRv0rouqTL388woh3Wx3NyeQ2K8DBe9nAZnOZWs7Z3tA2j-s1MOiYkiqaBpcnLxeU5FgJkXf1gYvkczb2IgvXHs-FMsjZMOnTSbl\/s1600\/automatic-brightness.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"Automatic Brightness Control\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgJq3enDqTbjgTvRNjewzESKXKZEMSziI9OX1iemUcARRv0rouqTL388woh3Wx3NyeQ2K8DBe9nAZnOZWs7Z3tA2j-s1MOiYkiqaBpcnLxeU5FgJkXf1gYvkczb2IgvXHs-FMsjZMOnTSbl\/s1600\/automatic-brightness.png\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\nAutomatic Brightness Control is the automatic adjustment of the exposure factors such as mA and V. ABC is used to keep the brightness of the display or bulb at a constant level. It involves the adjustment of the V and mA automatically depending on the part of the anatomy being examined. This can be achieved using a LDR, for instance, which monitors the ambient light and change its resistance this resistance changing use to adjust the V, the mA (or both) accordingly.\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\/AVvXsEhcAJ2_87vZj4X-lY6cFvJEf62QiCLCJDEv-IW6ng6YOauQ1fRhKQYKpRQQMIctwoZiOzY6daEgtY3SoGuVniYBku2ylFYu0HHJDIgLsLgdiGByAVk3dI99GLQ1HhkupmNb6Ocb-k43g3Ej\/s1600\/ABL.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Automatic Brightness Control Circuit\" border=\"0\" height=\"243\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhcAJ2_87vZj4X-lY6cFvJEf62QiCLCJDEv-IW6ng6YOauQ1fRhKQYKpRQQMIctwoZiOzY6daEgtY3SoGuVniYBku2ylFYu0HHJDIgLsLgdiGByAVk3dI99GLQ1HhkupmNb6Ocb-k43g3Ej\/s400\/ABL.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;\"\u003EAutomatic Brightness Control Circuit \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis simple auto brightness adjusting circuit composed with a LDR. The LDR connected with the Base pin of the PNP transistor. By the LDR feature that its resistance changes with the ambient light, the voltage of Base change. When the ambient light is bright, the resistance of LDR is low, and the voltage of Base is reducing and the ambient light is low, the resistance of LDR is high, and the voltage of Base is rising. Then the output voltage of transistor is changing. The variable resistor is use to adjust the sensitivity of circuit. Supply voltage for this circuit is 12v.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cu\u003ELight Dependent Resistors (LDR)\u003C\/u\u003E\u003C\/h3\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhEA48UOSMYEUkTUPTTFAz7eQRDVXNdpdl3PWgu-L3osIzGQOtzJ9O52Fzx1YIA98dxR9rle1FNypgZ6IPw_wHcuS0OkkvErzkNvGhiG3Rtq6PW7p_xq3IwzpMWy87LQiDXw9yzPtUsn9Ju\/s1600\/LDR.gif\" imageanchor=\"1\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"Light Dependent Resistor\" border=\"0\" height=\"136\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhEA48UOSMYEUkTUPTTFAz7eQRDVXNdpdl3PWgu-L3osIzGQOtzJ9O52Fzx1YIA98dxR9rle1FNypgZ6IPw_wHcuS0OkkvErzkNvGhiG3Rtq6PW7p_xq3IwzpMWy87LQiDXw9yzPtUsn9Ju\/s200\/LDR.gif\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\nA Light Dependent Resistor (LDR) is a resistor that changes in value according to the light falling on it. An LDR commonly has a high resistance in the dark, and a low resistance in the light.\n\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\/simple_abl\"\u003E\u003Cspan style=\"font-size: large;\"\u003EABC Circuit \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\/7352195168523674199\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/automatic-brightness-control-circuit.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7352195168523674199"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7352195168523674199"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/11\/automatic-brightness-control-circuit.html","title":"Simple Automatic Brightness Control Circuit "}],"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\/AVvXsEgJq3enDqTbjgTvRNjewzESKXKZEMSziI9OX1iemUcARRv0rouqTL388woh3Wx3NyeQ2K8DBe9nAZnOZWs7Z3tA2j-s1MOiYkiqaBpcnLxeU5FgJkXf1gYvkczb2IgvXHs-FMsjZMOnTSbl\/s72-c\/automatic-brightness.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-8223132352676243024"},"published":{"$t":"2015-09-20T15:06:00.005+05:30"},"updated":{"$t":"2020-11-04T13:12:25.828+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"12F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Security"}],"title":{"type":"text","$t":"Simple Power Guard Circuit - 12F683"},"content":{"type":"html","$t":"\u003Cspan style=\"color: red;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EUpdate\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: yellow;\"\u003E2015-10-05 Wrong circuit diagram - Fixed\n\u003C\/span\u003E\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\/AVvXsEj0-hS25bEJrOaC5YPfDjneRTLT2czekYQCjKJBoH_gcpF2hcRtkKUrcBGuoCw_QVVNZEdK9BUn0Hx1eMeSLPc1FhpYHQq0993x9qpcVjd_wgPe6fEXugeWkievgebbyF9G9fLaQshIif7S\/s1600\/power_g.webp\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Power Guard\" border=\"0\" height=\"320\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj0-hS25bEJrOaC5YPfDjneRTLT2czekYQCjKJBoH_gcpF2hcRtkKUrcBGuoCw_QVVNZEdK9BUn0Hx1eMeSLPc1FhpYHQq0993x9qpcVjd_wgPe6fEXugeWkievgebbyF9G9fLaQshIif7S\/s320\/power_g.webp\" title=\"Power Guard\" width=\"164\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPower Guard\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is a very simple and accurate power guard circuit. This circuit is useful to guard the electronic or electrical devices from mains transients and spikes. Very high spikes can develop at power on due to sparking in the switch and more serious effects occur when power resumes after a power failure due to high magnetic field in the distribution transformer. This will damage your device permanently.  To avoid such damages we can use this circuit.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis circuit used cheap PIC12F683 micro-controller. It controls all the functions of power guard. After power is applied, the green LED starts to blink. This circuit gives a time delay before giving power to the device. Default value is 30 seconds. However, you can change this value. See configuration for more details. After this delay, Green LED turns on permanently. Then Relay activates and connects power to the device.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWhen the power is abnormal Yellow or Red LED turns on and relay will turn off to protect our device. The Green LED will start to flash again and after delay time it check power status and turn relay on if the voltage is good. Yellow LED indicates low voltage and Red LED indicate high voltage. If all the LEDs are turn on, that indicates firmware error and pleases re-programmed micro-controller.\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\/AVvXsEgqgdMFaFFq2wxJFUiKAPmytUnGNkDBLp54wW58QGIVYYnJ413X9kYX1HOXdQr8eccRECUpXQweC6HTUxTPHCwrgc-U00YjUXRDzkxdENpfXxN6ZHtfe6mhoP7ByMbI2miEqiJjzKXcyC0j\/s1600\/simple_pg%257E1.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple Power Guard Circuit Diagram\" border=\"0\" height=\"224\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgqgdMFaFFq2wxJFUiKAPmytUnGNkDBLp54wW58QGIVYYnJ413X9kYX1HOXdQr8eccRECUpXQweC6HTUxTPHCwrgc-U00YjUXRDzkxdENpfXxN6ZHtfe6mhoP7ByMbI2miEqiJjzKXcyC0j\/s320\/simple_pg%257E1.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;\"\u003ECircuit Diagram v2\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch3\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003EConfiguration and Calibration\u003C\/u\u003E\u0026nbsp;\u003C\/span\u003E\u003C\/h3\u003E\nFor this circuit I used 12v step down transformer. Its output use to sense the power condition. Before using, you need to calibrate this circuit for working correctly. In my project, I choose 240v as normal, 260v as high and 200v as low voltage.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nConnect multimeter to GP0 and check voltage. if it exceed 5v immediately turn off power and check the component and connections. (Typical value is 3 - 3.5v)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nV = [Tp\/12] x [(Vdd\/1023) x Eeprom val x 4]\u003Cbr \/\u003E\nTp = primary voltage\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n200 = [240\/12] x [(5\/1023) x Eeprom val x 4]\u003Cbr \/\u003E\n260 = [240\/12] x [(5\/1023) x Eeprom val x 4]\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEeprom value for low condition (200v) = 511 (1FF hex)\u003Cbr \/\u003E\nGP0 voltage = (2v4)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEeprom value for high condition (260v) = 664 (298 hex)\u003Cbr \/\u003E\nGP0 voltage = (3v3)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWrite those values to Eeprom.\u003Cbr \/\u003E\nV high = Eeprom (0)*256 + Eeprom (1) - (0x02 and 0x98)\u003Cbr \/\u003E\nV low = Eeprom (2)*256 + Eeprom (3) - (0x01 and 0xFF)\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\/AVvXsEhGW3s8QNPjQXRsQi4J3lCkUlIumhzfzlUdDBSI68uqbpNzFyIB_NUKGI8-OyiFupBjak2P2EoPPMMQ2uDLnkY9AyuI_Pw_t-2fPvgrl7YV7ufNHpZc4fDOtVtG1KEvQODFLMjqSYaiYeh3\/s1600\/pg_eep.JPG\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple Power Guard Eeprom settings\" border=\"0\" height=\"211\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhGW3s8QNPjQXRsQi4J3lCkUlIumhzfzlUdDBSI68uqbpNzFyIB_NUKGI8-OyiFupBjak2P2EoPPMMQ2uDLnkY9AyuI_Pw_t-2fPvgrl7YV7ufNHpZc4fDOtVtG1KEvQODFLMjqSYaiYeh3\/s320\/pg_eep.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 settings\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nTo change\u0026nbsp; delay time simply changes the value of Eeprom address 4 (Default 0x3C)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDelay time in seconds = value of Eeprom address \/ 2\u003Cbr \/\u003E\n0 \u0026lt; value of Eeprom address \u0026lt; 255 (0 \u0026lt; Delay time in seconds \u0026lt; 127)\u003Cbr \/\u003E\nMinimum delay time is 0 seconds and maximum delay time is 2 minutes.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNot for the commercial purpose.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cmyquote\u003E\/***************************************************************************\n\n    Simple Power Guard\n    Copyright (C) 2014 Praneeth Kanishka\n\n    This program is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see http:\/\/www.gnu.org\/licenses\n\n    \u003E\u003E Email: scorpionzblog@gmail.com\n    \u003E\u003E Web  : http:\/\/scopionz.blogspot.com\n\n***************************************************************************\/\n\n#define  L_H  GPIO.F1\n#define  L_L  GPIO.F2\n#define  L_K  GPIO.F4\n#define  RLY  GPIO.F5\n\nchar idx, del=1, v_d, error;\nint sense, v_h, v_l;\n\nvoid main()\n{\nOSCCON = 0x70; \/\/ 8Mhz\nADCON0 = 0x00;\nCMCON0 = 0x07; \/\/ Disable Comparators\nCMCON1 = 0x00;\nANSEL  = 0x01;\nTRISIO = 0b00000001;\nOPTION_REG = 0;\nWPU=0;\n\nDelay_ms(10);\nGPIO   = 0;\n\nv_h = Eeprom_Read(1) + Eeprom_Read(0)*256;\nv_l = Eeprom_Read(3) + Eeprom_Read(2)*256;\nv_d = Eeprom_Read(4);\nerror = Eeprom_Read(5);\nif(error\u003E101) error=0;\nEeprom_Write(5, error+1);\nDelay_ms(10);\n\n\/\/v_h = 664;\n\/\/v_l = 511;\n\/\/v_d = 10;\n\/\/error = 100;\n\nwhile(1) {\n\nif(error\u003E99) {\nRLY=0; L_K=1; L_H=1; L_L=1;\nwhile(1);\n}\n\n\nif(del) {\nfor(idx=0; idx\u0026lt;v_d; idx++) { \/\/60 = 30sec\nL_K=~L_K;\nDelay_ms(500);\n }\ndel=0;\n}\n\nsense=Adc_Read(0);\n\n     if(sense\u003Ev_h) {RLY=0; L_K=0; L_H=1; del=1;}\nelse if(sense\u0026lt;v_l) {RLY=0; L_K=0; L_L=1; del=1;}\nelse               {RLY=1; L_K=1; L_H=0; L_L=0;}\n\nDelay_ms(500);\n}\n}\u003C\/myquote\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\n\u003Ca href=\"http:\/\/tiny.cc\/simpg\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ESimple Power Guard\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\/8223132352676243024\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/09\/simple-power-guard-using-12f683.html#comment-form","title":"7 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/8223132352676243024"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/8223132352676243024"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/09\/simple-power-guard-using-12f683.html","title":"Simple Power Guard Circuit - 12F683"}],"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\/AVvXsEj0-hS25bEJrOaC5YPfDjneRTLT2czekYQCjKJBoH_gcpF2hcRtkKUrcBGuoCw_QVVNZEdK9BUn0Hx1eMeSLPc1FhpYHQq0993x9qpcVjd_wgPe6fEXugeWkievgebbyF9G9fLaQshIif7S\/s72-c\/power_g.webp","height":"72","width":"72"},"thr$total":{"$t":"7"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-2035129445665220815"},"published":{"$t":"2015-06-15T19:41:00.001+05:30"},"updated":{"$t":"2020-11-04T13:10:03.162+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":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tuner"}],"title":{"type":"text","$t":"I2C FM Receiver Circuit with LCD - 16F88 BK1080"},"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\/AVvXsEi3Lya_ti31qvI5P0J8yrMRCP3VuoFjsxNCL3Q8R2lHHXugSvUpTHAQj4wGWcisagEh9XKgqNZ3g8ecI8uHJyeuL-ZYfokHi7Nlswy_SFuGizo9w0Qfch3n6GhZRRdUMJtwBbZBkOzjJRGc\/s1600\/sony-xdr-f1hd-1.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Digital FM Receiver\" border=\"0\" height=\"240\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEi3Lya_ti31qvI5P0J8yrMRCP3VuoFjsxNCL3Q8R2lHHXugSvUpTHAQj4wGWcisagEh9XKgqNZ3g8ecI8uHJyeuL-ZYfokHi7Nlswy_SFuGizo9w0Qfch3n6GhZRRdUMJtwBbZBkOzjJRGc\/s320\/sony-xdr-f1hd-1.gif\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDigital FM Receiver\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis is a simple stereo FM radio receiver circuit that can scan with 87.5 MHz and 108 MHz seamlessly between 100 kHz step and it use BK1080 as a receiver IC.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMain components of this receiver are a PIC16F88 micro-controller, 16x2 LCD and BK1080 FM receiver chip. This system is design to work with 5V DC power supply. User interface of this system consist with 6 push buttons and a 16×2 character LCD module. All the functions of this receiver can control by this buttons and necessary information displayed on the LCD. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ESpecifications of this receiver\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003EEasy to build\u003C\/li\u003E\n\u003Cli\u003EStandby mode\u003C\/li\u003E\n\u003Cli\u003EAutomatic gain control\u003C\/li\u003E\n\u003Cli\u003EAutomatic frequency control\u003C\/li\u003E\n\u003Cli\u003EAutomatic noise suppression\u003C\/li\u003E\n\u003Cli\u003EPreset memory stations up to 250 (default 20)\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEizxOFVmuMKmyBMdMCOwqKORFBmE9RSia4YoM7KUjbm6XKlSGX4RphJ3tHG4FfPKFpAcQxIArAYkftEbbz6fC5XBRnhDG-aa8dYsCbS6_f1Naemv5_OPVZcgS_yhVLtPurGHGqcUjm_OV-l\/s1600\/fm_bk.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Schematic of BK1080 I2C FM Receiver\" border=\"0\" height=\"241\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEizxOFVmuMKmyBMdMCOwqKORFBmE9RSia4YoM7KUjbm6XKlSGX4RphJ3tHG4FfPKFpAcQxIArAYkftEbbz6fC5XBRnhDG-aa8dYsCbS6_f1Naemv5_OPVZcgS_yhVLtPurGHGqcUjm_OV-l\/s320\/fm_bk.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;\"\u003ESchematic of BK1080\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EBK1080\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nThe BK1080 FM receiver employs a low-IF architecture, mixed signal image rejection and all digital demodulation technology. The stations scan of BK1080 searches radio stations based on both the channel RSSI estimation and signal quality assessment, increases the number of receivable stations while avoids false stops. BK1080 enables FM radio reception with low power, small board space and minimum number of external components. All functions controlled through an I2C serial interface. See datasheet for more details.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNumbers of memory locations are determine by the value of Eeprom 1 (default value 0x14).\u003Cbr \/\u003E\nYou can connect an earphone directly with BK1080’s output. However, do not connect speakers directly with IC. I recommended you to use amplifier if you wish to get more sound. In addition, be carefully when soldering BK1080. Because this IC more sensitive to electrostatic. Use DC soldering Iron to solder this IC or unplug your iron when solder. Micro-controller runs using its internal oscillator. RA0 and RA1 are configuring as SCL and SDA. RA2 is not connected. RA6 pin can directly connect with background light of LCD display. As well as it is also can used for the controlling another device like mute pin of power amp. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003ESelecting the station:\u003C\/span\u003E\u003C\/u\u003E\u003Cbr \/\u003E\nWhen we are in the power on mode, on the screen we can see \"Frq:107.5 Ch:12\" - tuned frequency of the station and then the number of the cell where the recorded frequency of the station. Pressing ‘CH_UP’ and ‘CH_DN’ we can move the recorded stations. Pressing ‘FR_UP’ and ‘FR_DN’ we can change the frequency. ‘STORE’ stored the current frequency to the current station and ‘PWR’ used to toggle standby mode and power on mode\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFirmware of this system was written by using MikroC for PIC and schematic, hex and Proteus files are available for download.\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\n\u003Ca href=\"http:\/\/tiny.cc\/2a7fzx\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EBK1080 FM Receiver\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\/2035129445665220815\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/06\/i2c-fm-receiver-pic16f88-bk1080.html#comment-form","title":"7 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2035129445665220815"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2035129445665220815"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/06\/i2c-fm-receiver-pic16f88-bk1080.html","title":"I2C FM Receiver Circuit with LCD - 16F88 BK1080"}],"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\/AVvXsEi3Lya_ti31qvI5P0J8yrMRCP3VuoFjsxNCL3Q8R2lHHXugSvUpTHAQj4wGWcisagEh9XKgqNZ3g8ecI8uHJyeuL-ZYfokHi7Nlswy_SFuGizo9w0Qfch3n6GhZRRdUMJtwBbZBkOzjJRGc\/s72-c\/sony-xdr-f1hd-1.gif","height":"72","width":"72"},"thr$total":{"$t":"7"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3060962896777755691"},"published":{"$t":"2015-06-13T17:20:00.002+05:30"},"updated":{"$t":"2020-11-04T13:07:07.700+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":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SPI"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tuner"}],"title":{"type":"text","$t":"PLL Synthesized FM Receiver Circuit with LCD - 16F88 LM7001"},"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\/AVvXsEjuEcbsgjLnOy3sPI0LjJ7gd2Mjtj_v3yvbLCTSVWycDgRBlvLjaaB2uGf_t129XzMnWSadQ08lQUUN1jE5vY42l7oDt3sy14qvw45DoLzbw6niuSNV6gHsLWB1lt23JLh4sqJdAamOJ8LA\/s1600\/tunerbox.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"FM Tuner\" border=\"0\" height=\"205\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjuEcbsgjLnOy3sPI0LjJ7gd2Mjtj_v3yvbLCTSVWycDgRBlvLjaaB2uGf_t129XzMnWSadQ08lQUUN1jE5vY42l7oDt3sy14qvw45DoLzbw6niuSNV6gHsLWB1lt23JLh4sqJdAamOJ8LA\/s320\/tunerbox.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;\"\u003EFM Tuner\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is high quality stereo digital PLL synthesized FM radio receiver circuit that can scan with 76 MHz and 108 MHz seamlessly between 100 kHz step, although the sensitivity is high.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMain components of this receiver are a PIC16F88 micro-controller, 16x2 LCD, LM7001 PLL Frequency Synthesizer, AN7223 IF Amp, TA7343 MPX and a FM Tuner. This system is design to work with 12V DC power supply and the LM7805 and 7808 regulators used to manage power requirements to the above-mentioned components.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUser interface of this system consist with 6 push buttons and a 16×2 character LCD module. All the functions of this receiver can control by this buttons and necessary information displayed on the LCD.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003ESpecifications of this receiver\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003EHigh sensitivity\u003C\/li\u003E\n\u003Cli\u003EStandby mode\u003C\/li\u003E\n\u003Cli\u003EPreset memory stations up to 250 (default 20)\u003C\/li\u003E\n\u003Cli\u003E3-user selectable frequency ranges (default 87.5-108)\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEiR0niw_O9FjC0qNxzGaSi39VgtYiC-yQC6XdxaRdjQpupwKJgQDodER4P-EQjvo1Q7qBRXYBE8uGJeYwjwUwp0BIDg3mSdJ_H2PfUgdYtUr4Aulz3NN7h7SUKF6sBnm4zJlGg3k7o7zziC\/s1600\/fm_pll.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Schematic of PLL and Power circuit\" border=\"0\" height=\"151\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiR0niw_O9FjC0qNxzGaSi39VgtYiC-yQC6XdxaRdjQpupwKJgQDodER4P-EQjvo1Q7qBRXYBE8uGJeYwjwUwp0BIDg3mSdJ_H2PfUgdYtUr4Aulz3NN7h7SUKF6sBnm4zJlGg3k7o7zziC\/s400\/fm_pll.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;\"\u003ESchematic of PLL and Power circuit\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\/AVvXsEhIcU4Bk95uOztwTxISKtuRFr-nJD0uPWBQDEw01GUvEZEsC63_YbgqlJEXMfB_6ayDB_XzUQG-7oo7pENgQAp5G3dHpBa0ZYesDxTl-qbUypGsAlKpJYctwX6hj3WmN8wummktFn3v3bfV\/s1600\/fm_up.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Schematic of micro-controller and user interrface\" border=\"0\" height=\"242\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhIcU4Bk95uOztwTxISKtuRFr-nJD0uPWBQDEw01GUvEZEsC63_YbgqlJEXMfB_6ayDB_XzUQG-7oo7pENgQAp5G3dHpBa0ZYesDxTl-qbUypGsAlKpJYctwX6hj3WmN8wummktFn3v3bfV\/s400\/fm_up.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;\"\u003ESchematic of micro-controller and user interrface\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELM7001\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nThe LM7001 is a PLL frequency synthesizer LSIs for tuners, making it possible to make up high performance AM\/FM tuners easily. These LSIs are software compatible with the LM7000, but do not include an IF calculation circuit. The FM VCO circuit includes a high-speed programmable divider that can divide directly seven reference frequencies.  Serial input circuit for data input (using the CE, CL, and DATA pins)\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003ETuner\u0026nbsp; \u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nAnticipating the objection that these tuners do not find, I assure you that if you do not be lazy and go through the repair shops where repair radio. In addition, you can get this tuner from old audio system and car set.  There are 3 types.\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\/AVvXsEhXrrfQuj859GF2BwEXHMAFYMF8WAoOE34sIP4bgS85y8aihv0gMNA4laT3d0Ft7L93LnSxmm4ogvHZsOOeNqBC6t4o2JlZpCJMqkaC7SoxPTv0b9yim-9qwy9fWeIobsXPrpUerP8kCRcA\/s1600\/fm_tuner.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Types of tuner\" border=\"0\" height=\"281\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhXrrfQuj859GF2BwEXHMAFYMF8WAoOE34sIP4bgS85y8aihv0gMNA4laT3d0Ft7L93LnSxmm4ogvHZsOOeNqBC6t4o2JlZpCJMqkaC7SoxPTv0b9yim-9qwy9fWeIobsXPrpUerP8kCRcA\/s320\/fm_tuner.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;\"\u003ETypes of tuner\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Col\u003E\n\u003Cli\u003EFM Front End only (you need to build IF Amp, MPX circuit)\u003C\/li\u003E\n\u003Cli\u003EFM Front End with IF (you need to build MPX)\u003C\/li\u003E\n\u003Cli\u003EFM Front End IF and MPX\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EIF Amp and MPX\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nFor IF amp I used AN7223 because it need few external parts and it has high sensitivity and stability. If you cannot find FM quad coil then you can use 2pin 10.7MHZ ceramic resonator for that (see datasheet for more details). However, it is possible to use another IC for this as AN7220, TA7640 and KA2297 etc.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFor MPX decoder here I used TA7343. This IC decode mono signal to stereo. This is an optional part. If you wish to work with mono, then omit this part and connect amplifier input with ‘AF’.\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\/AVvXsEgyP5I2dWMYZES9dx_rhEOVKyFN_XqgUWyfuvIQ7nsPEtC6BdSVXXS91DArhmQ_R-och0mBr4bJltX93QOqf-5HcJGK8cP6irmlMLyzL28JAz9eBSjrg_MnrU8dD-RN1OC6QyuA10aGVu1r\/s1600\/fm_if.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"IF and MPX circuit\" border=\"0\" height=\"157\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgyP5I2dWMYZES9dx_rhEOVKyFN_XqgUWyfuvIQ7nsPEtC6BdSVXXS91DArhmQ_R-och0mBr4bJltX93QOqf-5HcJGK8cP6irmlMLyzL28JAz9eBSjrg_MnrU8dD-RN1OC6QyuA10aGVu1r\/s400\/fm_if.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;\"\u003EIF and MPX circuit\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\/AVvXsEiyiLZBLOvmgL2zO558581Lk_O8oU2ku51Idlr2rMWkkwGHjw2MW0UC5lD31nG6NbzUlsemII4FU4CvbEmbtmGLcgop_zqAivczdNd2WM670LMTt90Pa1n3TsFdsPDpSuW_AluivC2Rpy8F\/s1600\/SNC00014%257E1.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Complete circuit pcb\" border=\"0\" height=\"193\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiyiLZBLOvmgL2zO558581Lk_O8oU2ku51Idlr2rMWkkwGHjw2MW0UC5lD31nG6NbzUlsemII4FU4CvbEmbtmGLcgop_zqAivczdNd2WM670LMTt90Pa1n3TsFdsPDpSuW_AluivC2Rpy8F\/s200\/SNC00014%257E1.jpg\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EComplete circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EOperation\n\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nNumbers of memory locations are determine by the value of Eeprom 1 (default value 0x14) and frequency range is determine by the value of Eeprom 2 (default value 0x00).\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003EIf value is 1 then range is 76-108MHz\u003C\/li\u003E\n\u003Cli\u003EIf value is 2 then range is 76-90MHz\u003C\/li\u003E\n\u003Cli\u003EElse, range is 87.5-108 MHz\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-family: \u0026quot;arial\u0026quot; , \u0026quot;helvetica\u0026quot; , sans-serif;\"\u003ESelecting the station:\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003Cbr \/\u003E\nWhen we are in the power on mode, on the screen we can see \"Frq:106.5  Ch:15\" - tuned frequency of the station and then the number of the cell where the recorded frequency of the station. Pressing ‘CH_UP’ and ‘CH_DN’ we can move the recorded stations.  Pressing ‘FR_UP’ and ‘FR_DN’ we can change the frequency. ‘STORE’ stored the current frequency to the current station and ‘PWR’ used to toggle standby mode and power on mode\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMicro-controller runs using its internal oscillator. RA6 pin can directly connect with background light of LCD display. As well as it is also can used for the controlling another device like mute pin of power amp. For VCC (tuning voltage) you can use up-to 12v. \u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFirmware of this system was written by using MikroC for PIC and schematic, hex and Proteus files are available for download.\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\/5ylczx\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EPLL Tuner\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\/3060962896777755691\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/06\/pll-synthesized-fm-receiver-pic16f88.html#comment-form","title":"80 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3060962896777755691"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3060962896777755691"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/06\/pll-synthesized-fm-receiver-pic16f88.html","title":"PLL Synthesized FM Receiver Circuit with LCD - 16F88 LM7001"}],"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\/AVvXsEjuEcbsgjLnOy3sPI0LjJ7gd2Mjtj_v3yvbLCTSVWycDgRBlvLjaaB2uGf_t129XzMnWSadQ08lQUUN1jE5vY42l7oDt3sy14qvw45DoLzbw6niuSNV6gHsLWB1lt23JLh4sqJdAamOJ8LA\/s72-c\/tunerbox.jpg","height":"72","width":"72"},"thr$total":{"$t":"80"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-548542410908567284"},"published":{"$t":"2015-05-30T15:16:00.003+05:30"},"updated":{"$t":"2020-11-04T11:28:26.337+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"}],"title":{"type":"text","$t":"Stereo Bass Booster Circuit with Simple Mixer"},"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\/AVvXsEhAnMBAKHNQ66Zw13TUbtEh1n8z3cfdv1PVcaEybeVqPoG2MSFIlznSv-IE_bxh7Nk5O0NOtkdJLjeUG6PgaJm6Gty2zB0N0E3jG_ZjzaaZvw1Yrk3f4rI4r0594u2m9tdMPjeyGINq657t\/s1600\/xbass.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Bass Booster\" border=\"0\" height=\"111\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhAnMBAKHNQ66Zw13TUbtEh1n8z3cfdv1PVcaEybeVqPoG2MSFIlznSv-IE_bxh7Nk5O0NOtkdJLjeUG6PgaJm6Gty2zB0N0E3jG_ZjzaaZvw1Yrk3f4rI4r0594u2m9tdMPjeyGINq657t\/s200\/xbass.jpg\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EBass Booster\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nA Bass Booster is an audio device, which amplifies the low frequencies (bass) within the audio spectrum. This operates in a similar manner to an audio equalizer. General-purpose equalizers are often not effective at boosting very low frequencies, and therefore many electronics enthusiasts make their own circuit to achieve this purpose. Using following circuit you can boost frequencies below 60Hz.\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\/AVvXsEhI4c8SYl27xfWcgonXi7BHuQDLB0_I2e_avnuxCX_vYQXVQxAdm0klVqVoUIxeu9BmX4Nhi2MSTDkuPnK4HHoezlL3EjNRTzcumMd8JuNRg4vjGm53hXzjoAT5p_w2r7-MOp9YxonmTiBI\/s1600\/bb_sch.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Stereo Bass Booster circuit\" border=\"0\" height=\"209\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhI4c8SYl27xfWcgonXi7BHuQDLB0_I2e_avnuxCX_vYQXVQxAdm0klVqVoUIxeu9BmX4Nhi2MSTDkuPnK4HHoezlL3EjNRTzcumMd8JuNRg4vjGm53hXzjoAT5p_w2r7-MOp9YxonmTiBI\/s320\/bb_sch.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;\"\u003ESchematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis circuit is an active circuit and used TL074, which include separate four op-amps. Alternatively, you can use any general-purpose op amp such as LM324, TL084, etc. This circuit is not only a bass booster it also include a simple mixer circuit. U1A and U1D are act as mixer, U1B and U1C for the base boosting. I design this circuit for electronic switching. Therefor I used two transistors for it. To enable bass boost connect ‘ubb’ to positive supply. You can use normal switch for it. In addition, it is possible to enable bass boost by applying voltage signal to ‘ubb’, which come from a micro-controller or any other source. This circuit can operate in either single supply or dual power supply.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"font-size: small;\"\u003E\u003Cu\u003EFor single power supply\u003C\/u\u003E\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003EOmit C20 and C21.\u003C\/li\u003E\n\u003Cli\u003EConnect positive supply to VDD and Ground (0v) to GND or VAA.\u003C\/li\u003E\n\u003Cli\u003EMax Supply voltage is 12v.\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Cu\u003EFor dual power supply\u003C\/u\u003E\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ERemove J3 (jumper), C15, R19 and R20.\u003C\/li\u003E\n\u003Cli\u003EAdd jumper (0 Ohms) for R20 it.\u003C\/li\u003E\n\u003Cli\u003EConnect positive supply to VDD, negative for VAA and Ground (0v) to GND.\u003C\/li\u003E\n\u003Cli\u003EMax Supply voltage is +\/-12v.\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nPlease ignore the U2, R21, C16, C18 and P1. Those are not necessary for the operation of this circuit. These parts are optional because that this circuit and PCB were designed for my personal project.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow connect output of this circuit with amplifier input and give your input to the mixer side. This circuit is ideal for high quality sound. If you want that unique clean high-bass sound then this circuit can provide it.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSchematic and PCB files were added to the download and you can download from it below.\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=\"https:\/\/tiny.cc\/Bass_boost\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EX-Bass Sch \u0026 PCB\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\/548542410908567284\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/05\/stereo-bass-booster-with-simple-mixer.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/548542410908567284"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/548542410908567284"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/05\/stereo-bass-booster-with-simple-mixer.html","title":"Stereo Bass Booster Circuit with Simple Mixer"}],"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\/AVvXsEhAnMBAKHNQ66Zw13TUbtEh1n8z3cfdv1PVcaEybeVqPoG2MSFIlznSv-IE_bxh7Nk5O0NOtkdJLjeUG6PgaJm6Gty2zB0N0E3jG_ZjzaaZvw1Yrk3f4rI4r0594u2m9tdMPjeyGINq657t\/s72-c\/xbass.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-8700023046445617625"},"published":{"$t":"2015-05-28T15:22:00.002+05:30"},"updated":{"$t":"2020-11-04T11:17:45.251+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Apps"},{"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"}],"title":{"type":"text","$t":"10 Band I2C Graphic Equalizer Circuit - 16F628 TEA6360"},"content":{"type":"html","$t":"\u003Cspan style=\"color: red; font-size: large;\"\u003EUpdated:\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cspan style=\"color: yellow;\"\u003E\n\u003Cli\u003E2016-08-17 - Added small application for calculate frequencies and parts.\u003C\/li\u003E\n\u003C\/span\u003E\n\u003C\/ul\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\/AVvXsEiypSFvCjKejo9Wko_Uvy6TyBu4lLbiTCYBhxmf4kH7PL9JTZyo8S4GxBRONRom9C1TZaiGJ4o9IKOYc6ncQBxhgCk_-WHPChuIonhmjcMy2pdHohyphenhyphenYSTScasW7s1rIBrYnSOsbtjRJevw_\/s1600\/Graphic_EQ1.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"10 Band Equalizer\" border=\"0\" height=\"165\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiypSFvCjKejo9Wko_Uvy6TyBu4lLbiTCYBhxmf4kH7PL9JTZyo8S4GxBRONRom9C1TZaiGJ4o9IKOYc6ncQBxhgCk_-WHPChuIonhmjcMy2pdHohyphenhyphenYSTScasW7s1rIBrYnSOsbtjRJevw_\/s320\/Graphic_EQ1.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;\"\u003E10 Band Equalizer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nA graphic equalizer is a high-fidelity audio control that allows the user to see graphically and control individually a number of different frequency bands in a stereophonic system. A typical graphic equalizer consists of several audio filter\/amplifiers, each centered at a specific frequency in the audio range. Most graphic equalizers have two identical sets of filter\/amplifiers, one for each channel in a stereophonic system.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe gain controls in most graphic equalizers are slide potentiometers that are adjusted by moving a controller up or down. Gain is increased by sliding the upwards. The slide potentiometers for each channel are placed side-by-side, with the lowest-frequency unit at the left and the highest-frequency unit at the right. In this way, the positions of the buttons appear to follow a graphical curve that represents the gain as a function of frequency for each channel.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nBy using following circuit you can build a 10 band stereo graphic equalizer that can be controlled via I2C system. For this circuit I used two of TEA6360 ICs. Each IC contains two serial five bands equalizer blocks. Therefore, we need two ICs for 10 bands. We can reduce the size of circuit because all the function can be drive via i2C. So that, we do not need connect potentiometers to control the gain of frequency bands like an ordinary equalizer. In addition, we can reduce cost and complexity of circuit using this IC.\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\/AVvXsEgkumRX-IajEX14_1FnBjBaXLPriyKhKnq7q_a-ioze2qnnQWp-UhR9jeyRk7tm5II5ONRxxciksAH9GeSHoirf82TWIRx2lyT1FwdT_juzJfVVsrshjtSMN1_mwcDH8JnGcdsdRcZETxnn\/s1600\/TEA6360_sch.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"10 Band Equalizer circuit\" border=\"0\" height=\"277\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgkumRX-IajEX14_1FnBjBaXLPriyKhKnq7q_a-ioze2qnnQWp-UhR9jeyRk7tm5II5ONRxxciksAH9GeSHoirf82TWIRx2lyT1FwdT_juzJfVVsrshjtSMN1_mwcDH8JnGcdsdRcZETxnn\/s400\/TEA6360_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;\"\u003ESchematic\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\/AVvXsEjP4x_w7-Q2G3BQU6MIaOL29aZRlveEkvK7X9CJnLFwx9SqlF1jCgTGNBaHrye68TUFOF3bNjrglY1uFljENdrPPtDy34e75qGSfKG2D0oXmq7XbiRBMfxP4yJDcFi-J8m-qAHnMZcfpBw2\/s1600\/SNC00010%257E1.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"10 Band Equalizer pcb\" border=\"0\" height=\"197\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjP4x_w7-Q2G3BQU6MIaOL29aZRlveEkvK7X9CJnLFwx9SqlF1jCgTGNBaHrye68TUFOF3bNjrglY1uFljENdrPPtDy34e75qGSfKG2D0oXmq7XbiRBMfxP4yJDcFi-J8m-qAHnMZcfpBw2\/s320\/SNC00010%257E1.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;\"\u003ECircuit on PCB\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn my demo code, I used 16F628A micro-controller and single button to set equalizer modes. The modes  are ‘Flat’, ’Rock‘, ’Pop‘, ’Jazz‘ and ’Party’. The status will indicate by five LEDs those connected to PORTA. In addition, selected mode saved to device Eeprom and load to ICs when start up. However, according to your choice you can able to change the code. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFor example if you need to set gain for each frequency manually, then you can add 1 button to each channel and total 10 buttons.\nFor another example, you can add 3 buttons.  One button to raise the gain and other to lower and 3rd one for select desired frequency. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe center frequency of each bands are 31Hz, 62Hz, 125Hz, 250Hz, 500Hz, 1KHz, 2KHz, 4KHz, 8KHz and 16KHz. the Q (quality) factor is 1 to 1.2 and PCB, full schematic and sample code can be downloading in below. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003EPart List\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003EC04, 07, 08, 09 = 0.37uF\u003C\/li\u003E\n\u003Cli\u003EC10, 11, 12, 13 = 0.18uF \u003C\/li\u003E\n\u003Cli\u003EC14, 15, 16, 17 = 0.01uF\u003C\/li\u003E\n\u003Cli\u003EC18, 19, 20, 21 = 0.047uF\u003C\/li\u003E\n\u003Cli\u003EC22, 23, 24, 25 = 0.022uF\u003C\/li\u003E\n\u003Cli\u003EC27, 28, 30, 31 = 0.01uF\u003C\/li\u003E\n\u003Cli\u003EC32, 33, 34, 35 = 0.0052uF\u003C\/li\u003E\n\u003Cli\u003EC36, 37, 38, 39 = 0.0027uF\u003C\/li\u003E\n\u003Cli\u003EC40, 41, 42, 43 = 0.0015uF\u003C\/li\u003E\n\u003Cli\u003EC44, 45, 46, 47 = 720pF \u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003ETEA6360\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\nThe 5-band stereo equalizer is a 12C-bus controlled tone processor for application in car radio sets, TV sets and music centers. It offers the possibility of sound control as well as equalization of sound pressure behavior of different rooms or loudspeakers, especially in cars.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cu\u003EFEATURES\u003C\/u\u003E\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003EMonolithic integrated 5-band stereo equalizer circuit\u003C\/li\u003E\n\u003Cli\u003EFive filters for each channel\u003C\/li\u003E\n\u003Cli\u003ECenter frequency, bandwidth and maximum boost\/cut defined by external components\u003C\/li\u003E\n\u003Cli\u003EChoice for variable or constant Q-factor via I2C software\u003C\/li\u003E\n\u003Cli\u003EDefeat mode\u003C\/li\u003E\n\u003Cli\u003EAll stages are DC-coupled\u003C\/li\u003E\n\u003Cli\u003EI2C-bus control for all functions\u003C\/li\u003E\n\u003Cli\u003ETwo different module addresses programmable.\u003C\/li\u003E\n\u003C\/ul\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\/Eq_6360\"\u003E\u003Cspan style=\"font-size: large;\"\u003E10 Band Equalizer\u003C\/span\u003E\u003C\/a\u003E\n\u003Cbr\/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/Eq_cal_6360\"\u003E\u003Cspan style=\"font-size: large;\"\u003ECalculator App\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\/8700023046445617625\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/05\/10-band-i2c-graphic-equalizer-tea6360.html#comment-form","title":"26 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/8700023046445617625"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/8700023046445617625"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/05\/10-band-i2c-graphic-equalizer-tea6360.html","title":"10 Band I2C Graphic Equalizer Circuit - 16F628 TEA6360"}],"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\/AVvXsEiypSFvCjKejo9Wko_Uvy6TyBu4lLbiTCYBhxmf4kH7PL9JTZyo8S4GxBRONRom9C1TZaiGJ4o9IKOYc6ncQBxhgCk_-WHPChuIonhmjcMy2pdHohyphenhyphenYSTScasW7s1rIBrYnSOsbtjRJevw_\/s72-c\/Graphic_EQ1.jpg","height":"72","width":"72"},"thr$total":{"$t":"26"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-9040435762820240216"},"published":{"$t":"2015-04-12T10:16:00.004+05:30"},"updated":{"$t":"2020-11-04T11:14:25.982+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"18F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Apps"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Matrix"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"USB"}],"title":{"type":"text","$t":"USB Controlled 8x40 Dot Matrix Moving Display Circuit - 18F2550"},"content":{"type":"html","$t":"\u003Cspan style=\"color: yellow; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace;\"\u003E2015-04-12\u0026nbsp;Initial release\u003Cbr \/\u003E\n2015-04-16 Wrong Configuration Bits -\u0026nbsp;Fixed\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"MsoNormal\"\u003E\nThis dot matrix moving display message board will be of five, 8x8 dot matrix, which will be able to display 10 different messages and maximum 60 characters of each. You can set messages by using PC application that created by me using visual basic and those messages will show on matrix display. When the circuit is disconnected form PC then default messages displayed on the display.\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\/AVvXsEirY2kG85gxosaFZ5__wni6Kca44w4BqjZISCFYXmALGjYnnasTHiVPGtyGVSsjnbTWn9tCqceAbeWGKqKa6tNvsffO5wWTz73RvThvYaMmAx-SV84W_rdYTW0sSvbJYnnOLOu4raTavdI\/s1600\/LED_Matrix_Usb.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"USB Controlled 8x40 Dot Matrix Moving Display circuit\" border=\"0\" height=\"238\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEirY2kG85gxosaFZ5__wni6Kca44w4BqjZISCFYXmALGjYnnasTHiVPGtyGVSsjnbTWn9tCqceAbeWGKqKa6tNvsffO5wWTz73RvThvYaMmAx-SV84W_rdYTW0sSvbJYnnOLOu4raTavdI\/s1600\/LED_Matrix_Usb.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;\"\u003ECircuit Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nPIC18F2550 is the micro-controller and main part of this circuit. This IC used because it has built-in USB transceiver that used to communicate with PC application. PORTB of IC controls the row of Matrices. This PORTB pins then connected to display through the ULN2803 IC, which consists of 8 Darlington arrays. Because micro-controller unable to handle heavy load.  In the diagram, you can see 8 NOT gates. These gates used only simulation in Proteus. Therefore, you should replace with these gates with ULN2803 IC. The columns are driven by the outputs of a 40-bit serial-in-parallel-out arrangement constructed by cascading five 74HC595 ICs. The 74HC595 device is an 8-bit serial-input and parallel\/serial output shift register. The serial output feature allows cascading of multiple 74HC595 devices. The time format of PC must be in English, otherwise time will not display properly on the display. LED is indicated that whether USB cable connected or not and Scrolling speed of circuit can be change by varying the value of VR1.  Supply voltage for this circuit is 5v. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe PC application and other files can be download from below link.\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=\"https:\/\/tiny.cc\/usb_mtrx_pc\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EPC App\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"https:\/\/tiny.cc\/usb_mtrx_hex\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EHEX File\u003C\/span\u003E\u003C\/a\u003E\n\n\u003C\/div\u003E\n\u003C\/blockquote\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/9040435762820240216\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/04\/usb-controlled-8x40-dot-matrix-moving.html#comment-form","title":"21 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/9040435762820240216"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/9040435762820240216"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/04\/usb-controlled-8x40-dot-matrix-moving.html","title":"USB Controlled 8x40 Dot Matrix Moving Display Circuit - 18F2550"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEirY2kG85gxosaFZ5__wni6Kca44w4BqjZISCFYXmALGjYnnasTHiVPGtyGVSsjnbTWn9tCqceAbeWGKqKa6tNvsffO5wWTz73RvThvYaMmAx-SV84W_rdYTW0sSvbJYnnOLOu4raTavdI\/s72-c\/LED_Matrix_Usb.jpg","height":"72","width":"72"},"thr$total":{"$t":"21"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-4881273248300498285"},"published":{"$t":"2015-04-03T09:58:00.007+05:30"},"updated":{"$t":"2020-11-04T11:10:10.042+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"18F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Apps"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Programmer"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tools"},{"scheme":"http://www.blogger.com/atom/ns#","term":"USB"}],"title":{"type":"text","$t":"USB HID Bootloader Circuit - 18F4550"},"content":{"type":"html","$t":"\u003Ch4\u003E\n\u003Cspan style=\"color: yellow;\"\u003E\u003Cu\u003EUpdate:\u003C\/u\u003E\u003C\/span\u003E\n\u003C\/h4\u003E\n\u003Cspan style=\"color: yellow;\"\u003E28\/11\/2015\n\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: yellow;\"\u003EIf you are use \u003Ci\u003E\u003Cb\u003EmikroC PRO\u003C\/b\u003E\u003C\/i\u003E, then tick the \u003Ci\u003E\u003Cb\u003ELong Hex format\u003C\/b\u003E\u003C\/i\u003E in output settings and rename the generated hex file to \u003Ci\u003E\u003Cb\u003Escp.hex\u003C\/b\u003E\u003C\/i\u003E. Finally run \u003Ci\u003E\u003Cb\u003Emod.exe\u003C\/b\u003E\u003C\/i\u003E. It will generate new hex file (\u003Ci\u003E\u003Cb\u003Emod.hex\u003C\/b\u003E\u003C\/i\u003E) and use it with \u003Ci\u003E\u003Cb\u003EPICDEM\u003C\/b\u003E\u003C\/i\u003E software. Otherwise, program may not work correctly.\n\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nBoot-loader is a program which helps to program the micro-controller device without using external programmer. It is possible to burn the hex code even if the PC doesn't have a serial port or any other tools.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nRequired tools for Boot-loader are:\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003EUSB cable to connect board to the PC\u003C\/li\u003E\n\u003Cli\u003EA micro controller with already flashed boot loader program\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEjgGmIFmjNyUVdfrlaJFN7u9mT7pOiv9WmFYuSaNQL5MrWmaBUgOnmtouounTVVzjnT1fjHzd5w_tePpS8eOWZsrPSlIo2MszVhC_KgyozXMacF8YrZYDwTFS5pkQPPebY8lErp5hXfrrc\/s1600\/4550_hid_boot.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"USB HID Bootloader circuit\" border=\"0\" height=\"213\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjgGmIFmjNyUVdfrlaJFN7u9mT7pOiv9WmFYuSaNQL5MrWmaBUgOnmtouounTVVzjnT1fjHzd5w_tePpS8eOWZsrPSlIo2MszVhC_KgyozXMacF8YrZYDwTFS5pkQPPebY8lErp5hXfrrc\/s1600\/4550_hid_boot.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;\"\u003EBoot-loader circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe boot-loader starts after Power-On or Reset. The boot-loader checks if pin \u003Ci\u003E\u003Cb\u003ERE3\u003C\/b\u003E\u003C\/i\u003E is low or high:\n\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ERE3 = low (0V) : PIC starts in boot-loader mode\n\u003C\/li\u003E\n\u003Cli\u003ERE0 = high (5V) : PIC starts user application\n\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Ch3\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003EInstall \u003Cspan style=\"font-size: large;\"\u003EBoot-loader\u003C\/span\u003E program\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h3\u003E\nFor installing boot-loader program, we need an external programmer. This is a one time process which doesn't need to repeat. Use any programmer like\u003Ci\u003E\u003Cb\u003E JDM\u003C\/b\u003E\u003C\/i\u003E, \u003Ci\u003E\u003Cb\u003EPicKit\u003C\/b\u003E\u003C\/i\u003E, \u003Ci\u003E\u003Cb\u003EICD3\u003C\/b\u003E\u003C\/i\u003E to flash the provided boot-loader program \u003Ci\u003E\u003Cb\u003EUSB HID Bootloader.hex\u003C\/b\u003E\u003C\/i\u003E.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAfter successfully programming, connect your device to the PC's USB port (if not already connected). Please make sure that the boot-loader entry condition (RE3 = 0) is fulfilled!\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWindows should detect a new USB device. Now open boot-loader PC software and click connect, browse hex file, begin upload.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAfter finishing upload, click execute. Device will reset automatically and start your program.\n\u003Cbr \/\u003E\n\u003Ch3 style=\"text-align: left;\"\u003E\n\u003Cu\u003EExample\u003C\/u\u003E\n\u003C\/h3\u003E\n\u003Cmyquote\u003Evoid main();\n\nvoid interrupt() {   \/\/-------- interrupt -----------\n}\n\nvoid interrupt_low() {\n}\n\nvoid Vectors() org 0x800 { \/\/-------- remap ---------\nasm {\n      goto   _main           \/\/0x800\n      nop\n      nop\n      goto   _interrupt      \/\/0x808\n      nop\n      nop\n      nop\n      nop\n      nop\n      nop\n      goto   _interrupt_low  \/\/0x818\n     }\n}\n\n\nvoid main() { \/\/----- Main --------\nOrgAll(0x800);\n\nasm {goto Skip_Vectors}\n      Vectors();\nasm {Skip_Vectors:}\n\n\/*\nYour Code goes here\n*\/\n\n}\u003C\/myquote\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\/mod_hex\"\u003E\u003Cspan style=\"font-size: large;\"\u003EMod.exe\u003C\/span\u003E\u003C\/a\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/picdem_pc\"\u003E\u003Cspan style=\"font-size: large;\"\u003EPC Software\u003C\/span\u003E\u003C\/a\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/picdem_sch\"\u003E\u003Cspan style=\"font-size: large;\"\u003EFirmware and Schematic\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\/4881273248300498285\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/04\/4550-usb-hid-bootloader.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4881273248300498285"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4881273248300498285"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/04\/4550-usb-hid-bootloader.html","title":"USB HID Bootloader Circuit - 18F4550"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjgGmIFmjNyUVdfrlaJFN7u9mT7pOiv9WmFYuSaNQL5MrWmaBUgOnmtouounTVVzjnT1fjHzd5w_tePpS8eOWZsrPSlIo2MszVhC_KgyozXMacF8YrZYDwTFS5pkQPPebY8lErp5hXfrrc\/s72-c\/4550_hid_boot.jpg","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3913933626499572790"},"published":{"$t":"2015-01-17T08:55:00.003+05:30"},"updated":{"$t":"2020-11-04T09:34:40.866+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"18F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Clock"},{"scheme":"http://www.blogger.com/atom/ns#","term":"DS1307"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Matrix"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"8x32 LED Matrix Real Time Clock Circuit with Alarm - 18F2550"},"content":{"type":"html","$t":"Most of electronic enthusiasts are very much interest about the LED matrix displays. So if you are one of them this is for you. If you are not familiar with LED matrices at all, please read these two experimental tutorials \u003Ca href=\"http:\/\/embedded-lab.com\/blog\/?p=2478\" target=\"_blank\"\u003EBasics of LED matrix display\u003C\/a\u003E\u0026nbsp;and \u003Ca href=\"http:\/\/embedded-lab.com\/blog\/?p=2661\" target=\"_blank\"\u003Escrolling text message on an LED matrix\u003C\/a\u003E\u0026nbsp;.\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\/AVvXsEiANdR7vwlSMiEHWziCxZd2Pr9mgoqwOkowooVVmLtQ2eFZOniwLzHkQrOxtQlTW1RtFseMv_KvpmSblcfzWYEyJifodKZIBf_-1bdpFuvdKWNl2pevj3JL-AwSEUdXqv7-e9msWj4wh_o\/s1600\/SNC00006.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"8x32 LED Matrix Clock\" border=\"0\" height=\"167\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiANdR7vwlSMiEHWziCxZd2Pr9mgoqwOkowooVVmLtQ2eFZOniwLzHkQrOxtQlTW1RtFseMv_KvpmSblcfzWYEyJifodKZIBf_-1bdpFuvdKWNl2pevj3JL-AwSEUdXqv7-e9msWj4wh_o\/s1600\/SNC00006.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;\"\u003ELED Matrix Clock \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nLED matrix displays are very popular in these days and most of people are love it but wonder how it can construct. So that I decide to provide this post for you. This project is about constructing a mono-color LED matrix display based real time clock. It can display time, date, and room temperature alarm with chime function. You can control this clock using four switches (Mode, Enter, Up, Down) and can changed the speed of scrolling by RV2.\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\/AVvXsEiFNXoEDCtxxlZHxKHLMCYe_Z7ecnxVEEAxVoWCgl5Oc9N7k558D3_KDNJ4Q3pHkZLkvlNmtrhdDfHgj2rMaVWfCgoMsZb9L-8pklMTsvWb2BQQfRXGkbFIHrAfcrvC8Dm22w2m_IocYLw\/s1600\/SNC00003.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"8x32 LED Matrix Clock circuit\" border=\"0\" height=\"197\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiFNXoEDCtxxlZHxKHLMCYe_Z7ecnxVEEAxVoWCgl5Oc9N7k558D3_KDNJ4Q3pHkZLkvlNmtrhdDfHgj2rMaVWfCgoMsZb9L-8pklMTsvWb2BQQfRXGkbFIHrAfcrvC8Dm22w2m_IocYLw\/s1600\/SNC00003.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;\"\u003EMatrix Clock \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe main IC of this project is PIC16F2550 micro controller which controls all the sections, and display the LED matrix with the help of 74HC595 shift registers and DS1307 RTC IC. As amplifier I chose TDA7052 because of low cost and almost no component. But you can choose any amplifier for it. To react function keys you need to press and hold keys and remember to put 100-330 resistors between shift registers and displays if those are too bright.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis built in some events and according to it clock change its welcome massage and alarm tone.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe events are;\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ENew Year – Jan 1 \u0026nbsp;\u003C\/li\u003E\n\u003Cli\u003EVesak \u0026nbsp;- May\u0026nbsp;\u003C\/li\u003E\n\u003Cli\u003EChristmas - Dec 25\u003C\/li\u003E\n\u003Cli\u003EValentine – Feb 14 and\u003C\/li\u003E\n\u003Cli\u003EBirthday - User Define\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nYou can add custom date for birthday by changing the values of Eeprom (1) for day and Eeprom (2) for month. Also used hex value for this. \u003Cbr \/\u003E\nEx: for Jun 25 -\u0026gt; Eeprom (1) = 19 and Eeprom (2) = 06\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ciframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https:\/\/www.blogger.com\/video.g?token=AD6v5dx-AtP7KY_rWIryEt7B_jKyTTXYGmtzXgx8WRbZwrRsDGIX7iqLY6pEc2VrIzBrxAQ91Arbzwh4Jbe4cgXnrA' class='b-hbp-video b-uploaded' frameborder='0'\u003E\u003C\/iframe\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cspan style=\"font-size: 13px;\"\u003ELED Matrix Clock Preview\u003C\/span\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\nTested and Working!\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\/Matrix_Clk\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EMatrix Clock\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\/3913933626499572790\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/01\/8x32-led-matrix-clock.html#comment-form","title":"6 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3913933626499572790"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3913933626499572790"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2015\/01\/8x32-led-matrix-clock.html","title":"8x32 LED Matrix Real Time Clock Circuit with Alarm - 18F2550"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiANdR7vwlSMiEHWziCxZd2Pr9mgoqwOkowooVVmLtQ2eFZOniwLzHkQrOxtQlTW1RtFseMv_KvpmSblcfzWYEyJifodKZIBf_-1bdpFuvdKWNl2pevj3JL-AwSEUdXqv7-e9msWj4wh_o\/s72-c\/SNC00006.jpg","height":"72","width":"72"},"thr$total":{"$t":"6"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-5719078071947687387"},"published":{"$t":"2014-11-13T11:11:00.002+05:30"},"updated":{"$t":"2020-11-04T09:26:49.027+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":"DS1302"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SPI"}],"title":{"type":"text","$t":"DS1302 Real Time LCD Clock Circuit - 16F88"},"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\/AVvXsEjNbffB2LrzXsusyOEJfxhKrWW_TRyZA1l4FermDHEaInFJGdQc2yB4WKMiqZ4k9PD8V0M2WT2XylenY9o5Vg7hTda1fcdl74W7cpm9CP0zXpEyyJVDQPEHFxRpvGqayYHJ6be0qzSO3p8\/s1600\/1302+Clock.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1302 Real Time Clock circuit\" border=\"0\" height=\"196\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjNbffB2LrzXsusyOEJfxhKrWW_TRyZA1l4FermDHEaInFJGdQc2yB4WKMiqZ4k9PD8V0M2WT2XylenY9o5Vg7hTda1fcdl74W7cpm9CP0zXpEyyJVDQPEHFxRpvGqayYHJ6be0qzSO3p8\/s320\/1302+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;\"\u003EClock Schematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis clock use DS1302 as timekeeping chip and this was my first time I used this IC for my project. It used three wires for communication. It communicates with a microprocessor via a simple serial interface. Three wires are required to communicate with the clock\/RAM: CE, I\/O (data line), and SCLK (serial clock). The real-time clock\/calendar provides seconds, minutes, hours, day, date, month, and year information. The DS1302 will run with a voltage from 2.0V to 5.5V.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nHere I used PIC16F88 micro-controller and 16x2 LCD. No switches were added to edit time and date. To add switches you have to modify the code and it is not difficult. The DS1302 uses an external 32.768kHz crystal. The oscillator circuit does not require any external resistors or capacitors to operate. The accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the match between the capacitive load of the oscillator circuit and the capacitive load for which the crystal was trimmed. Please refer datasheet for more information.\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EDS1302 Features\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\n\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003EReal-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100\u003C\/li\u003E\n\u003Cli\u003E31 x 8 Battery-Backed General-Purpose RAM\u003C\/li\u003E\n\u003Cli\u003ESerial I\/O for Minimum Pin Count\u003C\/li\u003E\n\u003Cli\u003E2.0V to 5.5V Full Operation\u003C\/li\u003E\n\u003Cli\u003EUses Less than 300nA at 2.0V\u003C\/li\u003E\n\u003Cli\u003ESingle-Byte or Multiple-Byte (Burst Mode) Data Transfer for Read or Write of Clock or RAM Data\u003C\/li\u003E\n\u003Cli\u003ESimple 3-Wire Interface\u003C\/li\u003E\n\u003Cli\u003EDS1202 Compatible\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nMikroC used as programming language but you can easily convert it to MikroC Pro. Micro-controller is running by its internal clock at 8MHz.The project files can be download from below with Source files, Proteus and Hex file.\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=\"https:\/\/tiny.cc\/1302_rtc\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EDS1302 Real Time Clock\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\/5719078071947687387\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/11\/ds1302-real-time-clock.html#comment-form","title":"3 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5719078071947687387"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5719078071947687387"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/11\/ds1302-real-time-clock.html","title":"DS1302 Real Time LCD Clock Circuit - 16F88"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjNbffB2LrzXsusyOEJfxhKrWW_TRyZA1l4FermDHEaInFJGdQc2yB4WKMiqZ4k9PD8V0M2WT2XylenY9o5Vg7hTda1fcdl74W7cpm9CP0zXpEyyJVDQPEHFxRpvGqayYHJ6be0qzSO3p8\/s72-c\/1302+Clock.jpg","height":"72","width":"72"},"thr$total":{"$t":"3"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-6620763456914089224"},"published":{"$t":"2014-11-11T11:15:00.001+05:30"},"updated":{"$t":"2020-11-04T09:17:22.373+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":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"}],"title":{"type":"text","$t":"Seven Segment Simple Digital Clock 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\/AVvXsEhbP7wtXpHd7omDCq2jMrWhmpzNaWc-bLHrsL-XuLPyWEcFc5lTUFvVFRN4ZMYneV8vO2H_MQkFiwkHbfI8li4i8MMDWr4_PKqLyGYPRm9_y5Uby-MTpAeASDBEa74Wo7N9tNIwDDR_-sQ\/s1600\/Simple_clock.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple Clock circuit\" border=\"0\" height=\"159\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbP7wtXpHd7omDCq2jMrWhmpzNaWc-bLHrsL-XuLPyWEcFc5lTUFvVFRN4ZMYneV8vO2H_MQkFiwkHbfI8li4i8MMDWr4_PKqLyGYPRm9_y5Uby-MTpAeASDBEa74Wo7N9tNIwDDR_-sQ\/s320\/Simple_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;\"\u003EClock Schematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is a very simple clock circuit. The only IC used in this circuit was 16F628A pic micro-controller. This IC is very cheap and you can get it from any electronic spare parts shop. Four common cathode seven segment displays used to display time. We cannot get much accurate time using this. However, we can able to get reasonable accurate if we calibrate this circuit correctly. You can calibrate this clock by changing value of ‘Drift’. The ‘Drift’ variable is use to set calibration and it value should be in 0 to 255. In my code, value of ‘Drift’ is 198 and that is not the perfect value for it. You can get 0.5Hz frequency from RB7 if your ‘Drift’ value is correct.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTotally four buttons are used in this circuit and RESET button is optional. Min and Hour buttons used to update time and Mode button change the display mode. Two display modes are available. At the beginning, it will show hour and minutes on display. You can view seconds by pressing Mode button. Please replace NOT gate with NPN transistors such as BC547 and put 1k-10k resistors for base before connect with micro-controller.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMikroC used as programming language but you can easily convert it to MikroC pro or any other language. Because the code very simple. Micro-controller is running by its internal clock at 4MHz.The project files can be downloading from below with Source files, Proteus and Hex file.\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=\"https:\/\/tiny.cc\/simple_clock\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ESimple Clock\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\/6620763456914089224\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/11\/simple-clock.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6620763456914089224"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6620763456914089224"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/11\/simple-clock.html","title":"Seven Segment Simple Digital Clock Circuit - 16F628"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbP7wtXpHd7omDCq2jMrWhmpzNaWc-bLHrsL-XuLPyWEcFc5lTUFvVFRN4ZMYneV8vO2H_MQkFiwkHbfI8li4i8MMDWr4_PKqLyGYPRm9_y5Uby-MTpAeASDBEa74Wo7N9tNIwDDR_-sQ\/s72-c\/Simple_clock.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7664920171577413290"},"published":{"$t":"2014-11-10T11:10:00.001+05:30"},"updated":{"$t":"2020-11-04T09:13:44.358+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"12F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Remote"}],"title":{"type":"text","$t":"Common Remote Control Receiver Circuit (RC5 SIRC NEC) - 16F683"},"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\/AVvXsEiq88KbT6ARvxOjOkOfWRkyFcKpxJ5LYh3HbUyb0rQplonbjD2nzPSGq7KX3vH9S6NZ4pfJrvsS61Hgx6XIub2tZ7CUuKu5Yfq9aFFQpPM55WTAUvtjiD-DORmwsbxWrp9buFvyEDT3tJDB\/h120\/remote.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"General Remote Controller\" border=\"0\" height=\"171\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiq88KbT6ARvxOjOkOfWRkyFcKpxJ5LYh3HbUyb0rQplonbjD2nzPSGq7KX3vH9S6NZ4pfJrvsS61Hgx6XIub2tZ7CUuKu5Yfq9aFFQpPM55WTAUvtjiD-DORmwsbxWrp9buFvyEDT3tJDB\/h120\/remote.gif\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EGeneral Remote Controller\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe cheapest way to remotely control a device within a visible range is via Infrared light. Almost all audio and video equipment can be controlled this way nowadays. Due to this wide spread use the required components are quite cheap, thus making it ideal for us hobbyists to use IR control for our own projects.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf you ever want to open your gate or run any other device via remote controller you can use this circuit for that. IR remote control receiver for controlling home appliances can be easily made using PIC micro-controller. By using below circuit you can easily control your home appliances using your TV remote, DVD Player remote control or any other remote.\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\/AVvXsEiaW2qUph1GjSN-t5NKZWFn_d-6hAUeuI5xp0LEGTeMeHtcsFiKD-nMbN_HnFKoEw5XOky4krxJP_ZCWRUlOKZ4cvazYNuHtCu5pVSRBej8pyB9IpX01CRs0k_3mv9cnrs5zQ2ouOfbrwk\/s1600\/Any_Remote_RX.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Remote Control Receiver Schematic\" border=\"0\" height=\"274\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiaW2qUph1GjSN-t5NKZWFn_d-6hAUeuI5xp0LEGTeMeHtcsFiKD-nMbN_HnFKoEw5XOky4krxJP_ZCWRUlOKZ4cvazYNuHtCu5pVSRBej8pyB9IpX01CRs0k_3mv9cnrs5zQ2ouOfbrwk\/s1600\/Any_Remote_RX.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;\"\u003ERemote Control Receiver Schematic\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe main part of this remote control receiver circuit is PIC16F683. It is cheap and tiny. For infrared receiver I used TSOP1730. However, you can use any other infrared receiver for it (TSOP12xx, TSOP48xx and TSOP62xx product series).\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe TSOP1730 used to capture infrared ray from the remote. This infrared receiver changes its output according to the received infrared ray. The output of TSOP1730 then connected to the micro-controller and it decodes the IR signal and gives necessary output according to the IR signal. This circuit is support to Sony, Philips and NEC (I hope, only tested with Sony and Philips) protocols and you can use any remote controller to operate this circuit.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWhen power is applied, D1 LED will light up. This LED indicates that power is applied. When receiver get IR signal from remote controller then D2 LED light up for 250ms and then off and D3 LED toggle its state. If you need to control heavy load then remove D3 LED and connect transistor and\/or relay with this pin. And if you need to switch something like counter then you can used pin 7 (D2 LED) for that.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003ESony SIRC Protocol\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\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\/AVvXsEiSHc695V9nrj2_gjUHOSDPIHstrx8ez6l7dunzMs-r_o_PP7jj8o8Zk6W6UzXIsaoqIyhnoNfPrWo3bPPhJg5mttLiUP5EbUb5fZo7K0KL_Kkn5lJG3zoumQsNWHGk7U_JcpNG-t3mhg21\/h100\/sircmodulation.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Sony Protocol\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiSHc695V9nrj2_gjUHOSDPIHstrx8ez6l7dunzMs-r_o_PP7jj8o8Zk6W6UzXIsaoqIyhnoNfPrWo3bPPhJg5mttLiUP5EbUb5fZo7K0KL_Kkn5lJG3zoumQsNWHGk7U_JcpNG-t3mhg21\/h100\/sircmodulation.gif\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ESony Protocol\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe SIRC protocol uses a pulse width encoding of the bits. The pulse representing a logical \"1\" is a 1.2ms long burst of the 40kHz carrier, while the burst width for a logical \"0\" is 0.6ms long. All bursts are separated by a 0.6ms long space interval. The recommended carrier duty-cycle is 1\/4 or 1\/3.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003ENEC Protocol\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\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\/AVvXsEh3ufykhEKUCfidz3qkdrMbgKCpCIBU7NOraM1Ea0HFU3q4NWsp4SC65Lq8odYE_s5dKbOIwvSMMMAOpDf2uswX58I3z_AGPRQktTMJuy4UDP-Qs5i4JSROcqVEcQlQYLHuwhcBrFUUtd3_\/h105\/necmodulation.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"NEC Protocol\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh3ufykhEKUCfidz3qkdrMbgKCpCIBU7NOraM1Ea0HFU3q4NWsp4SC65Lq8odYE_s5dKbOIwvSMMMAOpDf2uswX58I3z_AGPRQktTMJuy4UDP-Qs5i4JSROcqVEcQlQYLHuwhcBrFUUtd3_\/h105\/necmodulation.gif\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ENEC Protocol\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe NEC protocol uses pulse distance encoding of the bits. Each pulse is a 560µs long 38kHz carrier burst (about 21 cycles). A logical \"1\" takes 2.25ms to transmit, while a logical \"0\" is only half of that, being 1.125ms. The recommended carrier duty-cycle is 1\/4 or 1\/3.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003EPhilips RC-5 Protocol\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\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\/AVvXsEiVM4CTW5VuXbjE40WY3v8MEs8pTEjQ-aXh_Bz4YwHP0GuY6meBX91ge9E7-F9j5tEJeEXKYaJxo0d-OU8H84bjUJphV-0Sj2toJgUmKO74_SSgF6yBQt6HQnsdImE49uFJVxpvFEfy2TKg\/h94\/rc5modulation.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Philips Protocol\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiVM4CTW5VuXbjE40WY3v8MEs8pTEjQ-aXh_Bz4YwHP0GuY6meBX91ge9E7-F9j5tEJeEXKYaJxo0d-OU8H84bjUJphV-0Sj2toJgUmKO74_SSgF6yBQt6HQnsdImE49uFJVxpvFEfy2TKg\/h94\/rc5modulation.gif\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPhilips Protocol\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe protocol uses bi-phase modulation (or so-called Manchester coding) of a 36kHz IR carrier frequency. All bits are of equal length of 1.778ms in this protocol, with half of the bit time filled with a burst of the 36kHz carrier and the other half being idle. A logical zero is represented by a burst in the first half of the bit time. A logical one is represented by a burst in the second half of the bit time. The pulse\/pause ratio of the 36kHz carrier frequency is 1\/3 or 1\/4 which reduces power consumption.\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\/Any_IR_Rx\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ECommon IR Receiver\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\/7664920171577413290\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/10\/multi-remote-ir-receiver.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7664920171577413290"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7664920171577413290"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/10\/multi-remote-ir-receiver.html","title":"Common Remote Control Receiver Circuit (RC5 SIRC NEC) - 16F683"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiq88KbT6ARvxOjOkOfWRkyFcKpxJ5LYh3HbUyb0rQplonbjD2nzPSGq7KX3vH9S6NZ4pfJrvsS61Hgx6XIub2tZ7CUuKu5Yfq9aFFQpPM55WTAUvtjiD-DORmwsbxWrp9buFvyEDT3tJDB\/s72-h120-c\/remote.gif","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-779154331226649522"},"published":{"$t":"2014-11-09T11:07:00.001+05:30"},"updated":{"$t":"2020-11-04T09:09:36.171+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":"Matrix"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"7 Band Real Time Audio Spectrum Analizer Circuit - 16F818 BA3834 MSGEQ7"},"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\/AVvXsEhRNYKsr24TanvwZ_GeHE31tG81X-61JqVrCdoxsPacTpwZW-jEwRuY2p9UyK0vIZWEPbmTVbBDMabNFruncfEl78OmV4zoR0WNeFr9yeOmWSit0tLsuvkaS2BbnK2M1vNp31xa4KvKON8\/s1600\/eq.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Audio Spectrum Analyzer\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhRNYKsr24TanvwZ_GeHE31tG81X-61JqVrCdoxsPacTpwZW-jEwRuY2p9UyK0vIZWEPbmTVbBDMabNFruncfEl78OmV4zoR0WNeFr9yeOmWSit0tLsuvkaS2BbnK2M1vNp31xa4KvKON8\/s1600\/eq.gif\" title=\"\" \/\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;\"\u003EAudio Spectrum Analyzer\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nSpectrum analyzers are built in most of the modern signal processing systems for measuring the distribution of signal energy in frequency. An audio spectrum analyzer is used for measurements in the audible frequency spectrum (from 20Hz to 20 kHz) and can be a very powerful tool for keeping a studio well tuned. A Digital, real-time Audio Frequency Spectrum analyzer circuit for audio devices is presented in this project. This circuit aims to professionals or hobbyists who would like to embed it in an audio device or use it as a stand-alone unit. This Digital, real-time Audio Spectrum analyzer circuit for audio devices can be connected to any audio device. \u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe circuit is based on a PIC16F818 (or PIC16F88) and BA3834S\/F (or MSGEQ7). \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\/AVvXsEhWCQRlnu1aEp6cyWhEwFxJT4x8edTeVglBst6y9doIYi6qskyhq66KD5eiIOXdl6gXtAD45P-cZxH353HqQU7-fwGkvjXG6NSeRj9ikembU9kgAkwQCMoN2pycLdCcRj0R1beRFMItbss\/s1600\/SNC00310.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Audio Spectrum Analyzer circuit\" border=\"0\" height=\"155\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhWCQRlnu1aEp6cyWhEwFxJT4x8edTeVglBst6y9doIYi6qskyhq66KD5eiIOXdl6gXtAD45P-cZxH353HqQU7-fwGkvjXG6NSeRj9ikembU9kgAkwQCMoN2pycLdCcRj0R1beRFMItbss\/s1600\/SNC00310.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;\"\u003EAnalyzer with Pattern 1\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EOperation\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E \u003C\/h4\u003E\nThe input audio signal is directly connect to the BA3834S\/F (or MSGEQ7). The BA3834S\/F and MSGEQ7 are 7-band, band-pass filter ICs that use microprocessor time division to produce serial output for spectrum analyzer displays. Those are divides the audio spectrum into seven bands, 63Hz, 160Hz, 400Hz, 1kHz, 2.5kHz, 6.25kHz and 16kHz and out serially from its output pin. That signal then connected to micro-controller. It digitizes and processes this audio signal using an 12-bit ADC module and it computes the distribution of the audio signal energy and displays it on a 7×7 LED display in real time. \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\/AVvXsEjCJazBhCuUnS64CoE5hTXg9sz15Z1_Je-t88jBzyRuAzke5Vc-wEACJv-a35xBC5PM9ATEYlSFvy38uPN4nWYxJYCdaQlbfxyKdNDtHnDyIwan-Oo0j_OWcbBK_PT3dDrZFGnM5O4XU6A\/s1600\/SNC00309.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Audio Spectrum Analyzer circuit\" border=\"0\" height=\"165\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjCJazBhCuUnS64CoE5hTXg9sz15Z1_Je-t88jBzyRuAzke5Vc-wEACJv-a35xBC5PM9ATEYlSFvy38uPN4nWYxJYCdaQlbfxyKdNDtHnDyIwan-Oo0j_OWcbBK_PT3dDrZFGnM5O4XU6A\/s1600\/SNC00309.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;\"\u003EAnalyzer\u0026nbsp;with Pattern 5\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nAfter 10 seconds delay this circuit is start to work.  User can select display mode by pressing ‘MODE’ button and it support seven display modes. You can use either BA3834S\/F or MSGEQ7 as band-pass filter IC and PIC16F88 or PIC16F818 as micro-controller. In my circuit, I used PIC16F818 and BA3834S.\u003Cbr \/\u003E\nBoth versions are available in download section.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003ETechnical details\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003E\nDisplay: LED Bar-graphs, 7 Bar-graphs, 49 LEDs, RED Monochrome\u003Cbr \/\u003E\nBands: 7 bands\u003Cbr \/\u003E\nBA3834 - 68, 170, 420 Hz, 1, 2.4, 5.9, 14.4 KHz\u003Cbr \/\u003E\nMSGEQ7 - 63, 160, 400 Hz, 1, 2.5, 6.25, 16 KHz\u003Cbr \/\u003E\nDisplay modes: 7 - user selected\u003Cbr \/\u003E\nPower Supply requirements: 5V DC\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\/Speq_818\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003E7 Band  Spectrum Analizer\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\/779154331226649522\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/10\/real-time-audio-spectrum-analizer.html#comment-form","title":"13 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/779154331226649522"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/779154331226649522"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/10\/real-time-audio-spectrum-analizer.html","title":"7 Band Real Time Audio Spectrum Analizer Circuit - 16F818 BA3834 MSGEQ7"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhRNYKsr24TanvwZ_GeHE31tG81X-61JqVrCdoxsPacTpwZW-jEwRuY2p9UyK0vIZWEPbmTVbBDMabNFruncfEl78OmV4zoR0WNeFr9yeOmWSit0tLsuvkaS2BbnK2M1vNp31xa4KvKON8\/s72-c\/eq.gif","height":"72","width":"72"},"thr$total":{"$t":"13"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-5808161951522025776"},"published":{"$t":"2014-11-08T10:59:00.001+05:30"},"updated":{"$t":"2020-11-04T09:01:59.183+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":"DS1307"},{"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":"SSD"}],"title":{"type":"text","$t":"DS1307 Real Time Seven Segment Alarm Clock Circuit - 16F88"},"content":{"type":"html","$t":"\u003Cspan style=\"color: yellow;\"\u003E\u003Cspan style=\"font-family: \u0026quot;verdana\u0026quot; , sans-serif;\"\u003EUpdates \u003C\/span\u003E\u003C\/span\u003E \u003Cbr \/\u003E\n\u003Cul\u003E\u003Cli\u003E31\/01\/2016 - Added: Hourly chime restriction function  \u003C\/li\u003E\n\u003Cli\u003E27\/10\/2019 - Fixed:  Hourly chime delay error (v3)  \u003C\/li\u003E\n\u003Cli\u003E27\/10\/2019 - Fixed:  Auto mode data showing time increased (v3)\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEjW1CBbtNd3kw6jQYm5Jo-Jyku9Nt6cROWr7gWbvdOO84bOdSC0rUlz_nKiPiexhuE8oM-bq9IpN0Oa1ck8qOWcUpLeWf1Fz3WvPHr7GQ62WQoMHTkgXDD5VFpeRE0iPZPqhpb2Xe6nAzg\/s1600\/SNC00308.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1307 Alarm Clock\" border=\"0\" height=\"231\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjW1CBbtNd3kw6jQYm5Jo-Jyku9Nt6cROWr7gWbvdOO84bOdSC0rUlz_nKiPiexhuE8oM-bq9IpN0Oa1ck8qOWcUpLeWf1Fz3WvPHr7GQ62WQoMHTkgXDD5VFpeRE0iPZPqhpb2Xe6nAzg\/s1600\/SNC00308.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;\"\u003EAlarm Clock \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nThis is the newest clock I made using DS1307 real time clock IC. Not like other clock circuits I posted, this clock circuit built in all necessary function such as hourly chime, alarm, time drift correction, etc. In addition, it also include temperature sensor as optional function.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis clock has eight display modes (including standby mode). \u003Cbr \/\u003E\n\u003Cul\u003E\u003Cli\u003EMode 1 – Display Seconds\u003C\/li\u003E\n\u003Cli\u003EMode 2 – Display Time\u003C\/li\u003E\n\u003Cli\u003EMode 3 – Display Date\u003C\/li\u003E\n\u003Cli\u003EMode 4 – Display Year\u003C\/li\u003E\n\u003Cli\u003EMode 5 – Display Alarm\u003C\/li\u003E\n\u003Cli\u003EMode 6 – Display Temperature\u003C\/li\u003E\n\u003Cli\u003EMode 7 – Show Time, Date and Temperature continuously\u003C\/li\u003E\n\u003Cli\u003EMode 8 – Stand By Mode\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEiOuu5rdddcXGQLmBXY8aeG9eHietV2m8Al10Z38Zk4YIppMKNrPR4yRRWuMcwOtFVpzvelAnl3DTYL0wuGT-10GhPBSLD2BWdNcdb8ZrGU_7Jho-4M9AhucyVsAdgIw4iBPo0tg-4wbSY\/s1600\/SNC00301.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1307 Alarm Clock\" border=\"0\" height=\"230\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiOuu5rdddcXGQLmBXY8aeG9eHietV2m8Al10Z38Zk4YIppMKNrPR4yRRWuMcwOtFVpzvelAnl3DTYL0wuGT-10GhPBSLD2BWdNcdb8ZrGU_7Jho-4M9AhucyVsAdgIw4iBPo0tg-4wbSY\/s1600\/SNC00301.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;\"\u003EDS1307 Alarm Clock\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\nThis PIC project uses PIC16F88 micro-controller, DS1307 Real Time Clock, LM35 temperature sensor, and SSD-5461AG common cathode seven segment display. (If you cannot find that display then use four common cathode seven segment displays).  \u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe PIC16F88 used its internal oscillator and it runs at 8MHz. We can reduce cost and complexity of circuit and can save micro-controller’s pin by using internal oscillator.RA0 and RA1 configured as digital and analogue alternatively to drive seven segment and read voltage of LM35.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe DS1307 (RTC) Real Time Clock is an 8-pin device using an I2C interface. It has eight read\/write registers that store the information. This IC will do the timekeeping and it not only keeps track of time but also the date and the day of the week. DS1307 RTC is fully Binary Coded Decimal (BCD) clock\/calendar. Therefore, the data read from DS1307 should be converted to BCD format. The most important is the Clock Halt Bit (CH), which is, bit 7 of address 0. This is the register that controls 'seconds' and the CH bit has to be preserved otherwise the chip stops the clock. Writing zero to this bit resets the CH bit so that the clock runs. So when the first usage we must set ‘seconds’. Otherwise clock fail to run.  \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\/AVvXsEi-Ho1E37WlHpIziVfZgpf5STbehwheSbpo-HEFzIHHo2OTVZjXVXRwOoBb2j5Pj2pIm28iNsXp_q2aEoBT1GcVkebVkDm139lNqIrpX0V3RUoTLuvhIGgoQTfGrGLr7MlbQmQvLfNGCWw\/s1600\/SNC00302.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1307 Alarm Clock circuit\" border=\"0\" height=\"264\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEi-Ho1E37WlHpIziVfZgpf5STbehwheSbpo-HEFzIHHo2OTVZjXVXRwOoBb2j5Pj2pIm28iNsXp_q2aEoBT1GcVkebVkDm139lNqIrpX0V3RUoTLuvhIGgoQTfGrGLr7MlbQmQvLfNGCWw\/s1600\/SNC00302.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;\"\u003EAlarm Clock's Internal\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\n\u003Ch4\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003ETime Setting\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003EUsing MODE button you can change the display mode and the current status will save to Eeprom.\u003Cbr \/\u003E\nSET button can be used for edit the time, date, alarm etc. When you pressed the SET button, clock entered to the Edit mode and two displays will turn off. You can be able to edit values on other display by pressing UP and DOWN buttons. To edit turn off displays value pressed SET button again. Press the SET button again to return clock to normal mode. If the clock is in normal mode UP button also can used to change the time format (12hr or 24hr) and DOWN button can used to turn on or off alarm.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWhen time changed to 12hr mode LED will indicate the AM\/PM status. Alarm on will indicated by the decimal point of last seven segment display. If you wish, you can also connect separate LED for it.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003EError correction\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003ESurprisingly making an accurate 32kHz oscillator is a difficult. This is because low speed oscillator drivers are designed for low power operation. That means high impedance and therefore low current, which makes the driver extremely sensitive to noise (or any nearby signals, which can capacitive couple to the crystal wire). Because that when using DS1307 we cannot get accurate time. Therefore, I added simple error correction mechanism for this clock\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFirst, set the clock to current time (time of computer or internet) and keep it run up-to 24 hours.\u003Cbr \/\u003E\nAfter 24 hours, check the time of clock with time of computer. If time is drift, check how many seconds are drifted..? \u0026nbsp;(Use clock mode 1 to view seconds)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nE.g. 1: \u0026nbsp;PC time: \u0026nbsp;16:30:00\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E \u003C\/span\u003EClock time: \u0026nbsp;16:30:05\u003Cbr \/\u003E\n+5 seconds drifted. So we have to reduce time.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nI used Eeprom (2) to store this values and default value is 30 (0x1E). \u0026nbsp;See the Eeprom figure.\u003Cbr \/\u003E\nNow simply overwrite it with 25 (0x19). You must use hex values for it.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nE.g. 2: \u0026nbsp;PC time: \u0026nbsp;16:30:00\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E \u003C\/span\u003EClock time: \u0026nbsp;16:29:58\u003Cbr \/\u003E\n-2 seconds drifted. So we have to increase time.\u003Cbr \/\u003E\nOverwrite Eeprom (2) value with 32 (0x20).\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003EHourly Chime Restriction\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003EYou can able to stop hourly chime function for specific time period using this setting. Device Eeprom address 6 and 7 use for this. default values are 0x00 and 0x18 (0 and 24)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEeprom(6) ≤ Chime Restriction \u0026lt; Eeprom(7) \u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEg: Stop Chime from 21.00 to 6.00\u003Cbr \/\u003E\nEeprom(6) = 0x06 and Eeprom(7) = 0x15\u003Cbr \/\u003E\n6 ≤ Chime Restriction \u0026lt; 21 \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\/AVvXsEgnPvtEDyqSA7LIncKeKYEaYJDBELfgM2atqkWY1QogIHwnn5krgF35O2s8CrNEifpo_0u1HLyc9eQ2OJE-PWKTsCHYz9-Bfl-3_AnzA5WeyFZtFU5POglU_lD24p7L-yt6Rvlop_FucPQ\/s1600\/eeprom.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Eeprom of 16F88\" border=\"0\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgnPvtEDyqSA7LIncKeKYEaYJDBELfgM2atqkWY1QogIHwnn5krgF35O2s8CrNEifpo_0u1HLyc9eQ2OJE-PWKTsCHYz9-Bfl-3_AnzA5WeyFZtFU5POglU_lD24p7L-yt6Rvlop_FucPQ\/s1600\/eeprom.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 of 16F88\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\u003Cbr \/\u003E\n\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\/16F88_ALM_sch\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EAlarm Clock HEX\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/16F88_ALM_pcb\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EAlarm Clock Sch \u0026 PCB\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/16F88_Alm_7f\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EAlarm Clock HEX-7f\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/16F88_ALM_TR\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EAlarm Clock Chime Restrict\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/16F88_ALM_v3\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EAlarm Clock v3\u003C\/span\u003E\u003C\/a\u003E\n\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\/5808161951522025776\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/10\/ds1307-alarm-clock.html#comment-form","title":"59 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5808161951522025776"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5808161951522025776"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/10\/ds1307-alarm-clock.html","title":"DS1307 Real Time Seven Segment Alarm Clock Circuit - 16F88"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjW1CBbtNd3kw6jQYm5Jo-Jyku9Nt6cROWr7gWbvdOO84bOdSC0rUlz_nKiPiexhuE8oM-bq9IpN0Oa1ck8qOWcUpLeWf1Fz3WvPHr7GQ62WQoMHTkgXDD5VFpeRE0iPZPqhpb2Xe6nAzg\/s72-c\/SNC00308.jpg","height":"72","width":"72"},"thr$total":{"$t":"59"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3447416689530435028"},"published":{"$t":"2014-08-30T13:10:00.001+05:30"},"updated":{"$t":"2020-11-03T21:25:34.152+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Sensor"}],"title":{"type":"text","$t":"LM35 Simple Thermometer Circuit with LCD - 16F818"},"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\/AVvXsEhacyXy5pq7A4ASMuY5e-haSLbV8xTCSc2B18RZsXh7eXoIIhZkT8siFMKk4P77eF0hQCFHwzWo-u0E9fyH0lDruK2lNVXhdtkK4hBlG1ClOY1Cf3Acgm52rc87fEWhtxddAL-cmTSMrdM\/s1600\/temp_sensor.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Thermometer\" border=\"0\" height=\"114\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhacyXy5pq7A4ASMuY5e-haSLbV8xTCSc2B18RZsXh7eXoIIhZkT8siFMKk4P77eF0hQCFHwzWo-u0E9fyH0lDruK2lNVXhdtkK4hBlG1ClOY1Cf3Acgm52rc87fEWhtxddAL-cmTSMrdM\/s1600\/temp_sensor.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EThermometer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn modern world, analog equipment and device are converting in to digital format.  To do this mostly used sensors. There are many cool sensors available now days, ranging from IR distance sensor modules, accelerometers, humidity sensors, temperature sensors etc. but many of these sensors are analog in nature. That means they give a voltage output that varies directly (and linearly) with the sensed quantity. For example in LM35 temperature sensor, the output voltage is 10mV per degree centigrade. That means if output is 300mV then the temperature is 30 degrees. Or else, if the temperature changed one degree then its output voltage varied by 10mv.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIn this post, I show you how to build temperature sensor (Thermometer) circuit easily. It uses the PIC 16F818 micro-controller, LM35 temperature sensor and a 16x2 LCD.\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\/AVvXsEi6un0wSeXVtkPYERzQvLBbaK-FcfG6GGwCb6PEfTq6rvIJggz6AqGgQ3EdrnhV-IBnpwieLXudspmPHsDxo1gq-YVvO9vDi1QxnfSg5uikMi5yi0luOGAJpShJpYkBp71UcS_NuLJm5bo\/s1600\/LM35_Temp.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"LM35 Temperature Sensor Schematic Diagram\" border=\"0\" height=\"235\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEi6un0wSeXVtkPYERzQvLBbaK-FcfG6GGwCb6PEfTq6rvIJggz6AqGgQ3EdrnhV-IBnpwieLXudspmPHsDxo1gq-YVvO9vDi1QxnfSg5uikMi5yi0luOGAJpShJpYkBp71UcS_NuLJm5bo\/s1600\/LM35_Temp.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;\"\u003ESchematic Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cb\u003E\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELM35\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/b\u003E\n\u003C\/h4\u003E\nThe LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in ' Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does not require any external calibration or trimming to provide typical accuracies of 1\/4°C at room temperature and 3\/4°C over a full -55 to +150°C temperature range. It can be used with single power supplies, or with plus and minus supplies.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"font-family: \u0026quot;arial\u0026quot;;\"\u003E\u003Cu\u003EFeatures\u003C\/u\u003E\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ECalibrated directly in Celsius (Centigrade)\u003C\/li\u003E\n\u003Cli\u003ELinear + 10.0 mV\/°C scale factor\u003C\/li\u003E\n\u003Cli\u003E0.5'C accuracy guarantee-able (at +25°C)\u003C\/li\u003E\n\u003Cli\u003ERated for full -55° to +150°C range\u003C\/li\u003E\n\u003Cli\u003EOperates from 4 to 30 volts\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EOperation\n\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\n\u003Cbr \/\u003E\nThe LM35 outputs an analog voltage proportional to the temperature. This analog voltage then read by the PIC and processed to display the corresponding temperature value on the LCD. The PIC ADC module does the analog to digital conversion. The PIC MCU’s ADC gives us the value between 0-1023 for input voltage of 0 to 5v. So if the reading is 0 then input is 0v, if reading is 1023 then input is 5v.In the code, I have used the mikroC library function for ADC.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe temperature range for this circuit is 0°C to 150°C.\u003Cbr \/\u003E\nYou can download project files form below and it used MikroC\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cmyquote\u003E\n\/************************************************************************\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; LM35 Temperature Sensor\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; Copyright (C) 2015 Scorpionz\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; This program is free software: you can redistribute it and\/or modify\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; it under the terms of the GNU General Public License as published by\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; the Free Software Foundation, either version 3 of the License, or\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; (at your option) any later version.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; This program is distributed in the hope that it will be useful,\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\u0026nbsp; See the\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; GNU General Public License for more details.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; You should have received a copy of the GNU General Public License\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; along with this program.\u0026nbsp; If not, see \u0026lt;http:\/\/www.gnu.org\/licenses\/\u0026gt;.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;   \u0026gt;\u0026gt; Email: scorpionzblog@gmail.com\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp; \u0026gt;\u0026gt; Web\u0026nbsp; : scopionz.blogspot.com\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n************************************************************************\/\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nchar temp;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid main()\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\nOSCCON= 0x70; \/\/ 8MHz internal osc\u003Cbr \/\u003E\nADCON0=1;\u003Cbr \/\u003E\nADCON1=0b10001110;\u003Cbr \/\u003E\nTRISA = 0x01; \/\/ AN0 input\u003Cbr \/\u003E\nTRISB = 0x00;\u003Cbr \/\u003E\nPORTA = 0;\u003Cbr \/\u003E\nPORTB = 0;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Init(\u0026amp;PORTB);\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Cmd(Lcd_CLEAR);\u003Cbr \/\u003E\nLcd_Cmd(Lcd_CURSOR_OFF);\u003Cbr \/\u003E\nDelay_ms(10);\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Out(1, 3, \".:SCORPIONZ:.\");\u003Cbr \/\u003E\nDelay_ms(1000);\u003Cbr \/\u003E\nLcd_Out(2, 2, \"Temp is 000.0ßC\");\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nwhile(1) {\u003Cbr \/\u003E\n\u003Cbr \/\u003E\ntemp = Adc_Read(0)\/2.048;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Chr(2, 10, ((temp\/100)%10 +48));\u003Cbr \/\u003E\nLcd_Chr(2, 11, ((temp\/10)%10\u0026nbsp; +48));\u003Cbr \/\u003E\nLcd_Chr(2, 12, ( temp%10\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; +48));\u003Cbr \/\u003E\nDelay_ms(100);\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\n}\n\u003C\/myquote\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\n\u003Ca href=\"https:\/\/tiny.cc\/LM35_Temp\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ELM35 Temperature Sensor\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\/3447416689530435028\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/lm35-temperature-sensor.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3447416689530435028"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3447416689530435028"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/lm35-temperature-sensor.html","title":"LM35 Simple Thermometer Circuit with LCD - 16F818"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhacyXy5pq7A4ASMuY5e-haSLbV8xTCSc2B18RZsXh7eXoIIhZkT8siFMKk4P77eF0hQCFHwzWo-u0E9fyH0lDruK2lNVXhdtkK4hBlG1ClOY1Cf3Acgm52rc87fEWhtxddAL-cmTSMrdM\/s72-c\/temp_sensor.png","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-1085136143032541983"},"published":{"$t":"2014-08-29T14:36:00.004+05:30"},"updated":{"$t":"2022-01-09T19:36:35.400+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":"LCD"}],"title":{"type":"text","$t":"Simple LCD Spectrum Analizer Demo 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\/AVvXsEji3PVmekhCPnUKv2bZQLZJirVwWEl85VLnyKndCg2iII4WJQUgyhhrwjqH7u9MFdd_pacQTRCV1athUvwxLDNGC3uTg0QJsDnxQeZ5VplLcfHJCcHa2y_OSMoCPi-EU444SpACmFFfIXs\/s1600\/specan1a.gif\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEji3PVmekhCPnUKv2bZQLZJirVwWEl85VLnyKndCg2iII4WJQUgyhhrwjqH7u9MFdd_pacQTRCV1athUvwxLDNGC3uTg0QJsDnxQeZ5VplLcfHJCcHa2y_OSMoCPi-EU444SpACmFFfIXs\/s1600\/specan1a.gif\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E\u003Cbr \/\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nSpectrum analyzers are widely used within the electronics industry for analyzing the frequency spectrum of radio frequency, RF and audio signals. Looking at the spectrum of a signal, they are able to reveal elements of the signal, and the performance of the circuit producing them that would not be possible using other means.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAudio spectrum analyzer shows you a detailed picture of what you are hearing in real-time, that is, as it happens. You can easily built very cheap spectrum analyzer circuit using below diagram. However, this is not a real-time and it is just a visualizing model. But this work as real one and you can add this to your audio projects to get a nice appearance and add extra value for it.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nYou can able to download MikroC source and other files from the below link \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\/AVvXsEjDA89zEDP1bqx5wwMKtr9FvUmRr3lee0bV5WmyIjrD70gmVjEUOk-41Wwb-I8ejznHldbHXm2kiymtTfSdNrN32nb0PPnuYkutjisLVP7YK_pl__0aBIZgVm3aY8KL30XIRRtZPh-dDEw\/s1600\/Spectrum.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Simple Spectrum Analizer circuit\" border=\"0\" height=\"215\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjDA89zEDP1bqx5wwMKtr9FvUmRr3lee0bV5WmyIjrD70gmVjEUOk-41Wwb-I8ejznHldbHXm2kiymtTfSdNrN32nb0PPnuYkutjisLVP7YK_pl__0aBIZgVm3aY8KL30XIRRtZPh-dDEw\/s1600\/Spectrum.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;\"\u003ESchematic Diagram of Analyzer\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003C\/div\u003E\n\u003Cbr \/\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\/spectrum_fake\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ESpectrum Analizer\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\/1085136143032541983\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/simple-spectrum-analizer-pic16f628a.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/1085136143032541983"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/1085136143032541983"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/simple-spectrum-analizer-pic16f628a.html","title":"Simple LCD Spectrum Analizer Demo Circuit - 16F628"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEji3PVmekhCPnUKv2bZQLZJirVwWEl85VLnyKndCg2iII4WJQUgyhhrwjqH7u9MFdd_pacQTRCV1athUvwxLDNGC3uTg0QJsDnxQeZ5VplLcfHJCcHa2y_OSMoCPi-EU444SpACmFFfIXs\/s72-c\/specan1a.gif","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-6466350433690687985"},"published":{"$t":"2014-08-28T14:16:00.001+05:30"},"updated":{"$t":"2020-11-03T21:22:15.439+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Security"}],"title":{"type":"text","$t":"Digital Combination Lock Circuit with Keypad and LCD - 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\/AVvXsEjhZtt2IWYffm1lDU0P3rvpqVa5XVDgKkDDWKOEVSqzGk_b-jYtlp2L41n1K3GjLsw_UBXXxWZ42z8f6DHApsuTB3dycBIxMzfDpLx09Nl_Ts_-F0nLRO-XyzPHifzeBN5OtH5BUgIi4d0\/s1600\/Keypad-Doorlock-Design.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Digital Lock\" border=\"0\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjhZtt2IWYffm1lDU0P3rvpqVa5XVDgKkDDWKOEVSqzGk_b-jYtlp2L41n1K3GjLsw_UBXXxWZ42z8f6DHApsuTB3dycBIxMzfDpLx09Nl_Ts_-F0nLRO-XyzPHifzeBN5OtH5BUgIi4d0\/s1600\/Keypad-Doorlock-Design.jpg\" title=\"\" width=\"151\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EDigital Lock\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nNow day’s ordinary locks are replace with digital locks. Those have very advanced features such as digital display, keypad, fingerprint recognized etc. Therefore, I decided to build basic digital lock with LCD display and keypad.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis is a micro-controller based digital lock circuit and it used PIC16F628A. 16x2 LCD is used for the display information and keypad is used for enter the code. (#) will clear the code and (*) will enter the code to initialize process.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDefault code for this lock is 2468 and this code was stored in device Eeprom memory. You can change the default code by changing value of device Eeprom memory. Address 1 for first number, Address 2 for 2nd number, so on. You can change Eeprom value from zero to nine.\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\/AVvXsEjj1eeO9Fvw1KcVfWT8k_qE5bVBXYZDkUAIf25SNx3o2CfDrSoJ4V6uihOEbxWffBA4dA1j2sl3DU7fyYaVs864934olgCjT5chGU-1Mkp-B22pawan2do6_1ej-ERMog7tn69ZQmCr7X8\/s1600\/Lock.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Digital Lock circuit\" border=\"0\" height=\"265\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjj1eeO9Fvw1KcVfWT8k_qE5bVBXYZDkUAIf25SNx3o2CfDrSoJ4V6uihOEbxWffBA4dA1j2sl3DU7fyYaVs864934olgCjT5chGU-1Mkp-B22pawan2do6_1ej-ERMog7tn69ZQmCr7X8\/s1600\/Lock.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;\"\u003ESchematic Diagram of Digital Lock\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nLock code = Eeprom Address 1 \u0026amp; …. \u0026amp; Eeprom Address 4\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEx:\u003Cbr \/\u003E\nEeprom Address 1=3,\u0026nbsp; Address 2=1,\u0026nbsp; Address 3=0,\u0026nbsp; Address 4=7 then,\u003Cbr \/\u003E\nLock code\u0026nbsp; =\u0026gt;\u0026nbsp; 3 \u0026amp; 1 \u0026amp; 0 \u0026amp; 7\u0026nbsp; =\u0026gt; 3107\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\/AVvXsEhrLViwlVQ6MO1LlJiBBOBXL4TokgZL62Lxsa54P_a6mHrNG0Y_-tqFloPf37cnhZXEl9fuEXmk0UL9LYVu5k2-cJhcSugOmq39ddjorwvBCqUX2GAr5KKlsECNXVRcP1XksXLVoWAgfcM\/s1600\/eep.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Eeprom Address and lock code\" border=\"0\" height=\"125\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhrLViwlVQ6MO1LlJiBBOBXL4TokgZL62Lxsa54P_a6mHrNG0Y_-tqFloPf37cnhZXEl9fuEXmk0UL9LYVu5k2-cJhcSugOmq39ddjorwvBCqUX2GAr5KKlsECNXVRcP1XksXLVoWAgfcM\/s1600\/eep.JPG\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EEeprom Address and lock code\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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=\"https:\/\/tiny.cc\/lcd_lock\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ECombination Lock\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\/6466350433690687985\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/digital-lock-with-keypad.html#comment-form","title":"4 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6466350433690687985"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6466350433690687985"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/digital-lock-with-keypad.html","title":"Digital Combination Lock Circuit with Keypad and LCD - 16F628"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjhZtt2IWYffm1lDU0P3rvpqVa5XVDgKkDDWKOEVSqzGk_b-jYtlp2L41n1K3GjLsw_UBXXxWZ42z8f6DHApsuTB3dycBIxMzfDpLx09Nl_Ts_-F0nLRO-XyzPHifzeBN5OtH5BUgIi4d0\/s72-c\/Keypad-Doorlock-Design.jpg","height":"72","width":"72"},"thr$total":{"$t":"4"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3777946218879535813"},"published":{"$t":"2014-08-27T13:42:00.001+05:30"},"updated":{"$t":"2020-11-03T21:20:02.998+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"}],"title":{"type":"text","$t":"Scrolling Seven Segment Display 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\/AVvXsEjvmkHWG9jmOPmrlR43xcmaDtX9Zwycx1oNNkPvcPu-W72q-ZiB5L2qQlZZI0ti9FJNT0GFWGLc4urtuJLYWoFtJKBkqOQ1zlkja5kTkgy_IVvXuH9dKiC2bcga_uBNCH4vLT3TJ3DT0RQ\/s1600\/scroll_ssd.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Scrolling Seven Segment Display preview\" border=\"0\" height=\"96\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjvmkHWG9jmOPmrlR43xcmaDtX9Zwycx1oNNkPvcPu-W72q-ZiB5L2qQlZZI0ti9FJNT0GFWGLc4urtuJLYWoFtJKBkqOQ1zlkja5kTkgy_IVvXuH9dKiC2bcga_uBNCH4vLT3TJ3DT0RQ\/s1600\/scroll_ssd.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;\"\u003EPreview\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nMany electronic hobbyists are very much interested about build scrolling displays. Most of the time this circuits used matrix displays. However, its cost is high and almost complex to build. Therefore, I try to build a scrolling displays circuit using the seven segments displays because these are cheaper than matrix displays and we can be easily build circuit. This circuit is very simple.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo build this circuit I used PIC16F628A micro-controller and four common cathode seven segment displays. To save micro controller's pin and reduce the cost I used internal oscillator. Massage on ‘scrl_txt’ array will run continuously. You can change the length by changing the value of ‘scrl_len’ according to your text.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nA seven-segment LED display is an special arrangement of 7 LED elements to form a rectangular shape using two vertical segments on each side with one horizontal segment on the top, middle, and bottom. By individually turning the segments on or off, numbers from zero to nine and some letters can be display, but we cannot display all characters. However, it is possible to display all the numbers and many characters. See below picture to recognized how seven segment displayed characters. \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\/AVvXsEhm3fxsjK8DlCMuSLaubWZrcvJWBeDFzwrcRsegkgOb-HHgWAJmeLR_wsCpm6QSGNo1-q9TU9wG-3uElIVCYI19L8_IEPWcmzkwpLkJevlvroRoCBOfm-EVPGY5j2ppv_B4FMKdFV1DWoZA\/h120\/7%2520Seq.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Seven Segment Characters\" border=\"0\" height=\"203\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhm3fxsjK8DlCMuSLaubWZrcvJWBeDFzwrcRsegkgOb-HHgWAJmeLR_wsCpm6QSGNo1-q9TU9wG-3uElIVCYI19L8_IEPWcmzkwpLkJevlvroRoCBOfm-EVPGY5j2ppv_B4FMKdFV1DWoZA\/h120\/7%2520Seq.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 Characters\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn this picture, you can see some characters like K, M, V, W, X and Z cannot displayed properly. If you need to display all the characters then you need to use 14 or 16 segment displays instead of seven segments. To use this type of display you need to modify the firmware and circuit.\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\/AVvXsEiuxs6SucxsHpvf7k4KEPEqF6JwqgBNz5brO4tsd5CY7c6es3KHd2-xh7rUazNZpocgAZA_lSfDXKXLAkTdbEfideoJpwv5BuuT8nS1CjJCCNjjB6gYnGhWYCuDyIXmXV0eC2QxB-bPaVA\/s1600\/ssd_scrl.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Scrolling Seven Segment Display circuit\" border=\"0\" height=\"203\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiuxs6SucxsHpvf7k4KEPEqF6JwqgBNz5brO4tsd5CY7c6es3KHd2-xh7rUazNZpocgAZA_lSfDXKXLAkTdbEfideoJpwv5BuuT8nS1CjJCCNjjB6gYnGhWYCuDyIXmXV0eC2QxB-bPaVA\/s1600\/ssd_scrl.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;\"\u003ESchematic Diagram of Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn Proteus diagram, I used NOT gates to connect the Seven Segment and micro controller. However, in practical you have to use NPN transistor such as 2SC1815 or transistor array IC such as ULN2003 instead of NOT gates. When you are using transistor do not forget to add resistor 1k-10k between micro-controller and base of transistor.\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=\"https:\/\/tiny.cc\/ssd_scrl\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EScrolling Seven Segment\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\/3777946218879535813\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/scrolling-seven-segment-display.html#comment-form","title":"2 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3777946218879535813"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3777946218879535813"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/08\/scrolling-seven-segment-display.html","title":"Scrolling Seven Segment Display Circuit - 16F628"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjvmkHWG9jmOPmrlR43xcmaDtX9Zwycx1oNNkPvcPu-W72q-ZiB5L2qQlZZI0ti9FJNT0GFWGLc4urtuJLYWoFtJKBkqOQ1zlkja5kTkgy_IVvXuH9dKiC2bcga_uBNCH4vLT3TJ3DT0RQ\/s72-c\/scroll_ssd.jpg","height":"72","width":"72"},"thr$total":{"$t":"2"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-2754947246674735153"},"published":{"$t":"2014-05-22T11:26:00.005+05:30"},"updated":{"$t":"2020-11-03T21:16:16.294+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LCD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tools"}],"title":{"type":"text","$t":"Multi Function Digital Meter Demo Circuit - 16F88"},"content":{"type":"html","$t":"\u003Cdiv class=\"MsoNormal\"\u003E\n\u003Co:p\u003E\u003C\/o:p\u003E\u003C\/div\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\/AVvXsEgRHF7KWdAOF8ciUDJBgfgVJ4CxT7Fd_IZpB3JwtPbFKMFs7fXRyOnVAxss8EgJafv3YMSPvQTa69pCiCvLSgLDx0bo7I5ZSYHlQL3reemkb5LpeZzRYKSiORhdDKcD5XS1hLtjaz-BosA\/s1600\/7555_F_lg.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Multi Function Meter\" border=\"0\" height=\"216\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRHF7KWdAOF8ciUDJBgfgVJ4CxT7Fd_IZpB3JwtPbFKMFs7fXRyOnVAxss8EgJafv3YMSPvQTa69pCiCvLSgLDx0bo7I5ZSYHlQL3reemkb5LpeZzRYKSiORhdDKcD5XS1hLtjaz-BosA\/s1600\/7555_F_lg.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\u003Cspan style=\"font-family: inherit;\"\u003EGeneric Multi Function Meter\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cspan style=\"font-family: inherit; line-height: 115%;\"\u003EThis\u0026nbsp;project is about a build simple digital multi function meter using a PIC16F88 micro-controller and a 16x2 LCD display. The range of voltage can measured is 0 - 50V, but you can change\u0026nbsp;it easily. This circuit, operation and below code was not tested and only simulated one using Proteus software. you can download full project files including MikroC source file and Proteus schematic. This is only a model of \u003C\/span\u003E\u003Cspan style=\"font-family: inherit; line-height: 115%;\"\u003E\u003Cspan style=\"font-family: inherit; line-height: 115%;\"\u003Emulti function meter and below code \u003C\/span\u003Efor educational purpose. but you can \u003C\/span\u003E\u003Cspan style=\"font-family: inherit;\"\u003Emodify and \u003C\/span\u003Eused \u003Cspan style=\"font-family: inherit;\"\u003Ethis code any time for your future projects.\u003C\/span\u003E \u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cmyquote\u003E\/**************************************************************************\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMulti Tester (V, I, F, R)\u003Cbr \/\u003E\nCopyright (C) 201\u003Cspan style=\"font-family: inherit;\"\u003E5\u003C\/span\u003E 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.\u003Chttp: licenses=\"\" www.gnu.org=\"\"\u003E\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\nint v_in, i_in, r_in;\u003Cbr \/\u003E\nunsigned f_in;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nchar *vin = \"V=00.0v I=00.00A\";\u003Cbr \/\u003E\nchar *fin = \"F=00,000Hz   00%\";\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nvoid main()\u003Cbr \/\u003E\n{\u003Cbr \/\u003E\nOSCCON = 0x70;  \/\/8MHz\u003Cbr \/\u003E\nANSEL  = 0x07;  \/\/ AN0, AN1\u003Cbr \/\u003E\nT1CON  = 0x0A;  \/\/1:1\u003Cbr \/\u003E\nOPTION_REG = 0x80; \/\/WPUB\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTRISA = 0x07;\u003Cbr \/\u003E\nTRISB = 0x40;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nPORTA = 0;\u003Cbr \/\u003E\nPORTB = 0;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSound_Init(\u0026amp;PORTA, 6);\u003Cbr \/\u003E\nLcd_Config(\u0026amp;PORTB, 0, 1, 7, 5, 4, 3, 2);\u003Cbr \/\u003E\ndelay_ms(10);\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Cmd(LCD_CURSOR_OFF);\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Out(1, 3, \".:SCORPIONZ:.\");\u003Cbr \/\u003E\nLcd_Out(2, 1, \"Lab Multi Tester\");\u003Cbr \/\u003E\ndelay_ms(2000);\u003Cbr \/\u003E\nLcd_Cmd(Lcd_Clear);\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nwhile(1) {\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTMR1H=0;\u003Cbr \/\u003E\nTMR1L=0;\u003Cbr \/\u003E\nT1CON.TMR1ON=1;\u003Cbr \/\u003E\nDelay_ms(1000); \/\/ Wait for 1 sec\u003Cbr \/\u003E\nT1CON.TMR1ON=0;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nf_in = 256*TMR1H+TMR1L;\u003Cbr \/\u003E\nv_in = Adc_Read(0);\u003Cbr \/\u003E\ni_in = Adc_Read(1);\u003Cbr \/\u003E\nr_in = Adc_Read(2);\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nif(v_in\u0026gt;1020 || i_in\u0026gt;1000) PORTA.F3=0;\u003Cbr \/\u003E\nelse PORTA.F3=1;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nv_in = v_in\/2.05;\u003Cbr \/\u003E\nvin[2] = (v_in\/100)%10 + 48;\u003Cbr \/\u003E\nvin[3] = (v_in\/10) %10 + 48;\u003Cbr \/\u003E\nvin[5] = (v_in%10)     + 48;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\ni_in = i_in\/.2;\u003Cbr \/\u003E\nvin[10] = (i_in\/1000)%10+ 48;\u003Cbr \/\u003E\nvin[11] = (i_in\/100) %10+ 48;\u003Cbr \/\u003E\nvin[13] = (i_in\/10)  %10+ 48;\u003Cbr \/\u003E\nvin[14] = (i_in%10)     + 48;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nfin[2] = (f_in\/10000)%10+ 48;\u003Cbr \/\u003E\nfin[3] = (f_in\/1000)%10 + 48;\u003Cbr \/\u003E\nfin[5] = (f_in\/100) %10 + 48;\u003Cbr \/\u003E\nfin[6] = (f_in\/10)  %10 + 48;\u003Cbr \/\u003E\nfin[7] = (f_in%10)      + 48;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nr_in = r_in\/.205;\u003Cbr \/\u003E\nr_in = (4790\/r_in);\u003Cbr \/\u003E\nif(r_in) Sound_Play(r_in*30, 100);\u003Cbr \/\u003E\nfin[13] = (r_in\/10)  %10 + 48;\u003Cbr \/\u003E\nfin[14] = (r_in%10)      + 48;\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLcd_Out(1,1,vin);\u003Cbr \/\u003E\nLcd_Out(2,1,fin);\u003Cbr \/\u003E\n}\u003Cbr \/\u003E\n}\u003C\/http:\u003E\u003C\/myquote\u003E\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\/16f88_dvm\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EMulti Function Meter\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\/2754947246674735153\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/05\/multi-function-digital-meter.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2754947246674735153"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2754947246674735153"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/05\/multi-function-digital-meter.html","title":"Multi Function Digital Meter Demo Circuit - 16F88"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRHF7KWdAOF8ciUDJBgfgVJ4CxT7Fd_IZpB3JwtPbFKMFs7fXRyOnVAxss8EgJafv3YMSPvQTa69pCiCvLSgLDx0bo7I5ZSYHlQL3reemkb5LpeZzRYKSiORhdDKcD5XS1hLtjaz-BosA\/s72-c\/7555_F_lg.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-4317002936434011911"},"published":{"$t":"2014-04-26T09:10:00.004+05:30"},"updated":{"$t":"2020-11-03T21:19:51.455+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":"SSD"}],"title":{"type":"text","$t":"4 Digit Seven Segment Up Counter Circuit - 16F628"},"content":{"type":"html","$t":"In the past I posted a counter and timer circuit and it is used two seven segment displays to display number and it can only count 0-99. you can see it from \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2012\/07\/ssd-counter-and-timer.html\" target=\"_blank\"\u003Ehere\u003C\/a\u003E. This circuit was developed version of it.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis project shows cheap and accurate up counter and it can count up to 9999 and then it will start from 0.\nFor this circuit i used PIC16F628A micro-controller and four common cathode seven segment displays. Any 7-Segment displays will work in this circuit. You need to identify \nthe pin-out of any display you use. In Proteus schematic i used NOT gate for reduce CPU usage while simulating and you need to replace that NOT gate with NPN transistors such as BC547 and do not connect transistor's base directly with PORTA (A0-A3). Put a 1k-10k resistor for base of each transistor.\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\/AVvXsEiAQQ46uSFMYGYoX2z-T4qLlgtjBPyyq1tx3_4NmUbYbD_MUiUL3rj4lzx_NlsZy_DL7gHuJydiRp5hMjUkMI_DnFoR946MxcvM51IiLv3D-ZnDN4kW0eOvx1fNeAZ2Nk32tlOrrOAXpN8\/s1600\/4_dig_up.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"4 Digit Seven Segment Counter circuit\" border=\"0\" height=\"220\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiAQQ46uSFMYGYoX2z-T4qLlgtjBPyyq1tx3_4NmUbYbD_MUiUL3rj4lzx_NlsZy_DL7gHuJydiRp5hMjUkMI_DnFoR946MxcvM51IiLv3D-ZnDN4kW0eOvx1fNeAZ2Nk32tlOrrOAXpN8\/s320\/4_dig_up.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;\"\u003ESchematic diagram of 4 digit up counter\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large; font-weight: normal;\"\u003E\u003Cu\u003EOperation of Circuit\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003ETo start counting simply press the 'Count' button and every time you pressed that button the number will increase one by one and displayed on the seven segment displays. if you need to automatic counting, it is also possible to connect this pin with pulse generator. \u003C\/li\u003E\n\u003Cli\u003EPressed 'Clear' button to clear the display and start from zero.\u003C\/li\u003E\n\u003Cli\u003E'Reset' button is optional and you can omitted it. but you must add pull-up resistor. otherwise device will reset continuously. 'Reset' button is useful when the circuit was stuck or not responded.\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nThe main problem of counter circuit was contact bounce. The contact bounce is a common problem with mechanical switches. When the contacts strike together, their momentum and elasticity act together to cause bounce. The result is a rapidly pulsed electrical current instead of a clean transition from zero to full current. It mostly occurs due to vibrations, slight rough spots and dirt between contacts. This effect is usually unnoticeable when using these components in everyday life because the bounce happens too fast to affect most equipment. However, it causes problems in some analog and logic circuits that respond fast enough to misinterpret on\/off pulses as a data stream. Anyway, the whole process doesn’t last long (a few micro or milliseconds), but long enough to be registered by the microcontroller. When only a push-button is used as a counter signal source, errors occur in almost 100% of cases!\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo prevent contact bounce I added some extra code. so we can get error less counting from this circuit. When you pressed and hold the Count button this circuit wont count.\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\/AVvXsEiGwZfLnjaN5wAnQi47XkPj8NMY7En7gLsel_TiEuxm0lL-xYE2T6Sq0c9mhnNTXKhP9MFT_0hgSTb8ooVjySaKwaFX-zLKaIfHS9ZIkejSjZDrZsF2wB_imvgzXRd2orYyWAWa20ZPy_Y\/s1600\/16f628.PNG\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F628A pin\" border=\"0\" height=\"180\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiGwZfLnjaN5wAnQi47XkPj8NMY7En7gLsel_TiEuxm0lL-xYE2T6Sq0c9mhnNTXKhP9MFT_0hgSTb8ooVjySaKwaFX-zLKaIfHS9ZIkejSjZDrZsF2wB_imvgzXRd2orYyWAWa20ZPy_Y\/s320\/16f628.PNG\" 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\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F628A%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F628A\u003C\/a\u003E Datasheet\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\n\u003Cmyquote\u003E\n\/*******************************************************************************\n\n    4 SSD Up Counter\n    Copyright (C) 2015 Praneeth Kanishka\n\n    This program is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see http:\/\/www.gnu.org\/licenses\n\n    \u003E\u003E Email: scorpionzblog@gmail.com\n    \u003E\u003E Web  : http:\/\/scopionz.blogspot.com\n\n*******************************************************************************\/\n\n#define CLR  PORTA.F4\n\n#define ssd1 PORTA.F0\n#define ssd2 PORTA.F1\n#define ssd3 PORTA.F2\n#define ssd4 PORTA.F3\n\nvoid ssdecode(char i);\nint number=0;\nchar digit1, digit2, digit3, digit4;\nchar Loop=0;\nchar key=0, last_key=0;\n\nvoid Delay_dis(){Delay_ms(5);}\n\nvoid main()\n{\nPCON.OSCF = 1;    \/\/4MHz\nCMCON  |= 0x07;   \/\/ Disable Comparators\n\/\/INTCON = 0b10010000;\nTRISA = 0x10;\nTRISB = 0x01;\nPORTA = 0;\nPORTB = 0;\nDelay_ms(10);\n\n\nwhile(1){\n\nif(!PORTB.F0) key=1;\nelse {key=0; last_key=0;}\n\nif(key!=last_key) {\nif(++number\u003E9999) number=0;\nlast_key = key;\n}\n\n\nwhile(Loop \u0026lt;5)\n{\nssdecode(digit1); \/\/Display digit 1\nssd1 = 1;\nDelay_dis();\nssd1 = 0;\n\nssdecode(digit2); \/\/Display digit 2\nif(number\u003E9)ssd2 = 1;\nelse ssd2 = 0;\nDelay_dis();\nssd2 = 0;\n\nssdecode(digit3); \/\/Display digit 3\nif(number\u003E99)ssd3 = 1;\nelse ssd3 = 0;\nDelay_dis();\nssd3 = 0;\n\nssdecode(digit4); \/\/Display digit 3\nif(number\u003E999)ssd4 = 1;\nelse ssd4 = 0;\nDelay_dis();\nssd4 = 0;\n\nLoop++;\n}\nLoop = 0;\n\nif(!CLR) number=0;\n\ndigit1 = (number)     %10;\ndigit2 = (number\/10)  %10;\ndigit3 = (number\/100) %10;\ndigit4 = (number\/1000)%10;\n}\n}\n\nvoid ssdecode(char i)\n{\nswitch (i)\n{\ncase 0: PORTB = 0b01111110; break;\ncase 1: PORTB = 0b00001100; break;\ncase 2: PORTB = 0b10110110; break;\ncase 3: PORTB = 0b10011110; break;\ncase 4: PORTB = 0b11001100; break;\ncase 5: PORTB = 0b11011010; break;\ncase 6: PORTB = 0b11111010; break;\ncase 7: PORTB = 0b00001110; break;\ncase 8: PORTB = 0b11111110; break;\ncase 9: PORTB = 0b11011110; break;\n}\n}\u003C\/myquote\u003E\n\u003Cbr \/\u003E\n\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=\"https:\/\/tiny.cc\/4ssd-up\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003E4 Digit SSD Up Counter\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\/4317002936434011911\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/04\/4-digit-ssd-up-counter-pic16f628a.html#comment-form","title":"16 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4317002936434011911"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4317002936434011911"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/04\/4-digit-ssd-up-counter-pic16f628a.html","title":"4 Digit Seven Segment Up Counter Circuit - 16F628"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiAQQ46uSFMYGYoX2z-T4qLlgtjBPyyq1tx3_4NmUbYbD_MUiUL3rj4lzx_NlsZy_DL7gHuJydiRp5hMjUkMI_DnFoR946MxcvM51IiLv3D-ZnDN4kW0eOvx1fNeAZ2Nk32tlOrrOAXpN8\/s72-c\/4_dig_up.jpg","height":"72","width":"72"},"thr$total":{"$t":"16"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-2211480051232318528"},"published":{"$t":"2014-04-25T21:54:00.003+05:30"},"updated":{"$t":"2020-11-03T21:09:55.050+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"12F"},{"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":"Remote"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Sensor"}],"title":{"type":"text","$t":"Infrared Remote Control Transmitter and Receiver Circuit - 16F628 12F683"},"content":{"type":"html","$t":"\u003Cspan style=\"color: red; font-size: large;\"\u003EUpdated [Sep 14, 2014]\n\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cul\u003E\u003Cspan style=\"color: yellow;\"\u003E\n\u003Cli\u003EFixed some bugs on IR_Tx.hex\u003C\/li\u003E\n\u003Cli\u003EIncreased Accuracy\u003C\/li\u003E\n\u003C\/span\u003E\u003C\/ul\u003E\n\u003Cbr \/\u003E\nThis is a general purpose remote control project with 16 channels and using PIC16F628 for transmitter \u0026amp; 12F683 for receiver side. Remote controls usually consist of encoder\/decoder parts connected to a transmitter\/receiver module which takes care of the transmission of digital signals by radio or infra waves.The transmitter has a varying number of buttons and sends the states of these inputs to the receiver. The receiver device decodes the message and sets the outputs accordingly.\n\nTo get individual out put from receiver you need to connect 4 to 16 decoder like CD4067, 74HS154 etc or you can use another programming ic. Receiver has two versions. chose better one for your task.\n\n\u003Cbr \/\u003E\nI used Proteus 8 for designing. so if you are already used older version, it is not supported to open this files. All the files can be download from below.\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003ETransmitter Circuit\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\nThe TX use 16 pin PIC devices, PIC16F628A is the main part of the transmitter run at 4 MHz crystal. Actually, this device has 4MHz RC internal \noscillator but not suitable for use with the project that need critical \ntime as remote control. This ic used to send IR command to receiver. It also generate 38KHz carrier frequency and information bit.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nYou can use 2xAA size batteries or CR2016 battery or 5v for the circuit. For saving power when use with battery powered we need to increased battery life. Therefore when any keys not pressed within 30 seconds the CPU go to SLEEP mode to reduce battery power consumption and wake-up only when any key pressed. To wake-up the CPU from SLEEP mode the CPU use interrupt on change feature which interrupted when the state on PORTB change, then the program execution after an interrupt is at the interrupt vector, if the global interrupt is not enabled, the program starts executing the first line of code right after the SLEEP instruction.In the interrupt service routine the software will scan the key that pressed and send IR command appropriate with key pressed.\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\/AVvXsEh6Qg08YRfJBEZLjCghC8K-qzY0fJzBPxYbgHIHZ9LZMZ-57EaaQVXI1CUjkQBlpRi2QPsbBtN2Qa-izXl3JEQk2ackkC5Dlah1R1HeoK3PEoZLgixa_TxLv5z2gCZjcDFa5ubZpxaREms\/s1600\/IR_Tx.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Transmitter circuit\" border=\"0\" height=\"211\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh6Qg08YRfJBEZLjCghC8K-qzY0fJzBPxYbgHIHZ9LZMZ-57EaaQVXI1CUjkQBlpRi2QPsbBtN2Qa-izXl3JEQk2ackkC5Dlah1R1HeoK3PEoZLgixa_TxLv5z2gCZjcDFa5ubZpxaREms\/s1600\/IR_Tx.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;\"\u003ESchematic of Transmitter\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003EReceiver Circuit\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\nThe receiver used low cost 8 pin PIC16F683 to control all function of receiver side. The IR was received from TX will demodulated by this ic. When power is applied to circuit the CPU will polling the IR input signal which is the output from IR decoder module (TSOP1736). After IR received the CPU decoding the IR command and then turn on\/off appropriate channel.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nEx:\u003Cbr \/\u003E\nIf press 1 on TX then RX out put will be A=1, B=0, C=0, D=0\u003Cbr \/\u003E\nIf press 2 on TX then RX out put will be A=0, B=1, C=0, D=0\u003Cbr \/\u003E\nIf press 16 on TX then RX out put will be A=1, B=1, C=1, D=1\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFor IR decoder module alternatively you can used TSOP48XX series or any common module.\u003Cbr \/\u003E\nConnect 4 to 16 decoder with A, B, C and D to get all the out puts.\u003Cbr \/\u003E\nSupply voltage is 5v (Max). \u003Cbr \/\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\/AVvXsEhbMGfRie1ev9mHMq_kJs-P8IeHcbVNZO3tiyndpSt_VXZZey4QWzS_xwMxzBNRNAPYA_vP-wFUhvp58hPzuIgFb8dTcwU7O1Ba4ZKLhVUJI3hN5IcYkq1nqUqUgpn-Api-2oJRnUMmEIg\/s1600\/IR_Rx.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\" Receiver circuit\" border=\"0\" height=\"333\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhbMGfRie1ev9mHMq_kJs-P8IeHcbVNZO3tiyndpSt_VXZZey4QWzS_xwMxzBNRNAPYA_vP-wFUhvp58hPzuIgFb8dTcwU7O1Ba4ZKLhVUJI3hN5IcYkq1nqUqUgpn-Api-2oJRnUMmEIg\/s1600\/IR_Rx.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;\"\u003ESchematic of Receiver\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC12F683%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC12F683\u003C\/a\u003E Datasheet\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F628A%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F628A\u003C\/a\u003E Datasheet\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\/AVvXsEiGwZfLnjaN5wAnQi47XkPj8NMY7En7gLsel_TiEuxm0lL-xYE2T6Sq0c9mhnNTXKhP9MFT_0hgSTb8ooVjySaKwaFX-zLKaIfHS9ZIkejSjZDrZsF2wB_imvgzXRd2orYyWAWa20ZPy_Y\/s1600\/16f628.PNG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F628A pin\" border=\"0\" height=\"180\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiGwZfLnjaN5wAnQi47XkPj8NMY7En7gLsel_TiEuxm0lL-xYE2T6Sq0c9mhnNTXKhP9MFT_0hgSTb8ooVjySaKwaFX-zLKaIfHS9ZIkejSjZDrZsF2wB_imvgzXRd2orYyWAWa20ZPy_Y\/s320\/16f628.PNG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPin Connection\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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=\"https:\/\/tiny.cc\/683_IR_Rx\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EIR Receiver\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"https:\/\/tiny.cc\/683_IR_Tx\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EIR Transmitter\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\/2211480051232318528\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/04\/infra-red-remote-control.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2211480051232318528"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2211480051232318528"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2014\/04\/infra-red-remote-control.html","title":"Infrared Remote Control Transmitter and Receiver Circuit - 16F628 12F683"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh6Qg08YRfJBEZLjCghC8K-qzY0fJzBPxYbgHIHZ9LZMZ-57EaaQVXI1CUjkQBlpRi2QPsbBtN2Qa-izXl3JEQk2ackkC5Dlah1R1HeoK3PEoZLgixa_TxLv5z2gCZjcDFa5ubZpxaREms\/s72-c\/IR_Tx.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-5921461843670845329"},"published":{"$t":"2013-03-03T16:39:00.001+05:30"},"updated":{"$t":"2020-11-03T21:19:41.084+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":"DS1307"},{"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":"SSD"}],"title":{"type":"text","$t":"DS1307 Real Time Seven Segment Clock Circuit - 16F88"},"content":{"type":"html","$t":"\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\/AVvXsEgakWxMGxadxh1xbfB4R_d0u6Ti3_1gC6QIrz7TiwN2ofJofx8IlrZcLyTtTtoSdgXg_RO7B2YwxdQ1ZjiTYDN865issw0opsaSSowQRJG1B8knoSoGDXjWl99wbNg4nIv3uAmZ_n5rfjs\/s1600\/ds1307.jpg\" imageanchor=\"1\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1307 IC\" border=\"0\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgakWxMGxadxh1xbfB4R_d0u6Ti3_1gC6QIrz7TiwN2ofJofx8IlrZcLyTtTtoSdgXg_RO7B2YwxdQ1ZjiTYDN865issw0opsaSSowQRJG1B8knoSoGDXjWl99wbNg4nIv3uAmZ_n5rfjs\/s1600\/ds1307.jpg\" title=\"\" 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\nDS1307 is a low power serial real time clock with full binary coded decimal (BCD) clock\/calendar plus 56 bytes of NV SRAM (Non Volatile Static Random Access Memory). Data and Address are transferred serially through a bidirectional I2C bus.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe RTC provides year, month, date, hour, minute and second information. The end date of months is automatically adjusted for months fewer than 31 days including leap year compensation up to year 2100. It can operate either in 24-hour format or 12-hour format with AM\/PM indicator.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDS1307 comes with built-in power sensing circuit which senses power failures and automatically switches to back up supply. We can provide a 3V CMOS Battery for that. The DS1307 RTC uses an external 32.768 kHz Crystal Oscillator and it does not requires any external resistors or capacitors to operate.\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\/AVvXsEgJBI54u4c6G4KGuHqLjOhA4M_YigouU8yOxeiBAZNbpL-2gIPQ6MWKYR2WKtWLisgXev6_l0WIg-8iWmi1auhKx6TyLZGWdBsPfpKisP2dlhcgitw4QZ4LjgDPO9ihF0kHH0qazYb_OOQ\/s1600\/q.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1307 Block Diagram\" border=\"0\" height=\"215\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgJBI54u4c6G4KGuHqLjOhA4M_YigouU8yOxeiBAZNbpL-2gIPQ6MWKYR2WKtWLisgXev6_l0WIg-8iWmi1auhKx6TyLZGWdBsPfpKisP2dlhcgitw4QZ4LjgDPO9ihF0kHH0qazYb_OOQ\/s1600\/q.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;\"\u003EDS1307 Block Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn this project, I used ds1307 as real time clock ic and PIC16f88 as micro-controller.\nTo save micro-controller pins there are four input keys which are all connected to a single analogue input pin. This pin also drives one of the seven segment display LEDs so it has to be switched between input (to read the analogue voltage) and output (to drive the led). Each key pulls the analogue input to a different voltage level which you can easily read using the ADC (RA0).\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\/AVvXsEjE0wEPQ6LbS0UWO-KGT8OsRAhF0TQyp5jwYAv4JGzv5xWc1J1DV8OgJ70A2Lm7_uDFG2CtEfXvRF1AyOh8cdooYtAwj29yNk844uz-Z0XouB_HQWn5yR18SSCFuw69RpH1t1fmI87ia1o\/s1600\/1307+Clock+Only.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"DS1307 Real Time Clock circuit\" border=\"0\" height=\"280\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjE0wEPQ6LbS0UWO-KGT8OsRAhF0TQyp5jwYAv4JGzv5xWc1J1DV8OgJ70A2Lm7_uDFG2CtEfXvRF1AyOh8cdooYtAwj29yNk844uz-Z0XouB_HQWn5yR18SSCFuw69RpH1t1fmI87ia1o\/s1600\/1307+Clock+Only.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;\"\u003ECircuit Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003ESet Time\u003C\/span\u003E\u003C\/u\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMode : Pressing mode button cycles the display showing 3 different data.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMode 1 : Time only\u003Cbr \/\u003E\nMode 2 : Seconds only \u003Cbr \/\u003E\nMode 3 : Stand-by\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSet : To change the value, set button must be pressed.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSet 1 :\u0026nbsp; Edit mode, show Minute\n\u003Cbr \/\u003E\nSet 2 :\u0026nbsp; Edit mode, show Hour\n\u003Cbr \/\u003E\nSet 3 :\u0026nbsp; Return to clock mode\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUp and Down : After Pressing set button, you can change the values indicated on clock by using this buttons.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUP :\u0026nbsp; Values ++\u003Cbr \/\u003E\nIn clock mode it will also change the 12\/24Hr format.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDown :\u0026nbsp; Values --\u003Cbr \/\u003E\nIn clock mode it will do nothing.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003EClock Accuracy:\n\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nThe accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the match between the capacitive load of the oscillator circuit and the capacitive load for which the crystal was trimmed. Additional error will be added by crystal frequency drift caused by temperature shifts. External circuit noise coupled into the oscillator circuit may result in the clock running fast.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo ensure the crystal oscillates correctly you must ensure that;\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ECrystal uses 12.7pf load capacitance (correct crystal type).\n\u003C\/li\u003E\n\u003Cli\u003EThe crystal is close to the IC.\n\u003C\/li\u003E\n\u003Cli\u003EThe tracks are short.\n\u003C\/li\u003E\n\u003Cli\u003EThe chip supply has lots of decoupling (capacitors from +5V to GND). e.g. A 100n and a 10n\n\u003C\/li\u003E\n\u003Cli\u003EThere are no signal tracks near to the crystal.\n\u003C\/li\u003E\n\u003Cli\u003EFor a PCB: It has a guard ring and a ground plane and away from digital signals.\n\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=Ds1307%2Bdatasheet\u0026amp;as_sitesearch=maximintegrated.com\" target=\"_blank\"\u003EDS1307\u003C\/a\u003E\u0026nbsp;Datasheet\n\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F88%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F88\u003C\/a\u003E\u0026nbsp;Datasheet\n\u003C\/div\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\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F88 pin\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPin Connection\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nI Used mikroC for compile this project.\u003Cbr \/\u003E\nAlso you can get PCF8583 version from \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2013\/03\/pcf8583-real-time-clock.html\" target=\"_blank\"\u003Ehere\u003C\/a\u003E.\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\/1307_12-24_H\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EProteus and HEX\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/1307_12-24_P\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ESchematic and PCB\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\n\n\u003C!-- Blogger automated replacement: \"https:\/\/images-blogger-opensocial.googleusercontent.com\/gadgets\/proxy?url=http%3A%2F%2F2.bp.blogspot.com%2F-glFcpn6RFaE%2FUC_TbSgiU9I%2FAAAAAAAABIo%2FqKNlc5hg-JQ%2Fs320%2F16f88.PNG\u0026amp;container=blogger\u0026amp;gadget=a\u0026amp;rewriteMime=image%2F*\" with \"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" --\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/5921461843670845329\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2013\/03\/ds1307-real-time-clock.html#comment-form","title":"4 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5921461843670845329"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/5921461843670845329"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2013\/03\/ds1307-real-time-clock.html","title":"DS1307 Real Time Seven Segment Clock Circuit - 16F88"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgakWxMGxadxh1xbfB4R_d0u6Ti3_1gC6QIrz7TiwN2ofJofx8IlrZcLyTtTtoSdgXg_RO7B2YwxdQ1ZjiTYDN865issw0opsaSSowQRJG1B8knoSoGDXjWl99wbNg4nIv3uAmZ_n5rfjs\/s72-c\/ds1307.jpg","height":"72","width":"72"},"thr$total":{"$t":"4"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-6137609401859208072"},"published":{"$t":"2013-03-02T16:06:00.003+05:30"},"updated":{"$t":"2020-11-03T21:19:28.460+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":"I2C"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PCF8583"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"}],"title":{"type":"text","$t":"PCF8583 Real Time Seven Segment Clock Circuit - 16F88"},"content":{"type":"html","$t":"\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\/AVvXsEgoKmNFkewvFcjOknehkhCab2f05sKb_bYClLkGbtCB1pzzrfKE3qkqSPzzzXH9ZkzMQPziGoTT4fxMzfidmEPhduOtLfRXsHS1OUWPy16DS91VWEU4TfW-oZyhyphenhyphensO1hIvHRnvhyxV3DFU\/s1600\/PCF8583.gif\" imageanchor=\"1\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Basic Connection of PCF8583\" border=\"0\" height=\"247\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgoKmNFkewvFcjOknehkhCab2f05sKb_bYClLkGbtCB1pzzrfKE3qkqSPzzzXH9ZkzMQPziGoTT4fxMzfidmEPhduOtLfRXsHS1OUWPy16DS91VWEU4TfW-oZyhyphenhyphensO1hIvHRnvhyxV3DFU\/s1600\/PCF8583.gif\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EBasic Connection of PCF8583 \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\nThe PCF8583 is a clock and calendar chip based on a 2048 bit static CMOS RAM organized as 256words by 8 bits. Addresses and data are transferred serially via the two-line bidirectional I2C-bus. \n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe built-in word address register is incremented automatically after each written or read data byte. Address pin A0 is used for programming the hardware address, allowing the connection of two devices to the bus without additional hardware.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe built-in 32.768 kHz oscillator circuit and the first 8 bytes of the RAM are used for the clock, calendar, and counter functions. The next 8 bytes can be programmed as alarm registers or used as free RAM space. The remaining 240 bytes are free RAM locations.\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\/AVvXsEiOsR01WVs04VAUnNoakxL66rgxGc1ljDYKHPYWHS6WUnbnWIcRkzYsBhYubH0Ae8k9zJsR7RG0w27pZxr0B2wRth6hsw8PjUrO10LiPU4LnOSCPEWrGJ1wl1BdKuIAKxHPgp1ZgNrsKLU\/s1600\/Block+diagram+of+PCF8583.JPG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Block diagram of PCF8583\" border=\"0\" height=\"308\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiOsR01WVs04VAUnNoakxL66rgxGc1ljDYKHPYWHS6WUnbnWIcRkzYsBhYubH0Ae8k9zJsR7RG0w27pZxr0B2wRth6hsw8PjUrO10LiPU4LnOSCPEWrGJ1wl1BdKuIAKxHPgp1ZgNrsKLU\/s1600\/Block+diagram+of+PCF8583.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;\"\u003EBlock diagram of PCF8583\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EFeatures:\u003C\/span\u003E\u003C\/u\u003E\n\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003EI2C-bus interface operating supply voltage: 2.5 V to 6 V\u003C\/li\u003E\n\u003Cli\u003EClock operating supply voltage 1.0 V to 6.0 V at 0 °C to +70 °C\u003C\/li\u003E\n\u003Cli\u003E240 × 8-bit low-voltage RAM\u003C\/li\u003E\n\u003Cli\u003EData retention voltage: 1.0 V to 6.0 V\u003C\/li\u003E\n\u003Cli\u003EOperating current (at f\u003Cspan style=\"font-size: xx-small;\"\u003ESCL\u003C\/span\u003E = 0 Hz): max 50 μA\u003C\/li\u003E\n\u003Cli\u003EClock function with four year calendar\u003C\/li\u003E\n\u003Cli\u003EUniversal timer with alarm and overflow indication\u003C\/li\u003E\n\u003Cli\u003E24 hour or 12 hour format\u003C\/li\u003E\n\u003Cli\u003E32.768 kHz or 50 Hz time base\u003C\/li\u003E\n\u003Cli\u003ESerial input and output bus (I2C-bus)\u003C\/li\u003E\n\u003Cli\u003EAutomatic word address incrementing\u003C\/li\u003E\n\u003Cli\u003EProgrammable alarm, timer, and interrupt function\u003C\/li\u003E\n\u003Cli\u003ESlave addresses: A1h or A3h for reading, A0h or A2h for writing\u003C\/li\u003E\n\u003C\/ul\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\/AVvXsEg25L87ml87KMXkJBf1agUewdKRBUaVegHekQLGfrcyDHHx5PdMSyrfXYbuhhf6gs4AfXfC8bpkWqePMrWEVMi1dRIvPg4vY2gKLhEit8x_Hc8KJNLgSjhbUbuT39CrBbKTIfHhcj_Tdfk\/s1600\/PCF8583+Clock+Only.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PCF8583 Real Time Clock circuit\" border=\"0\" height=\"281\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg25L87ml87KMXkJBf1agUewdKRBUaVegHekQLGfrcyDHHx5PdMSyrfXYbuhhf6gs4AfXfC8bpkWqePMrWEVMi1dRIvPg4vY2gKLhEit8x_Hc8KJNLgSjhbUbuT39CrBbKTIfHhcj_Tdfk\/s400\/PCF8583+Clock+Only.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;\"\u003ECircuit Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis clock circuit is same as \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2013\/03\/ds1307-real-time-clock.html\" target=\"_blank\"\u003EDS1307 - Real Time Clock\u003C\/a\u003E. The only different is here I used PCF8583 RTC clock ic and change firmware. Because registers of DS1307 and PCF8583 are different.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo save micro-controller pins there are four input keys which are all connected to a single analogue input pin. This pin also drives one of the seven segment display LEDs so it has to be switched between input (to read the analogue voltage) and output (to drive the led). Each key pulls the analogue input to a different voltage level which you can easily read using the ADC (RA0).\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: 14pt; line-height: 21px;\"\u003ESet Time:\u003C\/span\u003E\u003C\/u\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMode : Pressing mode button cycles the display showing 3 different data.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMode 1 : Time only\u003Cbr \/\u003E\nMode 2 : Seconds only\u003Cbr \/\u003E\nMode 3 : Stand-by\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSet : To change the value, set button must be pressed.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSet 1 :\u0026nbsp; Edit mode, show Minute\u003Cbr \/\u003E\nSet 2 :\u0026nbsp; Edit mode, show Hour\u003Cbr \/\u003E\nSet 3 :\u0026nbsp; Return to clock mode\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUp and Down : After Pressing set button, you can change the values indicated on clock by using this buttons.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUP :\u0026nbsp; Values ++\u003Cbr \/\u003E\nIn clock mode it will also change the 12\/24Hr format.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDown :\u0026nbsp; Values --\u003Cbr \/\u003E\nIn clock mode it will do nothing.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EQuartz Frequency Adjustment:\n\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nBy evaluating the average capacitance necessary for the application layout, a fixed capacitor can be used. The frequency is measured using the 1Hz signal available after power-on at the interrupt output (pin 7). The frequency tolerance depends on the quartz crystal tolerance, the capacitor tolerance and the device-to-device tolerance. Average deviations of 5 minutes per year are possible. See data sheet for more\ndetail.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUse mikroC for compile.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PCF8583%2Bdatasheet\u0026amp;as_sitesearch=nxp.com\" target=\"_blank\"\u003EPCF8583\u003C\/a\u003E\u0026nbsp;Datasheet\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F88%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F88\u003C\/a\u003E\u0026nbsp;Datasheet\u003C\/div\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\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F88 pin\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPIC16F88 Pin Connection\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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\/8583_12-24_C\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EMikroC source\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"https:\/\/tiny.cc\/8583_12-24_I\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EProteus and HEX\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"https:\/\/tiny.cc\/8583_12-24_P\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ESchematic and PCB\u003C\/span\u003E\u003C\/a\u003E\n\n\u003C\/div\u003E\n\u003C\/blockquote\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\n\n\u003C!-- Blogger automated replacement: \"https:\/\/images-blogger-opensocial.googleusercontent.com\/gadgets\/proxy?url=http%3A%2F%2F2.bp.blogspot.com%2F-glFcpn6RFaE%2FUC_TbSgiU9I%2FAAAAAAAABIo%2FqKNlc5hg-JQ%2Fs320%2F16f88.PNG\u0026amp;container=blogger\u0026amp;gadget=a\u0026amp;rewriteMime=image%2F*\" with \"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" --\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/6137609401859208072\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2013\/03\/pcf8583-real-time-clock.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6137609401859208072"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6137609401859208072"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2013\/03\/pcf8583-real-time-clock.html","title":"PCF8583 Real Time Seven Segment Clock Circuit - 16F88"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgoKmNFkewvFcjOknehkhCab2f05sKb_bYClLkGbtCB1pzzrfKE3qkqSPzzzXH9ZkzMQPziGoTT4fxMzfidmEPhduOtLfRXsHS1OUWPy16DS91VWEU4TfW-oZyhyphenhyphensO1hIvHRnvhyxV3DFU\/s72-c\/PCF8583.gif","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-6536513952566594343"},"published":{"$t":"2012-08-23T20:28:00.000+05:30"},"updated":{"$t":"2020-11-03T20:00:31.328+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"}],"title":{"type":"text","$t":"2 Way AC Flasher"},"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\/AVvXsEjw1yMFCCXA1jchDyUGb60mGImRYSX381yzWISn3InKBT8roJxZkjIIfLBQE5ETjH1j25msJwRc4X7CNPoFop7GOzc5fQz2QPQsBEGRmWlTbdM8OJyMaq3GlnpjFlBE275G6D-_4XZmsM8\/s1600\/2+Way+AC+Flasher+3D.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg border=\"0\" height=\"234\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjw1yMFCCXA1jchDyUGb60mGImRYSX381yzWISn3InKBT8roJxZkjIIfLBQE5ETjH1j25msJwRc4X7CNPoFop7GOzc5fQz2QPQsBEGRmWlTbdM8OJyMaq3GlnpjFlBE275G6D-_4XZmsM8\/s320\/2+Way+AC+Flasher+3D.png\" width=\"320\" \/\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: small;\"\u003EPreview\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\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\/AVvXsEg9s6KZw_sThfDAhKftTdEMKTGtijfBJ5wXUVrak_edX8558iKWETUPqy0vyaSjNdWtJKVI0aNaRTw4q3ZYNjxjVEhvxg3N6ygeQaAneJOZqxAqCl-g_msvFr5WvyIRdLcYgy2zW5__mQ8\/s1600\/2+Way+AC+Flasher.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg border=\"0\" height=\"186\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg9s6KZw_sThfDAhKftTdEMKTGtijfBJ5wXUVrak_edX8558iKWETUPqy0vyaSjNdWtJKVI0aNaRTw4q3ZYNjxjVEhvxg3N6ygeQaAneJOZqxAqCl-g_msvFr5WvyIRdLcYgy2zW5__mQ8\/s320\/2+Way+AC+Flasher.png\" width=\"320\" \/\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: small;\"\u003ESchematic\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\nyou can change speed by\u0026nbsp;adjusting RV1\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"color: red; text-align: center;\"\u003E\n\u003Cspan style=\"font-size: large;\"\u003EPlease be\u0026nbsp;careful! This circuit is directly connected with AC\u0026nbsp;!\u003C\/span\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/6536513952566594343\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/2-way-ac-flasher.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6536513952566594343"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/6536513952566594343"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/2-way-ac-flasher.html","title":"2 Way AC Flasher"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjw1yMFCCXA1jchDyUGb60mGImRYSX381yzWISn3InKBT8roJxZkjIIfLBQE5ETjH1j25msJwRc4X7CNPoFop7GOzc5fQz2QPQsBEGRmWlTbdM8OJyMaq3GlnpjFlBE275G6D-_4XZmsM8\/s72-c\/2+Way+AC+Flasher+3D.png","height":"72","width":"72"},"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-8256274322865505638"},"published":{"$t":"2012-08-22T20:12:00.000+05:30"},"updated":{"$t":"2020-11-03T20:00:31.528+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"}],"title":{"type":"text","$t":"LED Multivibrator"},"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\/AVvXsEjOEnQM7cDWD6bC1gvWl2WnBaZNPAYHx1Ue-b9R8jF5sHnLtrkz7zCK26i7iAuvSz7SBBmdGcR7oArM-2H4YGZmD7zoh91IVSKxdTKvo_nqrMwPoBixxndkRIGDA6TSt7JMW_x8-vwBLUg\/s1600\/Multivibrator+3D.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjOEnQM7cDWD6bC1gvWl2WnBaZNPAYHx1Ue-b9R8jF5sHnLtrkz7zCK26i7iAuvSz7SBBmdGcR7oArM-2H4YGZmD7zoh91IVSKxdTKvo_nqrMwPoBixxndkRIGDA6TSt7JMW_x8-vwBLUg\/s1600\/Multivibrator+3D.png\" \/\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: small;\"\u003EPreview\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\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\/AVvXsEivJ0FbwKDGf7fJhK0_wMUF5G0n5i3BgakT0f1V6hm5X5dmWxxAZ1HV_PatIf7dFDGlfwdrUID4mkW1nB6kmgrO4Qibu1NMrNuGby1-TxTO9vtaGUh6hYXX05LbScuiMwCk-kynqF54pLA\/s1600\/Multivibrator.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg border=\"0\" height=\"320\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEivJ0FbwKDGf7fJhK0_wMUF5G0n5i3BgakT0f1V6hm5X5dmWxxAZ1HV_PatIf7dFDGlfwdrUID4mkW1nB6kmgrO4Qibu1NMrNuGby1-TxTO9vtaGUh6hYXX05LbScuiMwCk-kynqF54pLA\/s320\/Multivibrator.png\" width=\"292\" \/\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: small;\"\u003ESchematic\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Cdiv style=\"text-align: left;\"\u003E\nIf you want change speed of blinking then change\u0026nbsp;values of\u0026nbsp; C1 and C2.\u0026nbsp;increased\u0026nbsp;values of C1,C2\u0026nbsp;will decrease speed.\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Cdiv style=\"text-align: left;\"\u003E\nSupply Voltage 3-6V\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/8256274322865505638\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/led-multivibrator.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/8256274322865505638"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/8256274322865505638"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/led-multivibrator.html","title":"LED Multivibrator"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjOEnQM7cDWD6bC1gvWl2WnBaZNPAYHx1Ue-b9R8jF5sHnLtrkz7zCK26i7iAuvSz7SBBmdGcR7oArM-2H4YGZmD7zoh91IVSKxdTKvo_nqrMwPoBixxndkRIGDA6TSt7JMW_x8-vwBLUg\/s72-c\/Multivibrator+3D.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-3795529130328646506"},"published":{"$t":"2012-08-21T20:09:00.001+05:30"},"updated":{"$t":"2020-11-03T20:55:18.788+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"}],"title":{"type":"text","$t":"LB1403 LED Sound Level Indicator Circuit"},"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\/AVvXsEgVudN9I_iNI5yG3k4yedwbZuhcUddaSZXCmAbeMh9vl0_rZwq6Nj1d52CzglXQ2xxb_L0OJcO82ugkXIPGH2aBBueH1w32EynWQ5HX3Q-pwdr0ExwktGUhNngbLTQKMJuT7nEYq3ad-7A\/s1600\/1403.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"LB1403 circuit preview\" border=\"0\" height=\"198\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgVudN9I_iNI5yG3k4yedwbZuhcUddaSZXCmAbeMh9vl0_rZwq6Nj1d52CzglXQ2xxb_L0OJcO82ugkXIPGH2aBBueH1w32EynWQ5HX3Q-pwdr0ExwktGUhNngbLTQKMJuT7nEYq3ad-7A\/s320\/1403.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPreview\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is a another sound level meter circuit using LB1403N. You can use this for any audio system such as Amplifier, Radio, or TV. As well as you can use this either ac level meters such as vu meters or dc level meters such as signal meters.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EFeatures of LB1403N\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003ECapable of generating a bar-display for input voltage with 5 LEDs.\u003C\/li\u003E\n\u003Cli\u003EOperates from either AC or DC input voltage because of on-chip rectifier amplifier.\u003C\/li\u003E\n\u003Cli\u003ELighting levels remain stable to line regulation because of on-chip voltage reference.\u003C\/li\u003E\n\u003Cli\u003ELEDs are driven by a constant current; stable to line regulation.\u003C\/li\u003E\n\u003Cli\u003EPower supply voltage range is wide (3.5 to 16V), for wide range of applications.\u003C\/li\u003E\n\u003Cli\u003ESIP-9 pin package and fewer externally connected component result in smaller space requirements on the circuit board.\u003C\/li\u003E\n\u003Cli\u003ELow noise at LED lighted mode.\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nFor stereo audio systems you need two of this circuit and you can adjust the sound sensitivity by challenging value of RV1.You can directly connect this circuit with output of your amplifier or any other audio system.\u003Cbr \/\u003E\nSupply voltage for this circuit is 6-12v.\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\/LB1403_vu\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ELB1403 VU meter\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\/3795529130328646506\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/lb1403-sound-level-indicator.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3795529130328646506"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/3795529130328646506"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/lb1403-sound-level-indicator.html","title":"LB1403 LED Sound Level Indicator Circuit"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgVudN9I_iNI5yG3k4yedwbZuhcUddaSZXCmAbeMh9vl0_rZwq6Nj1d52CzglXQ2xxb_L0OJcO82ugkXIPGH2aBBueH1w32EynWQ5HX3Q-pwdr0ExwktGUhNngbLTQKMJuT7nEYq3ad-7A\/s72-c\/1403.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7147348239907115742"},"published":{"$t":"2012-08-20T19:45:00.000+05:30"},"updated":{"$t":"2015-11-29T09:48:18.235+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"}],"title":{"type":"text","$t":"LED Knight Rider Circuits - CD4017 NE555"},"content":{"type":"html","$t":"Everyone like to build LED Knight Rider circuits, specially beginners and little kids. So I will post some knight rider circuits and you can find different pattern of the knight rider circuit from here.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: center;\"\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELED Knight Rider 1\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\n\u003C\/h4\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\/AVvXsEimaF0rG5v-aaQ-psV38yfM5HFIiPheCKfRAQHa7DvSM6lO07wZVydHxDnhIvPrpUzjnxcJoay3mg432uxziar5Lit3oEWSDp6gLzMh5aM15RmQxSeCAqJ3eclBDUgJmKFA97LYd9UGo1o\/s1600\/LED+Knight+Rider+3D.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Knight Rider Circuits 1 preview\" border=\"0\" height=\"111\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEimaF0rG5v-aaQ-psV38yfM5HFIiPheCKfRAQHa7DvSM6lO07wZVydHxDnhIvPrpUzjnxcJoay3mg432uxziar5Lit3oEWSDp6gLzMh5aM15RmQxSeCAqJ3eclBDUgJmKFA97LYd9UGo1o\/s320\/LED+Knight+Rider+3D.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPattern 1 Preview\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\/AVvXsEi63pCTS-tMqxjL-ETgLmxvG7KXv-QPLs0ftiW7CAuHnI2mHKL9ov6l4C5Qx_q2tJjHjlSnfIbbac9BbTEsaU9Q7halsOHgTsEMtGx5FnYh1N6C3l2UWXqDyQ8hh9RTpBXR3aynCAhZS8Y\/s1600\/LED+Knight+Rider.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Knight Rider Circuits 1\" border=\"0\" height=\"217\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEi63pCTS-tMqxjL-ETgLmxvG7KXv-QPLs0ftiW7CAuHnI2mHKL9ov6l4C5Qx_q2tJjHjlSnfIbbac9BbTEsaU9Q7halsOHgTsEMtGx5FnYh1N6C3l2UWXqDyQ8hh9RTpBXR3aynCAhZS8Y\/s320\/LED+Knight+Rider.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPattern 1 Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn this circuit LED is running one by one from D1 to D10. after D10, its star from D1 and this will continue until power is disconnected.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: center;\"\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELED Knight Rider 2\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\n\u003C\/h4\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\/AVvXsEgBhzTNLhn3HwZot5k_HTrCRbt2nuvrx45CFSpOlCZq1jNp4V1JzbBhx7BvT84aJBK3VUwl8OUADMagBz1rdg3NVVNFbE8qicv4rFiDG2ynz_ZNpnUG_99_KY_cEx1EhfcwMjjwYcbOS5c\/s1600\/LED+Knight+Rider+2+3D.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Knight Rider Circuits 2  preview\" border=\"0\" height=\"117\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgBhzTNLhn3HwZot5k_HTrCRbt2nuvrx45CFSpOlCZq1jNp4V1JzbBhx7BvT84aJBK3VUwl8OUADMagBz1rdg3NVVNFbE8qicv4rFiDG2ynz_ZNpnUG_99_KY_cEx1EhfcwMjjwYcbOS5c\/s320\/LED+Knight+Rider+2+3D.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPattern 2 Preview\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\/AVvXsEj2_V8WSyZpKv2SPFFyrboWWkGhLgGcy5BYK0ldjHNbn8kdtqN9Kg2YXxE86JhDnTNZnINaifpNWmWd5jL3kYwtFi6kT-2wmhWgeGILASKQSuk-uQtQBSubmc-NCqyRvhRk55ujdZte66E\/s1600\/LED+Knight+Rider+2.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Knight Rider Circuits 2\" border=\"0\" height=\"205\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj2_V8WSyZpKv2SPFFyrboWWkGhLgGcy5BYK0ldjHNbn8kdtqN9Kg2YXxE86JhDnTNZnINaifpNWmWd5jL3kYwtFi6kT-2wmhWgeGILASKQSuk-uQtQBSubmc-NCqyRvhRk55ujdZte66E\/s320\/LED+Knight+Rider+2.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPattern 2 Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIn this circuit LED is running two ways. in first step D1, D3, D5, D7 and D9 is light up one by one and the D10, D8, D6, D4 and D2 is light up one by one after D2, its\n star from D1 and this will continue until power is down. this is more similar to the circuit of Knight Rider TV Series. how ever this circuit doesn't display a tail like circuit in tv series. if you like to add tail then simply add capacitors between every LED. the value of capacitor depend on input voltage and type of LED. so i can't give a value for capacitor. therefor you have to chosen your own value for this by adding different capacitors from 10-220uf. however i think 47-100uf is good for this.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: center;\"\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELED Knight Rider 3 - Shadow\n\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\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\/AVvXsEg030GyDI602bM8FLeCHfj3nA_k0EpxNX5UuLL9RhHR0IxafZ1GpLLgXastMIlrLQZFL61xXy1Kud-OeUGkHdY2suMfQ1nRRPMJc6Q1v9rH0Tbkiq4XeIOjTvXZKb44u_ZcZcXH-73Nnpk\/s1600\/LED+Knight+Rider+Shadow+3D.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Knight Rider Circuits 3 preview\" border=\"0\" height=\"118\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg030GyDI602bM8FLeCHfj3nA_k0EpxNX5UuLL9RhHR0IxafZ1GpLLgXastMIlrLQZFL61xXy1Kud-OeUGkHdY2suMfQ1nRRPMJc6Q1v9rH0Tbkiq4XeIOjTvXZKb44u_ZcZcXH-73Nnpk\/s320\/LED+Knight+Rider+Shadow+3D.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPattern 3 Preview\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\/AVvXsEhlacveGUa85dtADjIyg6WTsxtgxRVsnXPXWgKT7EZ2zqPJ6yHBr8tFnGbwoAqapo6KSPPf9r_nvPow3zmwVy9LkiCbhoCGGuhHHsLsETFQRtTYtgyh4EuLInijqWPZ_TyYB676Lge6oZo\/s1600\/LED+Knight+Rider+Shadow.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Knight Rider Circuits 3\" border=\"0\" height=\"225\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhlacveGUa85dtADjIyg6WTsxtgxRVsnXPXWgKT7EZ2zqPJ6yHBr8tFnGbwoAqapo6KSPPf9r_nvPow3zmwVy9LkiCbhoCGGuhHHsLsETFQRtTYtgyh4EuLInijqWPZ_TyYB676Lge6oZo\/s320\/LED+Knight+Rider+Shadow.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPattern 3 Circuit \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is the same circuit of pattern 1 and only change the polarity of LED. after power is given all the LED s are light up except D1. next all the LED s are light up except D2. this will continue until D10 off. after that it begin with D1 and this will repeated until power is applied. This method also can applied to the pattern 2. RV1 used to change speed of scrolling. Supply Voltage is 5-12v. Change the R1 resistor to 470-1k when you used power supply above 5v.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n4017 is a synchronous decimal up counter with decimal-decoder. it count when the signal is applied to the CLK (pin 14).\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe NE555 is a highly stable device for generating accurate time delays or oscillation and used to generate clock pulses for 4017.\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/7147348239907115742\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/knight-rider-circuits.html#comment-form","title":"12 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7147348239907115742"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7147348239907115742"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/knight-rider-circuits.html","title":"LED Knight Rider Circuits - CD4017 NE555"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEimaF0rG5v-aaQ-psV38yfM5HFIiPheCKfRAQHa7DvSM6lO07wZVydHxDnhIvPrpUzjnxcJoay3mg432uxziar5Lit3oEWSDp6gLzMh5aM15RmQxSeCAqJ3eclBDUgJmKFA97LYd9UGo1o\/s72-c\/LED+Knight+Rider+3D.png","height":"72","width":"72"},"thr$total":{"$t":"12"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-4057957483884224108"},"published":{"$t":"2012-08-18T23:45:00.005+05:30"},"updated":{"$t":"2020-11-03T20:50:20.247+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"}],"title":{"type":"text","$t":"7 Band Spectrum Analyzer Circuit using OP Amps"},"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\/AVvXsEgMVfLnuLcKGBvbWhGnKmn4sVBZ0FwhhG9UxJosvU1yGHRJJd7_UN8PC0hHsjd3WqXvdNZSWpkQztw5AmnPzFo8zN0gL7ZnNn1tldHNtDxNb7preZMLlUpfeNOqYzYkZowT6NnwvOo7RlV6\/s1600\/spec_eq.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Spectrum Analyzer\" border=\"0\" height=\"73\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgMVfLnuLcKGBvbWhGnKmn4sVBZ0FwhhG9UxJosvU1yGHRJJd7_UN8PC0hHsjd3WqXvdNZSWpkQztw5AmnPzFo8zN0gL7ZnNn1tldHNtDxNb7preZMLlUpfeNOqYzYkZowT6NnwvOo7RlV6\/s200\/spec_eq.gif\" title=\"\" 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: small;\"\u003E\u003Cspan style=\"font-size: small;\"\u003ESpectrum \u003Cspan style=\"font-size: small;\"\u003EAnalyzer\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\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\/AVvXsEjtypLCE5j-2l8DmdvkwL280-qwV-61QPU5fzAGFH1vKot3esmvsqIcJFG-TNgGhtvt63Gisw16ZaXqv0h_-2j3ZFqsfPSy-pDcgEPJWUXMKgvv-E5EJlVVhq9xkKim04HekLjfd436_Uc\/s1600\/7+band.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Spectrum Analyzer circuit\" border=\"0\" height=\"173\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjtypLCE5j-2l8DmdvkwL280-qwV-61QPU5fzAGFH1vKot3esmvsqIcJFG-TNgGhtvt63Gisw16ZaXqv0h_-2j3ZFqsfPSy-pDcgEPJWUXMKgvv-E5EJlVVhq9xkKim04HekLjfd436_Uc\/s320\/7+band.png\" 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\u003Cspan style=\"font-size: small;\"\u003ECircuit Preview\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nYou can use this circuit for build your own spectrum analyzer for amplifier or any audio equipments.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIn this post i will not show the sound level meter circuit and this is only the circuit of the band pass filter for the analyzer. you need to connect outputs of this circuit with sound level indicator circuits such as \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2012\/08\/lb1403-sound-level-indicator.html\" target=\"_blank\"\u003ELB1403\u003C\/a\u003E ,  \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2012\/08\/an6877-an6878-vu-meter.html\" target=\"_blank\"\u003EAN6877\u003C\/a\u003E to get full circuit. you need totally 8 of sound level indicator circuits. the last bar show the sound level and if you doesn't like it you can omitted that one and then you need totally 7 of sound level indicator circuits.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFor build seven band pass filter here I used LA6458S. but you can use any operational amplifier for this. If you use operational amplifier such as LM324 or TL084 then you need only two ICs for this. because those ICs include four different operational amplifiers and LA6458S include only two operational amplifiers.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nBy using this circuit you can be able to get 50Hz, 100Hz, 330Hz, 1kHz, 3.3kHz, 6.3kHz and 12.5kHz output and these out put can be directly connected with any audio level meter circuit mentioned earlier.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nCouple of year ago I found this circuit from a radio and then I build this one and it worked great..!\u003Cbr \/\u003E\nSupply voltage for this circuit is 12v.\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=\"https:\/\/tiny.cc\/7speq-analog\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003E7 Band Spectrum Analyzer\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\/4057957483884224108\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/7-band-spectrum-analizer.html#comment-form","title":"12 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4057957483884224108"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4057957483884224108"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/7-band-spectrum-analizer.html","title":"7 Band Spectrum Analyzer Circuit using OP Amps"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgMVfLnuLcKGBvbWhGnKmn4sVBZ0FwhhG9UxJosvU1yGHRJJd7_UN8PC0hHsjd3WqXvdNZSWpkQztw5AmnPzFo8zN0gL7ZnNn1tldHNtDxNb7preZMLlUpfeNOqYzYkZowT6NnwvOo7RlV6\/s72-c\/spec_eq.gif","height":"72","width":"72"},"thr$total":{"$t":"12"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7531907899340597506"},"published":{"$t":"2012-08-18T23:45:00.002+05:30"},"updated":{"$t":"2020-11-03T20:46:32.283+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Audio"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Indicator"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"}],"title":{"type":"text","$t":"AN6877 - AN6878 LED VU Meter Circuit"},"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\/AVvXsEgUXCWCHqwJICNBE75pgvPlvWvZx9LyvQUHiUQ0M8A3Br5OZ6zfcMwms3y384WKeTb5HiOM4YeKZCY-dSlVJEOWylGG-HmWLsEgRwOHHzD6FZdQHlrj3zNdfojL7FjTWHlGWiFyWsMWYRc\/s1600\/AN6877+vu.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"AN6877 VU Meter circuit\" border=\"0\" height=\"175\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgUXCWCHqwJICNBE75pgvPlvWvZx9LyvQUHiUQ0M8A3Br5OZ6zfcMwms3y384WKeTb5HiOM4YeKZCY-dSlVJEOWylGG-HmWLsEgRwOHHzD6FZdQHlrj3zNdfojL7FjTWHlGWiFyWsMWYRc\/s320\/AN6877+vu.png\" 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\u003Cspan style=\"font-size: small;\"\u003EPreview\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis is a sound level meter circuit based on AN6877 and AN6878 series. you can use this for any audio system such as Amplifier, Radio, or TV.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe AN6877 and AN6878 are monolithic integrated circuit driving 7 LED s. The AN6877 respond linearly and the AN6878 does logarithmically for input signal. As output current adjusting pin is set, it can control LED brightness. (by changing value of Rc)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003EFeatures\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E \u0026nbsp; \u003C\/h4\u003E\n\u003Cul\u003E\n\u003Cli\u003E7 LED bar graph display drive\u003C\/li\u003E\n\u003Cli\u003ELinear (AN6877) and Logarithm (AN6878) response\u003C\/li\u003E\n\u003Cli\u003EAdjustable Brightness\u003C\/li\u003E\n\u003Cli\u003EHigh output current (25mA)\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\nFor stereo system you need two of this circuit and you can adjust sound sensitivity by challenging the value of RV1.\u003Cbr \/\u003E\nSupply voltage for this circuit is 6-12v.\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\/AN6877_VU\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EAN687X VU meter\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\/7531907899340597506\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/an6877-an6878-vu-meter.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7531907899340597506"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7531907899340597506"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/an6877-an6878-vu-meter.html","title":"AN6877 - AN6878 LED VU Meter Circuit"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgUXCWCHqwJICNBE75pgvPlvWvZx9LyvQUHiUQ0M8A3Br5OZ6zfcMwms3y384WKeTb5HiOM4YeKZCY-dSlVJEOWylGG-HmWLsEgRwOHHzD6FZdQHlrj3zNdfojL7FjTWHlGWiFyWsMWYRc\/s72-c\/AN6877+vu.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-1471037557415767500"},"published":{"$t":"2012-08-18T23:22:00.002+05:30"},"updated":{"$t":"2020-11-03T20:37:43.221+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":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"}],"title":{"type":"text","$t":"PIC16F88 Seven Segment Digital Clock Circuit "},"content":{"type":"html","$t":"In the beginning, I posted a clock that used PIC16F84A\nmicro-controller. You can see it \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2012\/07\/1224hr-digital-clock-using-16f84a.html\" target=\"_blank\"\u003Ehere\u003C\/a\u003E. PIC16F84A is very old IC and it has very less functions. Therefore, today I post a developed version of\nthat clock. It used PIC16F88 micro-controller. PIC16F88 built in many features\nsuch as large memory, internal oscillator, ADC and many more. In addition, we can use this IC for our future projects.\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\/AVvXsEgSAb-URSzdDdiqMGkMswY-JBx6pShWccVM3XjLB7S-p_VhlMTTTgOTOb0zva0kuXGFboraq2hJGi_NKpDcS_Igz0oJl_YkdlnJpR57S2vokTnAo3FUAoWaqMZ8KXOuYU_rxMtFq324YFc\/s1600\/16f88+preview.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F88 Digital Clock preview\" border=\"0\" height=\"156\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgSAb-URSzdDdiqMGkMswY-JBx6pShWccVM3XjLB7S-p_VhlMTTTgOTOb0zva0kuXGFboraq2hJGi_NKpDcS_Igz0oJl_YkdlnJpR57S2vokTnAo3FUAoWaqMZ8KXOuYU_rxMtFq324YFc\/s320\/16f88+preview.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\u003Cspan style=\"font-size: small;\"\u003EPreview\u003C\/span\u003E\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\/AVvXsEjIDn04vHtx3A47E2GD8Cw1YWC1cl_yrx98P2PNGhtmuoBSzXpEozud6kysS7bOR755j7KSe9_AewNQnZdCbbpltqrMxfKAnlOSeJT5iMibPs55HJYjBZQ19kHMLZmqT1zrzoXhasBGF-Y\/s1600\/16f88+circut.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F88 Digital Clock in dot board\" border=\"0\" height=\"197\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjIDn04vHtx3A47E2GD8Cw1YWC1cl_yrx98P2PNGhtmuoBSzXpEozud6kysS7bOR755j7KSe9_AewNQnZdCbbpltqrMxfKAnlOSeJT5iMibPs55HJYjBZQ19kHMLZmqT1zrzoXhasBGF-Y\/s320\/16f88+circut.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\u003Cspan style=\"font-size: small;\"\u003ECircuit Created On Dot board\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nYou can use big SSD or LEDs to build this but therefore you should add more transistors. Like 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\n\u003Ctr\u003E\u003Ctd style=\"text-align: center;\"\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhoIEVAhAKUM85ke7cmFkJgD-M25nBo9S75levXyRizqe_oKTn0ufva1LXmxuASx_mVXTK2MrlziWi44Py1Qg62HSZ6BE0wwEkASYLBo60uOPCuNDr8C0Yn7K6Td9GX7-QRABDV7s-jz4c\/s1600\/big+ssd.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"large display connection\" border=\"0\" height=\"197\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhoIEVAhAKUM85ke7cmFkJgD-M25nBo9S75levXyRizqe_oKTn0ufva1LXmxuASx_mVXTK2MrlziWi44Py1Qg62HSZ6BE0wwEkASYLBo60uOPCuNDr8C0Yn7K6Td9GX7-QRABDV7s-jz4c\/s320\/big+ssd.png\" 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\u003Cspan style=\"font-size: small;\"\u003Efor large display\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nHere I used 4 switches to control the clock.\n\u003Cbr \/\u003E\n\u003Cul\u003E\n\u003Cli\u003ESW1 – Edit \/ Enter\u003C\/li\u003E\n\u003Cli\u003ESW2 – Up Sec \/ Min\u003C\/li\u003E\n\u003Cli\u003ESW3 – Down Sec \/ Min\u003C\/li\u003E\n\u003Cli\u003ESW4 – 12Hr \/ 24Hr\u003C\/li\u003E\n\u003Cli\u003ESW5 – Reset\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Cbr \/\u003E\n\u003Ch3 class=\"trigger\"\u003E\nClick here for 1Hz\u0026nbsp;Oscillator\u0026nbsp;Circuits\u003C\/h3\u003E\n\u003Cdiv class=\"toggle_container\"\u003E\n\u003Cdiv class=\"block\"\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\/AVvXsEghYFg52gbiL9EK4DtukO8uiSJS4_hmjZ0nTzUjjMtep0T7Qik7AAbNZkngEtIByNdtz8XosKbRb9HoBMQp6pTyTlsskdDSAimqcW_TViiXddp1FgPn7hCiba8cfMHKtcGLfRPONgbbXg8\/s1600\/1hz+clock.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"1Hz Oscillator Circuits\" border=\"0\" height=\"285\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEghYFg52gbiL9EK4DtukO8uiSJS4_hmjZ0nTzUjjMtep0T7Qik7AAbNZkngEtIByNdtz8XosKbRb9HoBMQp6pTyTlsskdDSAimqcW_TViiXddp1FgPn7hCiba8cfMHKtcGLfRPONgbbXg8\/s400\/1hz+clock.png\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EClock Circuits\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F88%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F88\u003C\/a\u003E Datasheet\u003C\/div\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\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s1600\/16f88.PNG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F88 Pin\" border=\"0\" height=\"181\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgRgdkVBmnqJs9L06vS8Lb3j_lXRmBx3G-b4LBNLqxm2xq8Mcvip6CGkf8AFx1QhxcOmKOJULGXtjLe-Lo1i2eG_eo-5Yzpef4DfsH64pucBW7Qs5U401EeYza2ZEYARPSsh25q7jLdlQk\/s320\/16f88.PNG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E16F88 Pin-out\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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\n\u003Ca href=\"http:\/\/www.mediafire.com\/download\/b114vbiv9p4fyf6\/16F88_12-24Hr_Hex.zip\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EHex File\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/download\/j381q9k9s8aqyl1\/16F88_PCB_\u0026_Schematic.zip\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EPCB and Schematic\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\/1471037557415767500\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/pic16f88-digital-clock.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/1471037557415767500"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/1471037557415767500"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/pic16f88-digital-clock.html","title":"PIC16F88 Seven Segment Digital Clock Circuit "}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgSAb-URSzdDdiqMGkMswY-JBx6pShWccVM3XjLB7S-p_VhlMTTTgOTOb0zva0kuXGFboraq2hJGi_NKpDcS_Igz0oJl_YkdlnJpR57S2vokTnAo3FUAoWaqMZ8KXOuYU_rxMtFq324YFc\/s72-c\/16f88+preview.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-1764939594174000381"},"published":{"$t":"2012-08-17T15:00:00.000+05:30"},"updated":{"$t":"2015-11-03T10:35:00.308+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LDR"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Sensor"}],"title":{"type":"text","$t":"Simple Light Sensor Circuit"},"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\/AVvXsEgPLX6n49ZsRwM4r6E-p_5RF-AhXCJEfWmeAm_QN3bdK9pwnwBUU-jqN7NCocZcFPH9SIpxuqrSKcP-mDmdB26JnMKjQ8qiVTU0CC0CY86FXm4aFylDIpnAvga6dy__2a3zgv-fXVh31YM\/s1600\/Light_Sens+3D.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Light Sensor preview\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgPLX6n49ZsRwM4r6E-p_5RF-AhXCJEfWmeAm_QN3bdK9pwnwBUU-jqN7NCocZcFPH9SIpxuqrSKcP-mDmdB26JnMKjQ8qiVTU0CC0CY86FXm4aFylDIpnAvga6dy__2a3zgv-fXVh31YM\/s1600\/Light_Sens+3D.jpg\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPreview\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIf you need to turn on any device at morning, then you can use this circuit.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis is a light sensor and you can control any device by connecting it through the relay. The relay was activated when the around is light or when we focus a light to the surface of the LDR.The circuit is very simple and you can use a dot board to assemble it and use any power supply to give power.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf you have a 9v or 6v relay then decrease the input voltage according to the voltage of relay. Use \u003Cbr \/\u003E\nRV1 to change the sensitivity of this circuit.\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\/AVvXsEjULVtgeWvAHvy_tTt-cA6QJ0c9Xvlf8298gshtUwFhKXRjSwk_tJ0c_A2HV-CzghUcTsDwpSybdduuw7XzzaqyiNHYbLuF1eZYxdddABt-Lt1eK9q6uqnpEMDixtND_SwjFN91gI6toMU\/s1600\/Light_Sens.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Light Sensor Circuit\" border=\"0\" height=\"218\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjULVtgeWvAHvy_tTt-cA6QJ0c9Xvlf8298gshtUwFhKXRjSwk_tJ0c_A2HV-CzghUcTsDwpSybdduuw7XzzaqyiNHYbLuF1eZYxdddABt-Lt1eK9q6uqnpEMDixtND_SwjFN91gI6toMU\/s320\/Light_Sens.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ELight Sensor Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EOperation\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\nIn dark condition impedance of LDR is very high. Q1 transistor is in off state. because bias voltage coming to the base of Q1 is low due to high impedance of LDR.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAt light condition impedance of LDR is goes down and therefore voltage of Q1 base is goes high and after it reach its saturation voltage Q1 activated and bias voltage for Q2 is start to going through R1 and Q1. then Q2 activated and also relay was activated.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf you connect you device across the NC and Com pin of relay then you can also use this as dark activated switch."},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/1764939594174000381\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/light-sensor.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/1764939594174000381"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/1764939594174000381"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/light-sensor.html","title":"Simple Light Sensor Circuit"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgPLX6n49ZsRwM4r6E-p_5RF-AhXCJEfWmeAm_QN3bdK9pwnwBUU-jqN7NCocZcFPH9SIpxuqrSKcP-mDmdB26JnMKjQ8qiVTU0CC0CY86FXm4aFylDIpnAvga6dy__2a3zgv-fXVh31YM\/s72-c\/Light_Sens+3D.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-4696760404050576788"},"published":{"$t":"2012-08-17T14:55:00.002+05:30"},"updated":{"$t":"2015-11-03T10:34:03.030+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LDR"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Sensor"}],"title":{"type":"text","$t":"Simple Dark Sensor Circuit"},"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\/AVvXsEgusXz47VHrHuC30Kj0EH0QeWSCb5a_VDCgOM9YCauUM42i2Z65Lpl5V-BV2UQ-QaT2aRhAFlvRCRIUjaj5cASpBsOMFCRwDCmUq9DTtV15qgPQK94j5AgqeqG6z5ZvMrkmRi4wmvRvo8o\/s1600\/Dark_Sens+3D.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Dark Sensor preview\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgusXz47VHrHuC30Kj0EH0QeWSCb5a_VDCgOM9YCauUM42i2Z65Lpl5V-BV2UQ-QaT2aRhAFlvRCRIUjaj5cASpBsOMFCRwDCmUq9DTtV15qgPQK94j5AgqeqG6z5ZvMrkmRi4wmvRvo8o\/s1600\/Dark_Sens+3D.jpg\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EPreview\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIf you need a bulb to light up automatically at night, then you can use this circuit.\u003Cbr \/\u003E\nThis is a dark sensor and you can control any device by connecting it through the relay. The relay was activated when the nearby is dark or when we covered the surface of\u0026nbsp; the LDR.The circuit is very simple and you can use a dot board to assemble it and use any power supply to give power.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf you have a 9v or 6v relay then decrease the input voltage according to the voltage of relay. Use RV1 to change the sensitivity of this circuit.\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\/AVvXsEgXTg6vgxdpN6fAk0wJPK4bDJhu8_K_uzTpArQUfxIPJH9EYa4Ys2atT4Pk4oTkhPwNWWPI2vpag6ttgF534A0d84d0F7Oq37-kbF4eDH28_Ak4nH4x8AxDkj-2vMPNZuqAe2AbMrUm-Rs\/s1600\/Dark_Sens.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Dark Sensor Circuit\" border=\"0\" height=\"218\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgXTg6vgxdpN6fAk0wJPK4bDJhu8_K_uzTpArQUfxIPJH9EYa4Ys2atT4Pk4oTkhPwNWWPI2vpag6ttgF534A0d84d0F7Oq37-kbF4eDH28_Ak4nH4x8AxDkj-2vMPNZuqAe2AbMrUm-Rs\/s320\/Dark_Sens.png\" 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\u003Cspan style=\"font-size: small;\"\u003EDark Sensor Circuit\u003C\/span\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EOperation\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\nIn normal condition impedance of LDR is low. Q1 transistor is in off state. because bias voltage coming through R2 and RV1 was grounded through the LDR.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAt dark state impedance of LDR is increase and therefore voltage of Q1 base goes high and after it reach ~0.5-0.7v Q1 activated and bias voltage for Q2 is start to going through R1 and Q1. then Q2 activated and also relay was activated.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf you connect you device across the NC and Com pin of relay then you can also use this as light activated switch."},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/4696760404050576788\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/dark-sensor.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4696760404050576788"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/4696760404050576788"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/dark-sensor.html","title":"Simple Dark Sensor Circuit"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgusXz47VHrHuC30Kj0EH0QeWSCb5a_VDCgOM9YCauUM42i2Z65Lpl5V-BV2UQ-QaT2aRhAFlvRCRIUjaj5cASpBsOMFCRwDCmUq9DTtV15qgPQK94j5AgqeqG6z5ZvMrkmRi4wmvRvo8o\/s72-c\/Dark_Sens+3D.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7033484420548182382"},"published":{"$t":"2012-08-01T14:03:00.004+05:30"},"updated":{"$t":"2020-11-03T20:33:24.139+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"12F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"16F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"18F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Basic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Programmer"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Uart"}],"title":{"type":"text","$t":"JDM - A Simple PIC Programmer Circuit"},"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\/AVvXsEhdYgKmqYQFRn1CojwSixVeiyDqYvOYWle00vLoMdQwyyLI6FgO_8vCNNAKqQDkSBt3ygDfm2UjTWyaH2VxCn7et3MBYtDuSytGv_AjfO56HbM4lFneeAbGusHhwTV5eOUyySALaHkUI1A\/s1600\/uJDMtop.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Circuit circuit on dot Board\" border=\"0\" height=\"175\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhdYgKmqYQFRn1CojwSixVeiyDqYvOYWle00vLoMdQwyyLI6FgO_8vCNNAKqQDkSBt3ygDfm2UjTWyaH2VxCn7et3MBYtDuSytGv_AjfO56HbM4lFneeAbGusHhwTV5eOUyySALaHkUI1A\/s320\/uJDMtop.gif\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ECircuit on dot Board\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe JDM programmer is one of the simplest PIC programmers available. The design comes from the excellent JDM low cost programmer. It connects direct to the PC serial port using Windows driver software \u003Ca href=\"http:\/\/www.ic-prog.com\/\" target=\"_blank\"\u003EIC-Prog\u003C\/a\u003E for easy programming. No external power supply is required and a simple board\nlayout is given requiring no special PCB manufacture. Note that the design is limited to the PIC series (12F, 16F and 18F) of chips and cannot be used for In System Programming - ISP.\n\u003Cbr \/\u003E\nIf you need a more advanced programmer then try \u003Ca href=\"http:\/\/www.winpic800.com\/\" target=\"_blank\"\u003EWinPic800\u003C\/a\u003E.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe JDM circuit connects to the computers serial port through a DB9F female connector and the LED are optional but are very useful particularly when testing the circuit.\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\/AVvXsEi1vmV73di8afYEsvPk7IbG5lxGhMjWny_jKhTU3cLa3H0qbka1_N5khV3-3MGahYmgrnyGbZXrwQ5uTapmuEcNc1xjeZBkl7Wz8uo8s5SNM85qWx3Rcp47N2ABMVYKna_ku67iTmOWFFU\/s1600\/JDMcct.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"JDm Circuit 1\" border=\"0\" height=\"192\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEi1vmV73di8afYEsvPk7IbG5lxGhMjWny_jKhTU3cLa3H0qbka1_N5khV3-3MGahYmgrnyGbZXrwQ5uTapmuEcNc1xjeZBkl7Wz8uo8s5SNM85qWx3Rcp47N2ABMVYKna_ku67iTmOWFFU\/s400\/JDMcct.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;\"\u003EConnection with 16F84 \u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nBy connecting below two circuits together, you can able to get a complete JDM programmer for program all pic series.\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\/AVvXsEhp4nqCq9UnEH1nwoJHxdBYRMqeqDYrwOB9ziPQJwVirWmGK0ycdffwGwdJeUAr4e0MV491z8krRd8S-lBBFFZ4b6h3T8S8yNzEb6LnT3y86CMbspYp4OokVmkkU2Da9HC6CgtOmrDp7go\/s1600\/jdm.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"JDm Circuit 2\" border=\"0\" height=\"185\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhp4nqCq9UnEH1nwoJHxdBYRMqeqDYrwOB9ziPQJwVirWmGK0ycdffwGwdJeUAr4e0MV491z8krRd8S-lBBFFZ4b6h3T8S8yNzEb6LnT3y86CMbspYp4OokVmkkU2Da9HC6CgtOmrDp7go\/s400\/jdm.png\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ECircuit 1\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\/AVvXsEi17I-zk3M02cg9nmcEaoJ4U2XNK9VSaCbB9jpj0rotnkThc-CUFQ0-HqvCDW-iFCX8m9Kc1O5AJECfR89qzuptc9PKo_lmKyxxcg74MHI4hQS8kdRofVdEI-wwlGc9hTBt8TYw_EAo-0o\/s1600\/new+programmer.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"JDM all pic series connector\" border=\"0\" height=\"228\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEi17I-zk3M02cg9nmcEaoJ4U2XNK9VSaCbB9jpj0rotnkThc-CUFQ0-HqvCDW-iFCX8m9Kc1O5AJECfR89qzuptc9PKo_lmKyxxcg74MHI4hQS8kdRofVdEI-wwlGc9hTBt8TYw_EAo-0o\/s400\/new+programmer.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;\"\u003ECircuit 2\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EHardware Testing\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\n\u003Col\u003E\n\u003Cli\u003EConnect the programmer to the PC serial port using the Female to Male serial lead\n\u003C\/li\u003E\n\u003Cli\u003EStart the IC-Prog software and under 'Settings -Hardware' select JDM Programmer\u003C\/li\u003E\n\u003Cli\u003EInsert the PIC into the programming socket\u003C\/li\u003E\n\u003C\/ol\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\/AVvXsEgQRuU5X8nZ2LvGFf9oKoH4ZFqCKilT2ZGYe-SUhgzDu2uqx7-43eityBB7pycuo6meYF-jPPCVS15mZmtTw_yo17cUjoyhVCPCHqMqVPJuL79QxHiGnRTd0zISWL3mNTCnW7Lww2koVP8\/s1600\/ICProgset.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"IC-Prog interface\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgQRuU5X8nZ2LvGFf9oKoH4ZFqCKilT2ZGYe-SUhgzDu2uqx7-43eityBB7pycuo6meYF-jPPCVS15mZmtTw_yo17cUjoyhVCPCHqMqVPJuL79QxHiGnRTd0zISWL3mNTCnW7Lww2koVP8\/s1600\/ICProgset.jpg\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EIC-Prog interface\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\/AVvXsEieoP15oScHWmU9R0Nq7dkUSWMEqK-2dQj8xNYPTHnCg4XhuVvH2DkFfEri3UD6iL9IxV-kUI8cakyHG9jhgiUblkqebqZBmxcuIqJkZZzou7VJCCW6tfi0nKnielEvHTUCrZ5tri58-_M\/s1600\/WinPic800.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"WinPic800 interface\" border=\"0\" height=\"203\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEieoP15oScHWmU9R0Nq7dkUSWMEqK-2dQj8xNYPTHnCg4XhuVvH2DkFfEri3UD6iL9IxV-kUI8cakyHG9jhgiUblkqebqZBmxcuIqJkZZzou7VJCCW6tfi0nKnielEvHTUCrZ5tri58-_M\/s320\/WinPic800.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EWinPic800 interface\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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:\/\/www.ic-prog.com\/\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EIC-Prog\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.winpic800.com\/\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EWinPic800\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/?gxsx3tts3g5rkcw\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EPCB \u0026amp; Schematic\u003C\/span\u003E\u003C\/a\u003E\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\/7033484420548182382\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/jdm-simple-pic-programmer.html#comment-form","title":"18 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7033484420548182382"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7033484420548182382"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/08\/jdm-simple-pic-programmer.html","title":"JDM - A Simple PIC Programmer Circuit"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhdYgKmqYQFRn1CojwSixVeiyDqYvOYWle00vLoMdQwyyLI6FgO_8vCNNAKqQDkSBt3ygDfm2UjTWyaH2VxCn7et3MBYtDuSytGv_AjfO56HbM4lFneeAbGusHhwTV5eOUyySALaHkUI1A\/s72-c\/uJDMtop.gif","height":"72","width":"72"},"thr$total":{"$t":"18"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-2023010215455435348"},"published":{"$t":"2012-07-28T13:43:00.003+05:30"},"updated":{"$t":"2020-11-03T20:31:54.958+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Clock"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Counter"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Logic"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"}],"title":{"type":"text","$t":"24Hr Digital Clock and Alarm Circuit Using Logic ICs - CD4017 CD4026 "},"content":{"type":"html","$t":"\u003Cspan style=\"color: yellow;\"\u003E[Updated]\u003Cbr \/\u003E\n06\/05\/2018 - Added Month and Date Reset Feature\n\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis is my first clock project, and used logic IC such as 4017, 4026 to build this clock circuit. Its include Date, Day, and Hourly alarm.See below picture.\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\/AVvXsEjzeZpkZA8K_X3Kdhz2kkFaXJ6EwIUkYUVgCchTtAlQX-00IGLoSYpGVYsvbrTjRLP8Ctls8NapjmWRJF6kHdjJCoc-C9ps9sKqH66rumWi0BzxydN5Mjkv_HRKEUi-uYVCZMWmEx4xyTU\/s1600\/logic+clock.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Logic clock preview\" border=\"0\" height=\"213\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjzeZpkZA8K_X3Kdhz2kkFaXJ6EwIUkYUVgCchTtAlQX-00IGLoSYpGVYsvbrTjRLP8Ctls8NapjmWRJF6kHdjJCoc-C9ps9sKqH66rumWi0BzxydN5Mjkv_HRKEUi-uYVCZMWmEx4xyTU\/s320\/logic+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;\"\u003EPreview\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIt’s very complicated at first sight. But it is not. First of all you can build main circuit and check it work or not.If the circuit work fine, then add other parts step by step to the circuit.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf it’s not work check all component and connections are correct and also check Seven Segment Displays. In my circuit I used LEDs but it is possible to use Seven Segment Displays.\n\u003Cbr \/\u003E\nAdd \u0026amp;transistors if you use LED or big Seven Segment Displays because this logic ICs can not handle large current. I connect this circuit with 6v backup battery to prevent time lost when the power is fail. In power failure displays are turned off but time is running using battery power.\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\/AVvXsEgSGwY276ibnxu_DtIBJG2wZEEnO8hl8hm_p8O5NHpgGYwB9EyvspsP0E5pGwfpDJhQlZiPGVowcrw8RFPp21tah3k0EVq1rJzSpAAfobHQucp0GQ-jCkVtbQ9mkzJtE8-pUJBwNyEHbso\/s1600\/Logic+Clock_full.jpg\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Logic clock circuit\" border=\"0\" height=\"214\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgSGwY276ibnxu_DtIBJG2wZEEnO8hl8hm_p8O5NHpgGYwB9EyvspsP0E5pGwfpDJhQlZiPGVowcrw8RFPp21tah3k0EVq1rJzSpAAfobHQucp0GQ-jCkVtbQ9mkzJtE8-pUJBwNyEHbso\/s320\/Logic+Clock_full.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;\"\u003EFull Circuit Diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E1Hz Signal Generators\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nTo generate 1Hz clock pulse for this circuit here I used circuit of a ordinary clock machine. you can buy a clock machine very cheap price at electronic shops or you can get it from old clock. In below picture you can see most common circuits of clock circuits. By giving power to this circuit we can able to get 1Hz output across the pins that are connected to coil (motor). (But actually we can get only 0.5Hz pulse in one pin. So get 1Hz we need to connect those pins by two diodes. you can see that in the diagram).\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\/AVvXsEghYFg52gbiL9EK4DtukO8uiSJS4_hmjZ0nTzUjjMtep0T7Qik7AAbNZkngEtIByNdtz8XosKbRb9HoBMQp6pTyTlsskdDSAimqcW_TViiXddp1FgPn7hCiba8cfMHKtcGLfRPONgbbXg8\/s1600\/1hz+clock.png\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"1hz signal generator circuit\" border=\"0\" height=\"285\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEghYFg52gbiL9EK4DtukO8uiSJS4_hmjZ0nTzUjjMtep0T7Qik7AAbNZkngEtIByNdtz8XosKbRb9HoBMQp6pTyTlsskdDSAimqcW_TViiXddp1FgPn7hCiba8cfMHKtcGLfRPONgbbXg8\/s400\/1hz+clock.png\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EClock circuits\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E4017 decade counter (1-of-10)\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgC0JpNyamplT-ktck2B5cZRMpoP6JTomPEN8Dx6ZkgkMPXSQJ6JI7z7KUxDZc0RzULZpUSH4Mvn4hjJy76mYKqvx0_yHWIGggdWlZXDqcZbuuiyqlVkyVG8zi-UZOU5M-P3qFy-t6LSik\/s1600\/4017.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"CD4017 pin\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgC0JpNyamplT-ktck2B5cZRMpoP6JTomPEN8Dx6ZkgkMPXSQJ6JI7z7KUxDZc0RzULZpUSH4Mvn4hjJy76mYKqvx0_yHWIGggdWlZXDqcZbuuiyqlVkyVG8zi-UZOU5M-P3qFy-t6LSik\/s1600\/4017.png\" title=\"\" \/\u003E\u003C\/a\u003E\nThe count advances as the clock input becomes high (on the rising-edge). Each output Q0-Q9 goes high in turn as counting advances. For some functions (such as flash sequences) outputs may be combined using diodes.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The reset input should be low (0V) for normal operation (counting 0-9). When high it resets the count to zero (Q0 high). This can be done manually with a switch between reset and +Vs and a 10k resistor between reset and 0V. Counting to less than 9 is achieved by connecting the relevant output (Q0-Q9) to reset, for example to count 0,1,2,3 connect Q4 to reset.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The disable input should be low (0V) for normal operation. When high it disables counting so that clock pulses are ignored and the count is kept constant.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The \u00F710 output is high for counts 0-4 and low for 5-9, so it provides an output at 1\/10 of the clock frequency. It can be used to drive the clock input of another 4017 (to count the tens).\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003E4026 decade counter and 7-segment display driver\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjFYLSeiXk1dWPLynUS3gbfQtKYNvDADiZA_nM3Mtgg6EuY8qtkJ2H0OMFy6yVOZUec6mb3Zw152G-wyd6nGUP8Hq6MxxgSmyYmZ1yeuvHS67NO2DsbvtmWu8iVKCBCgCZuB1AzsbUumfg\/s1600\/4026.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"CD4026 pin\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjFYLSeiXk1dWPLynUS3gbfQtKYNvDADiZA_nM3Mtgg6EuY8qtkJ2H0OMFy6yVOZUec6mb3Zw152G-wyd6nGUP8Hq6MxxgSmyYmZ1yeuvHS67NO2DsbvtmWu8iVKCBCgCZuB1AzsbUumfg\/s1600\/4026.png\" title=\"\" \/\u003E\u003C\/a\u003E\nThe count advances as the clock input becomes high (on the rising-edge). The outputs a-g go high to light the appropriate segments of a common-cathode 7-segment display as the count advances. The maximum output current is about 1mA with a 4.5V supply and 4mA with a 9V supply. This is sufficient to directly drive many 7-segment LED displays. The table below shows the segment sequence in detail.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The reset input should be low (0V) for normal operation (counting 0-9). When high it resets the count to zero.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The disable clock input should be low (0V) for normal operation. When high it disables counting so that clock pulses are ignored and the count is kept constant.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The enable display input should be high (+Vs) for normal operation. When low it makes outputs a-g low, giving a blank display. The enable out follows this input but with a brief delay.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp;The \u00F710 output (h in table) is high for counts 0-4 and low for 5-9, so it provides an output at 1\/10 of the clock frequency. It can be used to drive the clock input of another 4026 to provide multi digit counting.\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\/AVvXsEik9Iz5tj3Q9FO5xg4RiV6PLG7_NrWGdQNpL7h79VZMsky2V2yZnBkrcl-RW6j98pL33OpxoXjzvRz1QeafhooUT80uLxVRMMnEZf7LYxK6IvWb03SwtA8WX-daB8_es5jPpQki0PG3SR4\/s1600\/4026tab.png\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"cd4026 display chart\" border=\"0\" height=\"210\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEik9Iz5tj3Q9FO5xg4RiV6PLG7_NrWGdQNpL7h79VZMsky2V2yZnBkrcl-RW6j98pL33OpxoXjzvRz1QeafhooUT80uLxVRMMnEZf7LYxK6IvWb03SwtA8WX-daB8_es5jPpQki0PG3SR4\/s320\/4026tab.png\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003E4026 display chart\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ECD4073 triple 3-input AND Gate\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\n\u003C\/h4\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEigpP83FeBTHGfci1D-dyEKY8k-Jr75boaQ-YAHcA4L75Hi1U6X7goObTlMJMQ6vqfQT5VBJLxJRb8WIKMCpfMZvJ3KAMZgEjmUuGx-CEf9nPDEpxZSeOaZslxXsfFbIKkv5HgP2CIXj5U\/s1600\/4073_view.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"CD4073 internal\" border=\"0\" height=\"166\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEigpP83FeBTHGfci1D-dyEKY8k-Jr75boaQ-YAHcA4L75Hi1U6X7goObTlMJMQ6vqfQT5VBJLxJRb8WIKMCpfMZvJ3KAMZgEjmUuGx-CEf9nPDEpxZSeOaZslxXsfFbIKkv5HgP2CIXj5U\/s200\/4073_view.png\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgpcZVLEA_gcZ68_rCcdin-_Zz3wRhsQIIeGB0qWJCKNGUOM50nUxgwPs1Cun7lthH7N-RfVjaxL_dQnRCyUVWHLGvewmMW-09xWFQJDKjCv_q6KTbsGvuUSRnJLdT6lBmtYcce3ggS6EY\/s1600\/4073.png\" style=\"clear: left; display: inline; margin-bottom: 1em; margin-right: 1em; text-align: center;\"\u003E\u003Cimg alt=\"CD4073 pin\" border=\"0\" height=\"166\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgpcZVLEA_gcZ68_rCcdin-_Zz3wRhsQIIeGB0qWJCKNGUOM50nUxgwPs1Cun7lthH7N-RfVjaxL_dQnRCyUVWHLGvewmMW-09xWFQJDKjCv_q6KTbsGvuUSRnJLdT6lBmtYcce3ggS6EY\/s200\/4073.png\" title=\"\" width=\"200\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\nThe 4073 has three separate 3-input AND gates which you can use independently.\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003ETruth table\n\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003E\nThe truth table of each individual gate is:\n\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"color: lime; font-size: large;\"\u003EC\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E   \u003C\/span\u003EB\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E   \u003C\/span\u003EA\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E   \u003C\/span\u003EOutput\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"color: yellow; font-size: large;\"\u003E0\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E    \u003C\/span\u003E0\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E    \u003C\/span\u003E0\u0026nbsp;\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E   \u003C\/span\u003E0\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E    \u003C\/span\u003E1 \u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u0026nbsp;\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E   \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0 \u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u0026nbsp;\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E   \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u0026nbsp;\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E   \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-size: large;\"\u003E\u003Cspan style=\"color: cyan;\"\u003E1\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E    \u003C\/span\u003E1\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E    \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0 \u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan class=\"Apple-tab-span\" style=\"color: yellow; white-space: pre;\"\u003E \u003C\/span\u003E\u003Cspan style=\"color: yellow;\"\u003E0\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"color: cyan; font-size: large;\"\u003E1\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E    \u003C\/span\u003E1 \u0026nbsp;\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E  \u003C\/span\u003E1\u003Cspan class=\"Apple-tab-span\" style=\"white-space: pre;\"\u003E    \u003C\/span\u003E1\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nwhere '0' represents a LOW voltage, and '1' represents a HIGH voltage.\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EBasic operation\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nYou can investigate the behavior of a single 3-input AND gate using this circuit:\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiRK0iF9ZWeBqJXDn3MDQyNEKhDrR0KYt3WdH4Si92QFdiJFerpMJ517UighaXcapm_cMQtxFaX3o69zVT5hZmRlfpq-z3yxjAtg0V2zqPs6UkmFG1lxZEBIPNaNYHapmuvTHFyd6qhtsk\/s1600\/4073_op.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"3-input AND gate operation\" border=\"0\" height=\"154\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiRK0iF9ZWeBqJXDn3MDQyNEKhDrR0KYt3WdH4Si92QFdiJFerpMJ517UighaXcapm_cMQtxFaX3o69zVT5hZmRlfpq-z3yxjAtg0V2zqPs6UkmFG1lxZEBIPNaNYHapmuvTHFyd6qhtsk\/s400\/4073_op.png\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\nThe inputs of the gate must be connected, either to LOW or to HIGH, and must not be left open circuit. This is the function of the input switches with their pull-down resistors. To avoid loading the output of the gate, a transistor switch indicator circuit should be used. It is good practice with CMOS circuits to insert a decoupling capacitor, 47µF or 100µF, across the power supply. (This helps to prevent the transfer of spikes along the power supply rails.)\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003EUM348X\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgajI2-Xu9CXtGlPBKhip2gP1cizPe5SZSJEl-ja_SNcUkN9nHK_e3UEBnL1DWUg-hsaQ4N2ptAs2arsdYjCHpnrr2DC7vdsjhbEFGrlwB7EZSDs9SiMV4U6CTQSlr1a5EH2oOV2q8OUBc\/s1600\/UM3481-pinout.jpg\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"UM348X  pin\" border=\"0\" height=\"200\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgajI2-Xu9CXtGlPBKhip2gP1cizPe5SZSJEl-ja_SNcUkN9nHK_e3UEBnL1DWUg-hsaQ4N2ptAs2arsdYjCHpnrr2DC7vdsjhbEFGrlwB7EZSDs9SiMV4U6CTQSlr1a5EH2oOV2q8OUBc\/s200\/UM3481-pinout.jpg\" title=\"\" width=\"160\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\nThe UM348X series is a mask-ROM-programmed multi instruction\nmelody generator, implemented in the CMOS technology. They are designed to play\nthe melody according to the previously programmed information and capable of\ngenerating 16 songs with 3 instrument sounds, the piano, the origin and the mandolin.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe devices also included a per-amplifier which provide\nsimple interface to the driver circuit. The UM348X series is intended for\napplications such as toys, door bells, music boxes, melody clock\/timers and\ntelephones\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003EMonth and Date Reset\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\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\/AVvXsEgJDXcXg7wWaBFnoCPd50NwnyYcOkCcTRtuLgvg2iSYKPbpCzIpSoPzH7ATPoW11zHP3eHg9CnYdSR1YZChbJ6YOiAM3j0aJZZ2fZzdrALQT7ZdAR6wpVfUpa82ZDETIhzv3mh0gFpD_e68\/s1600\/Logic+Clock_month.jpg\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Month and Date Reset Circuit\" border=\"0\" data-original-height=\"471\" data-original-width=\"605\" height=\"248\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgJDXcXg7wWaBFnoCPd50NwnyYcOkCcTRtuLgvg2iSYKPbpCzIpSoPzH7ATPoW11zHP3eHg9CnYdSR1YZChbJ6YOiAM3j0aJZZ2fZzdrALQT7ZdAR6wpVfUpa82ZDETIhzv3mh0gFpD_e68\/s320\/Logic+Clock_month.jpg\" title=\"Month and Date Reset Circuit\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003EMonth and Reset Circuit\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\nThis is a newly added circuit and use 16F628A micro-controller. you have to program it before use. the purposes of this circuit are show month and reset date according to the month. Ex: Jan 31, Feb 28, Etc. PIC use its internal oscillator and circuit is very simple. To save pins, Month shows binary format.\u003Cbr \/\u003E\nEx: 1=0001, 2=0010, 3=0011, etc.\u003Cbr \/\u003E\nFor power supply and more details please refer device datasheet.\u0026nbsp; \u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch4 style=\"text-align: left;\"\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003ECode\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/h4\u003E\n\u003Cmyquote\u003E\n\/*******************************************************************************\n\n    Month and Date Reset - 16F628A\n    Copyright (C) 2014 Praneeth Kanishka\n\n    This program is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see http:\/\/www.gnu.org\/licenses\n\n    \u0026gt;\u0026gt; Email: scorpionzblog@gmail.com\n    \u0026gt;\u0026gt; Web  : http:\/\/scopionz.blogspot.com\n\n*******************************************************************************\/\n\nint count=1, month=1, date=1;\n\nconst char day_month[] = {0,31,28,31,30,31,30,31,31,30,31,30,31};\n\n\n\/\/ Interrupt Service Routine (ISR)\nvoid interrupt()\n{\nif (INTCON.INTF) \/\/ Check for interrupt\n{\nPORTA.F2=1;\ncount=count+1;\ndelay_ms(5);\nPORTA.F2=0;\n\n\nif(count\u0026gt;day_month[month]) {\ncount=1;\nif(++month\u0026gt;12) month=1;\nPORTA.F3=1;\nDelay_ms(5);\nPORTA.F3=0;\nPORTA.F2=1;\nDelay_ms(5);\nPORTA.F2=0;\n\n}\nPORTB = month\u0026lt;\u0026lt; 0x07=\"\" a0=\"\" clear=\"\" cmcon=\"\" comparators=\"\" delay_ms=\"\" disable=\"\" flag=\"\" if=\"\" intcon.intf=\"0;\" intcon=\"0b10010000;\" interrupt=\"\" interrupts=\"\" main=\"\" month=\"\" nable=\"\" option_reg.intedg=\"0;\" pcon.oscf=\"1;\" porta.f2=\"0;\" porta=\"0x00;\" portb=\"month\u0026lt;\u0026lt;4;\" rb0=\"\" trisa=\"0x03;\" trisb=\"0x01;\" void=\"\" while=\"\" z=\"\"\u0026gt;12) month=1;\nPORTB = month\u0026lt;\u0026lt; count=\"\" delay_ms=\"\" if=\"\"\u0026gt; day_month[month]) {\ncount=1;\nPORTA.F3=1;\nDelay_ms(5);\nPORTA.F3=0;\n}\nPORTA.F2=1;\nDelay_ms(50);\nPORTA.F2=0;\nDelay_ms(400);\n}\n\n\n }\n}\u003C\/myquote\u003E\n\u003Cbr \/\u003E\n\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\u003Cbr \/\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/Logic_Clock\"\u003E\u003Cspan style=\"font-size: large;\"\u003ELogic Clock Circuit\u003C\/span\u003E\u003C\/a\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/tiny.cc\/Logic_month\"\u003E\u003Cspan style=\"font-size: large;\"\u003EMonth and Date Reset Circuit\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\/2023010215455435348\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/24hr-digital-clock-and-alarm-circuit.html#comment-form","title":"46 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2023010215455435348"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2023010215455435348"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/24hr-digital-clock-and-alarm-circuit.html","title":"24Hr Digital Clock and Alarm Circuit Using Logic ICs - CD4017 CD4026 "}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjzeZpkZA8K_X3Kdhz2kkFaXJ6EwIUkYUVgCchTtAlQX-00IGLoSYpGVYsvbrTjRLP8Ctls8NapjmWRJF6kHdjJCoc-C9ps9sKqH66rumWi0BzxydN5Mjkv_HRKEUi-uYVCZMWmEx4xyTU\/s72-c\/logic+clock.jpg","height":"72","width":"72"},"thr$total":{"$t":"46"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7744619215462497172"},"published":{"$t":"2012-07-28T13:18:00.002+05:30"},"updated":{"$t":"2020-11-03T20:29:08.699+05:30"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"18F"},{"scheme":"http://www.blogger.com/atom/ns#","term":"LED"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Matrix"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"}],"title":{"type":"text","$t":"64x8 LED Matrix Moving Display Circuit - 18F2550"},"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\u003E\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjUJVfDm9cV8jyxr3_YfIPGvuKBkYW0XeOtQGki4vjFY9mf3HokDpNSOarXCKN310hxdCWa0u5ryJffXTbmxT8mxYjLnVQv09Lv0sFxMcOyNBlwazK9aPkVGHpVD0OACGy2aWKzy_WDjV0\/s1600\/Image0018.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Matrix Display preview\" border=\"0\" height=\"190\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjUJVfDm9cV8jyxr3_YfIPGvuKBkYW0XeOtQGki4vjFY9mf3HokDpNSOarXCKN310hxdCWa0u5ryJffXTbmxT8mxYjLnVQv09Lv0sFxMcOyNBlwazK9aPkVGHpVD0OACGy2aWKzy_WDjV0\/s320\/Image0018.jpg\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\"\u003EMatrix Display\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nLED dot matrices are very popular and it can displaying information such as both static and animated text and images. you can see it at gas stations displaying the gas prices, or in the public places and alongside highways, displaying advertisements on large dot matrix panels. In this project, we can use LED dot matrix interface with a micro-controller to display static characters and symbols.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis circuit of a Dot Matrix is based on the PIC18F2550 micro-controller and software is pic basic pro and it also include Proteus ISIS simulation and Kicad PCB files.\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\/AVvXsEg57OCA0eHdLPmNih9HyR2ZX367vKF9vj_mMEnsNfNkO90wIt1jp3-ckFQE7jUOeq2vbVM6FFoFDIj5IORYtyR0q177paiMHhblAvi6NGEv7v3zHhrTL3fAG2Z8qgcbU6aSg4da0tQxf9c\/s1600\/Image0022.jpg\" imageanchor=\"1\" style=\"background-color: white; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"Matrix Display pcb\" border=\"0\" height=\"240\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg57OCA0eHdLPmNih9HyR2ZX367vKF9vj_mMEnsNfNkO90wIt1jp3-ckFQE7jUOeq2vbVM6FFoFDIj5IORYtyR0q177paiMHhblAvi6NGEv7v3zHhrTL3fAG2Z8qgcbU6aSg4da0tQxf9c\/s320\/Image0022.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;\"\u003ECircuit Board\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThis circuit has 8 of 8×8 matrices and currently I used only 3 matrices.but you can use up to 8 matrices. I added two different hardware versions in download. but firmware is same. In my circuit I used CD4541 PCB and bypass the transistors. But brightness of your displays are very low or you need extra brightness then used transistors. and remember to add heat sink to regulator ic.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cb\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003E\u003Cu\u003ECharacter Set\u003C\/u\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/b\u003E\u003C\/h4\u003E\nThe most difficult thing about using the dot matrix LED display is defining the characters. Basically for ASCII characters you need an array of 128 blocks each having 8 column data numbers.\u003Cbr \/\u003E\nThe usual way is to get out a piece of graph paper and define your characters by drawing blocks where a pixel is on. You then translate each line into hex (binary to hex is very easy) and then transfer this information to your program source code.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ETheory of LED Dot Matrix Display\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nIn a dot matrix display, multiple LED s are wired together in rows and columns. This is done to minimize the number of pins required to drive them. For example, a 8×8 matrix of LED s would need 64 I\/O pins, one for each LED pixel. By wiring all the anodes together in rows , and cathodes in columns, the required number of I\/O pins is reduced to 16. Each LED is addressed by its row and column number.Characters can be displayed by fast scanning of either rows or columns.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ciframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https:\/\/www.blogger.com\/video.g?token=AD6v5dwyjrte1ZEKWFqjXEkTQoBC3gnyqmb57pVu_A573lyJqzNwjuj8Jlx4oDXzK7Oq9jMlr_6bxCTI-FDLBmW2-w' class='b-hbp-video b-uploaded' frameborder='0'\u003E\u003C\/iframe\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\nVideo Of Matrix Display\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cu\u003E\u003Cspan style=\"font-size: large;\"\u003EHow to compile?\u003C\/span\u003E\u003C\/u\u003E\u003C\/span\u003E\u003C\/h4\u003E\nFirst install\u0026nbsp;\u003Ca href=\"http:\/\/www.mecanique.co.uk\/code-studio\/index.html\" target=\"_blank\"\u003EMicroCode Studio\u003C\/a\u003E\u003Cbr \/\u003E\nThen install\u0026nbsp;\u003Ca href=\"http:\/\/www.melabs.com\/\" target=\"_blank\"\u003EPICBASIC PRO Compiler\u003C\/a\u003E\u003Cbr \/\u003E\nFinally\u0026nbsp;install\u0026nbsp;\u003Ca href=\"http:\/\/www.microchip.com\/MPLAB\" target=\"_blank\"\u003EMPLAB IDE\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow open MicroCode Studio\u003Cbr \/\u003E\nClick View \u0026gt;\u0026gt; Compile and Program Option \u0026gt;\u0026gt; Compiler \u0026gt;\u0026gt; Find Automatically\u003Cbr \/\u003E\nElse you can manually search your pbp folder (Default C:\\pbp)\u003Cbr \/\u003E\nNext\u0026nbsp;Click Assembler \u0026gt;\u0026gt;\u0026nbsp;Find Automatically\u003Cbr \/\u003E\nOr\u0026nbsp;you can manually search by clicking\u0026nbsp;Find\u0026nbsp;Manually button\u0026nbsp;\u0026nbsp;(Default C:\\Program Files\\Microchip\\MPASM Suite)\u003Cbr \/\u003E\nThen open\u0026nbsp;18F2550.bas with\u0026nbsp;MicroCode Studio, choose 18F2550 and press F9 or go to project \u0026gt;\u0026gt; compile\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow you were done.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC18F2550%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC18F2550\u003C\/a\u003E Datasheet\u003C\/div\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\/AVvXsEj4v6yvVnZXcGffTu_UB-FtQq7dQA-NraF2JBEnS7WG42cKEwiYm8ywLNXDMuEGvuJok8BozvS2_6JyIwb2t-ZyRM9egzZiAW4RF-49yX3EoZ3Q3mpfxxPc-ZRhwg8P8VyZjV5ApYLoqn0\/s1600\/18f2550.PNG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"18F2550 Pin\" border=\"0\" height=\"182\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj4v6yvVnZXcGffTu_UB-FtQq7dQA-NraF2JBEnS7WG42cKEwiYm8ywLNXDMuEGvuJok8BozvS2_6JyIwb2t-ZyRM9egzZiAW4RF-49yX3EoZ3Q3mpfxxPc-ZRhwg8P8VyZjV5ApYLoqn0\/s320\/18f2550.PNG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Epin connection\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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:\/\/www.mediafire.com\/download\/zed73m4o50hmzo3?\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EMatrix Display Source Files\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/download\/mw7f61tpmdppk3e?\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EMatrix Display Hex and Proteus\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/download\/6h5lxjtgjrt1flg?\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003E74154 PCB and Schematic File\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/download\/hagts4ydss327hg?\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003E4514 PCB and Schematic Files\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\/7744619215462497172\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/led-matrix-display.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7744619215462497172"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7744619215462497172"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/led-matrix-display.html","title":"64x8 LED Matrix Moving Display Circuit - 18F2550"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjUJVfDm9cV8jyxr3_YfIPGvuKBkYW0XeOtQGki4vjFY9mf3HokDpNSOarXCKN310hxdCWa0u5ryJffXTbmxT8mxYjLnVQv09Lv0sFxMcOyNBlwazK9aPkVGHpVD0OACGy2aWKzy_WDjV0\/s72-c\/Image0018.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-2050608616458977067"},"published":{"$t":"2012-07-27T22:13:00.002+05:30"},"updated":{"$t":"2020-11-03T20:24:24.330+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":"LED"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PIC"},{"scheme":"http://www.blogger.com/atom/ns#","term":"SSD"}],"title":{"type":"text","$t":"12 24Hr Big LED Digital Clock Circuit - 16F84"},"content":{"type":"html","$t":"Few years ago I build a \u003Ca href=\"http:\/\/scopionz.blogspot.com\/2012\/07\/logic-24hr-clock.html\" target=\"_blank\"\u003E24Hr clock using logic ICs\u003C\/a\u003E. It’s work\nnicely but little complex to beginners. So I think build clock using pic IC. Check the below picture. Hope you like it.\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\/AVvXsEgskIa0O6QMsb_4IM3isiStppJKueUz720yEvkQqlOLNabjIEIz8IpGT-9x4e_mc9UYvzYFnfQffVAY8XUCXW5gRTneQ4n7z4eMqepihF-HUW4xyAZw10Y-u7-NFIggch4NBFVz4Z3nV4w\/s1600\/164051_184034358286277_100000391438327_483407_2448609_n.jpg\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16F84A digital clock preview\" border=\"0\" height=\"194\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgskIa0O6QMsb_4IM3isiStppJKueUz720yEvkQqlOLNabjIEIz8IpGT-9x4e_mc9UYvzYFnfQffVAY8XUCXW5gRTneQ4n7z4eMqepihF-HUW4xyAZw10Y-u7-NFIggch4NBFVz4Z3nV4w\/s320\/164051_184034358286277_100000391438327_483407_2448609_n.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;\"\u003E16F84 digital clock\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nIt’s very easy to build and time accuracy is 99.999%. Because I use a clock circuit to generate the 1Hz pulse. It drive the clock. Use well smoothest power supply to give power to the circuit.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cobject class=\"BLOGGER-picasa-video\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\" data-thumbnail-src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjqMywvrsmypWOXJ4z4LQdDc8WNQXy48o3L8A3kboFq4qZmqC8QyIC81CH8tMKND3363rMzr8mgRLylSqFHr2Se9LCznWgTPh2ON_Togkfu7h3ePETAeNzvYHOiJSPJSO4E6bbiXIC8mNI\/s1600\/MOV00141.MP4\" height=\"266\" width=\"320\"\u003E\u003Cparam name=\"movie\" value=\"http:\/\/video.google.com\/googleplayer.swf?videoUrl=http:\/\/redirector.googlevideo.com\/videoplayback?id%3D7bd6722195435b1d%26itag%3D5%26source%3Dpicasa%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1347018748%26sparams%3Did,itag,source,ip,ipbits,expire%26signature%3D264623E3A231E28A687E37918139DEEA613C6F8E.EF08517696F7DACC1CFA65B67F8E3A6591132FE%26key%3Dlh1\" \/\u003E\u003Cparam name=\"bgcolor\" value=\"#FFFFFF\" \/\u003E\u003Cparam name=\"allowFullScreen\" value=\"true\" \/\u003E\u003Cembed width=\"320\" height=\"266\"  src=\"http:\/\/video.google.com\/googleplayer.swf?videoUrl=http:\/\/redirector.googlevideo.com\/videoplayback?id%3D7bd6722195435b1d%26itag%3D5%26source%3Dpicasa%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1347018748%26sparams%3Did,itag,source,ip,ipbits,expire%26signature%3D264623E3A231E28A687E37918139DEEA613C6F8E.EF08517696F7DACC1CFA65B67F8E3A6591132FE%26key%3Dlh1\" type=\"application\/x-shockwave-flash\" allowfullscreen=\"true\"\u003E\u003C\/embed\u003E\u003C\/object\u003E\u003C\/div\u003E\n\u003Cdiv class=\"MsoNormal\" style=\"text-align: center;\"\u003E\nPreview of clock\u003C\/div\u003E\n\u003Cbr \/\u003E\nUse '16F84A_12Hr.Hex' for 12 hour clock and '16F84A_24Hr.Hex' for 24 hour.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003EWhat is clock circuit?\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nI use the clock circuit to drive the clock because it is the\neasiest way to keep time accurately without using Real time clock IC such as\nDS1307.\n\nYou can buy an ordinary clock machine in a shop. It is very\ncheap. Then open it and get the circuit out. That is the clock circuit!\n\nConnect outputs of clock circuit (winding of coil is connected\nto here) to P5 and P6, (+) to P7 and (-) to P8. That’s all.\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\/AVvXsEghYFg52gbiL9EK4DtukO8uiSJS4_hmjZ0nTzUjjMtep0T7Qik7AAbNZkngEtIByNdtz8XosKbRb9HoBMQp6pTyTlsskdDSAimqcW_TViiXddp1FgPn7hCiba8cfMHKtcGLfRPONgbbXg8\/s1600\/1hz+clock.png\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"1Hz clock generator\" border=\"0\" height=\"285\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEghYFg52gbiL9EK4DtukO8uiSJS4_hmjZ0nTzUjjMtep0T7Qik7AAbNZkngEtIByNdtz8XosKbRb9HoBMQp6pTyTlsskdDSAimqcW_TViiXddp1FgPn7hCiba8cfMHKtcGLfRPONgbbXg8\/s400\/1hz+clock.png\" title=\"\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Eclock circuits\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nNow you can work in time. :D\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F84A%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F84A\u003C\/a\u003E Datasheet\u003C\/div\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\/AVvXsEifwrsjvMju4ZUiTXmzmHpCTPEERllGIQidsKy5NwpiaV7oUI9994m-oLAy2CqWH70jMBN30m9rT8WRiLhbBZz5_dqg7UzOPlTZG5O_BSldVPlmMn-GxGiFTZHi029DKCfLmluIYvCgmnw\/s1600\/16f84.PNG\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"16F84A Pin\" border=\"0\" height=\"181\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEifwrsjvMju4ZUiTXmzmHpCTPEERllGIQidsKy5NwpiaV7oUI9994m-oLAy2CqWH70jMBN30m9rT8WRiLhbBZz5_dqg7UzOPlTZG5O_BSldVPlmMn-GxGiFTZHi029DKCfLmluIYvCgmnw\/s320\/16f84.PNG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Epin-out\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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:\/\/www.mediafire.com\/download.php?x4a4f0ngkr49v29\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003EHex File\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/download.php?72c1lldh88p6ech\" target=\"_blank\"\u003E\u003Cspan style=\"font-size:large;\"\u003ECircuit Diagram and PCB\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\/2050608616458977067\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/1224hr-digital-clock-using-16f84a.html#comment-form","title":"2 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2050608616458977067"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/2050608616458977067"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/1224hr-digital-clock-using-16f84a.html","title":"12 24Hr Big LED Digital Clock Circuit - 16F84"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgskIa0O6QMsb_4IM3isiStppJKueUz720yEvkQqlOLNabjIEIz8IpGT-9x4e_mc9UYvzYFnfQffVAY8XUCXW5gRTneQ4n7z4eMqepihF-HUW4xyAZw10Y-u7-NFIggch4NBFVz4Z3nV4w\/s72-c\/164051_184034358286277_100000391438327_483407_2448609_n.jpg","height":"72","width":"72"},"thr$total":{"$t":"2"}},{"id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472.post-7767082623309034892"},"published":{"$t":"2012-07-27T15:52:00.004+05:30"},"updated":{"$t":"2020-11-03T20:23:30.378+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":"SSD"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Timer"}],"title":{"type":"text","$t":"Seven Segment Up Counter and 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\/AVvXsEglkujHr7V1-VuTsmBDP96eFR6DTuy_vjntXKgprjiGHc5HZ8SkXay10mq3a6xJtnQq8sOrhahHRBBfwQJVg6fIw1aflk-ZQTfqkd9tOK5pE1pecL1zN2WwwBkjt8Wg6C37O8XFCWDP_So\/s1600\/2DigitUpDownAlarmCct.gif\" imageanchor=\"1\" style=\"margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F628 Counter Circuit\" border=\"0\" height=\"160\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEglkujHr7V1-VuTsmBDP96eFR6DTuy_vjntXKgprjiGHc5HZ8SkXay10mq3a6xJtnQq8sOrhahHRBBfwQJVg6fIw1aflk-ZQTfqkd9tOK5pE1pecL1zN2WwwBkjt8Wg6C37O8XFCWDP_So\/s320\/2DigitUpDownAlarmCct.gif\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003ECircuit diagram\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\nThe project shows what can be done with a micro and you can modify it to set an alarm at any count-value or set a limit such as 'count-to-60'. You can add a buzzer or relay or increase the display to 3 digits. You need to remember that each additional display will reduce the illumination of each digit as they are 'multiplexed (time-sharing)'. Full circuit diagram including programming socket.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe displays do not affect the 'In Circuit Programming' as they are not active when programming and do not load the outputs. Any 7-Segment displays will work in this circuit. You need to identify the pin-out of any display you use. (Common Anode displays can be used providing you invert the values in the display table. A PNP transistor will need to be used.)\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch4\u003E\n\u003Cu\u003E\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"font-size: large;\"\u003ETesting the circuit\n\u003C\/span\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/h4\u003E\nCheck the circuit by removing the chip and taking pins 6 and 18 to the 5v rail ad make sure segment 'A' illuminates. Do the same for all the other segments.The circuit diagram does not have any voltages marked on it as the circuit is DIGITAL.All the 'lines' or 'wires' or pins of a micro-controller will have rail voltage (5v) on them when they are HIGH and when you come to a resistor, the resistor will drop a certain voltage. The voltage it will drop will be the difference between rail voltage and the voltage developed across the component it is driving. If it is driving a LED, the LED will drop a characteristic voltage of between 1.7v and 3.6v, depending on the color. If the component is a transistor, the voltage developed between the base and emitter will be about 0.7v.\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUse \u003Ca href=\"http:\/\/www.mikroe.com\/\" target=\"_blank\"\u003EMicro C\u003C\/a\u003E For Compile.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiclJsq8qgyxPZg4l1xe2D_BehzmfXtHhvmAgiUFyV0M0Jlo47VXRDZV0Ew5wNzjxrQp0v0rQeUAcR50bLijZTukmrBoOSibA1E3YRMyPljRkyjPbb725oPlQED4EciZp-hRbUfPpcEiMY\/s1600\/microC.png\" imageanchor=\"1\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"\u003E\u003Cimg alt=\"MikroC\" border=\"0\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiclJsq8qgyxPZg4l1xe2D_BehzmfXtHhvmAgiUFyV0M0Jlo47VXRDZV0Ew5wNzjxrQp0v0rQeUAcR50bLijZTukmrBoOSibA1E3YRMyPljRkyjPbb725oPlQED4EciZp-hRbUfPpcEiMY\/s1600\/microC.png\" title=\"\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F628A%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F628A\u003C\/a\u003E Datasheet\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\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\/AVvXsEiGwZfLnjaN5wAnQi47XkPj8NMY7En7gLsel_TiEuxm0lL-xYE2T6Sq0c9mhnNTXKhP9MFT_0hgSTb8ooVjySaKwaFX-zLKaIfHS9ZIkejSjZDrZsF2wB_imvgzXRd2orYyWAWa20ZPy_Y\/s1600\/16f628.PNG\" imageanchor=\"1\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F628A Pin\" border=\"0\" height=\"181\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiGwZfLnjaN5wAnQi47XkPj8NMY7En7gLsel_TiEuxm0lL-xYE2T6Sq0c9mhnNTXKhP9MFT_0hgSTb8ooVjySaKwaFX-zLKaIfHS9ZIkejSjZDrZsF2wB_imvgzXRd2orYyWAWa20ZPy_Y\/s320\/16f628.PNG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Epin-out\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.google.com\/search?q=PIC16F84A%2Bdatasheet\u0026amp;as_sitesearch=microchip.com\" target=\"_blank\"\u003EPIC16F84A\u003C\/a\u003E Datasheet\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\/AVvXsEifwrsjvMju4ZUiTXmzmHpCTPEERllGIQidsKy5NwpiaV7oUI9994m-oLAy2CqWH70jMBN30m9rT8WRiLhbBZz5_dqg7UzOPlTZG5O_BSldVPlmMn-GxGiFTZHi029DKCfLmluIYvCgmnw\/s1600\/16f84.PNG\" imageanchor=\"1\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"\u003E\u003Cimg alt=\"PIC16F84A Pin\" border=\"0\" height=\"181\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEifwrsjvMju4ZUiTXmzmHpCTPEERllGIQidsKy5NwpiaV7oUI9994m-oLAy2CqWH70jMBN30m9rT8WRiLhbBZz5_dqg7UzOPlTZG5O_BSldVPlmMn-GxGiFTZHi029DKCfLmluIYvCgmnw\/s320\/16f84.PNG\" title=\"\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/td\u003E\u003C\/tr\u003E\n\u003Ctr\u003E\u003Ctd class=\"tr-caption\" style=\"text-align: center;\"\u003Epin-out\u003C\/td\u003E\u003C\/tr\u003E\n\u003C\/tbody\u003E\u003C\/table\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\n\u003Ca href=\"http:\/\/www.mediafire.com\/?54us3ml70lsmoh6\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ECounter (For 16F628A)\u003C\/span\u003E\n\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/?28f86074dika88s\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003ECounter\/Timer (For 16F84A)\u003C\/span\u003E\n\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.mediafire.com\/?dszhgbzkd42z7oj\" target=\"_blank\"\u003E\u003Cspan style=\"font-size: large;\"\u003EProteus Files\u003C\/span\u003E\n\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\/7767082623309034892\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/ssd-counter-and-timer.html#comment-form","title":"12 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7767082623309034892"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/7767082623309034892"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/2012\/07\/ssd-counter-and-timer.html","title":"Seven Segment Up Counter and Timer Circuit - 16F628"}],"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"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEglkujHr7V1-VuTsmBDP96eFR6DTuy_vjntXKgprjiGHc5HZ8SkXay10mq3a6xJtnQq8sOrhahHRBBfwQJVg6fIw1aflk-ZQTfqkd9tOK5pE1pecL1zN2WwwBkjt8Wg6C37O8XFCWDP_So\/s72-c\/2DigitUpDownAlarmCct.gif","height":"72","width":"72"},"thr$total":{"$t":"12"}}]}});