// API callback
related_results_labels_thumbs({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$blogger":"http://schemas.google.com/blogger/2008","xmlns$georss":"http://www.georss.org/georss","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$thr":"http://purl.org/syndication/thread/1.0","id":{"$t":"tag:blogger.com,1999:blog-6949498717831040472"},"updated":{"$t":"2024-07-04T14:42:20.019+05:30"},"category":[{"term":"PIC"},{"term":"16F"},{"term":"Audio"},{"term":"Basic"},{"term":"SSD"},{"term":"Indicator"},{"term":"Clock"},{"term":"LED"},{"term":"LCD"},{"term":"I2C"},{"term":"18F"},{"term":"Counter"},{"term":"Sensor"},{"term":"USB"},{"term":"12F"},{"term":"Matrix"},{"term":"Tools"},{"term":"Apps"},{"term":"DS1307"},{"term":"Programmer"},{"term":"Timer"},{"term":"Tuner"},{"term":"Uart"},{"term":"LDR"},{"term":"Remote"},{"term":"SPI"},{"term":"Security"},{"term":"DS1302"},{"term":"DS323x"},{"term":"Decoder"},{"term":"Logic"},{"term":"PCF8583"}],"title":{"type":"text","$t":"Scorpionz - Electronic Circuits and Microcontroller Projects"},"subtitle":{"type":"html","$t":""},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https:\/\/scopionz.blogspot.com\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/-\/LCD?alt=json-in-script\u0026max-results=7"},{"rel":"alternate","type":"text/html","href":"https:\/\/scopionz.blogspot.com\/search\/label\/LCD"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"},{"rel":"next","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/6949498717831040472\/posts\/default\/-\/LCD\/-\/LCD?alt=json-in-script\u0026start-index=8\u0026max-results=7"}],"author":[{"name":{"$t":"Scorpionz"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/04276791138418315268"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhOi2xKRvoV6gXKWi71KMKmEIRnpUCIKqooPVvYUWrT3XVz-dq56xLd_XdqhlDm93ymdLdRr_Y1tlZVnEiI63IqdHSIir_OVOWfXUvlAOQYI6s6Q_0RjB2Q1bTb0y2T_g\/s113\/19_scorpionsecondary.jpg"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"9"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"7"},"entry":[{"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-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-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-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-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"}}]}});