tag:blogger.com,1999:blog-7665562587101241008.post1864189295880776938..comments2023-10-05T09:48:11.500-04:00Comments on Make Your Own PIC12F683 Development Board: Serial LCD for Low Pin-Count PIC Microcontrollers using 74HC595 Shift RegisterUnknownnoreply@blogger.comBlogger31125tag:blogger.com,1999:blog-7665562587101241008.post-81808513017101179622022-06-03T05:16:08.154-04:002022-06-03T05:16:08.154-04:00pendik samsung klima servisi
pendik mitsubishi kli...<a href="https://www.beyazesyateknikservisi.com.tr/servis/pendik-samsung-klima-servisi" title="pendik samsung klima servisi" rel="nofollow">pendik samsung klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/pendik-mitsubishi-klima-servisi" title="pendik mitsubishi klima servisi" rel="nofollow">pendik mitsubishi klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/tuzla-vestel-klima-servisi" title="tuzla vestel klima servisi" rel="nofollow">tuzla vestel klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/maltepe-vestel-klima-servisi" title="maltepe vestel klima servisi" rel="nofollow">maltepe vestel klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/kadikoy-vestel-klima-servisi" title="kadıköy vestel klima servisi" rel="nofollow">kadıköy vestel klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/maltepe-bosch-klima-servisi" title="maltepe bosch klima servisi" rel="nofollow">maltepe bosch klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/beykoz-bosch-klima-servisi" title="beykoz bosch klima servisi" rel="nofollow">beykoz bosch klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/uskudar-bosch-klima-servisi" title="üsküdar bosch klima servisi" rel="nofollow">üsküdar bosch klima servisi</a><br /><a href="https://www.beyazesyateknikservisi.com.tr/servis/beykoz-arcelik-klima-servisi" title="beykoz arçelik klima servisi" rel="nofollow">beykoz arçelik klima servisi</a><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-73876144180683975302013-10-30T05:44:42.540-04:002013-10-30T05:44:42.540-04:00Very informative post. Keep up the good work. I wo...Very informative post. Keep up the good work. I would really look forward to your other posts<br /><br /><a href="http://www.onlinemarket360.com/products/Lenovo-%252d-ThinkPad-343522U-Tablet-PC-%252d-Black.html/" title="Lenovo - ThinkPad 343522U Tablet PC - Black" rel="nofollow">Lenovo - ThinkPad 343522U Tablet PC - Black</a><br><br /><a href="http://www.onlinemarket360.com/products/Lenovo-%252d-14%22-ThinkPad-Notebook-%252d-4-GB-Memory-%252d-320-GB-Hard-Drive-%252d-Black.html/" title="Lenovo - 14" rel="nofollow">Lenovo - 14" ThinkPad Notebook - 4 GB Memory - 320 GB Hard Drive - Black</a><br />Anonymoushttps://www.blogger.com/profile/03544003491166166039noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-15561712886352326412011-09-20T23:35:00.229-04:002011-09-20T23:35:00.229-04:00i convert source to htpic, but it's not displa...i convert source to htpic, but it's not display anything..someone help me...thanks!<br />#include "pic.h"<br />#include "string.h"<br />__CONFIG(INTIO & MCLRDIS & WDTDIS);<br />#define Data_Pin GPIO5<br />#define Clk_Pin GPIO1<br />#define Enable_Pin GPIO3<br />#define _XTAL_FREQ 4000000<br />// Always mention this definition statement<br />unsigned short Low_Nibble, High_Nibble, p, q, Mask, N,t, RS, Flag, temp;<br /><br />void Delay_50ms(){<br />__delay_ms(50);<br />}<br /><br />void Write_LCD_Nibble(unsigned short N){<br />Enable_Pin = 0;<br />// ****** Write RS *********<br />Clk_Pin = 0;<br />Data_Pin = RS;<br />Clk_Pin = 1;<br />Clk_Pin = 0;<br />// ****** End RS Write<br /><br />// Shift in 4 bits<br />Mask = 8;<br />for (t=0; t<4; t++){<br />Flag = N & Mask;<br />if(Flag==0) Data_Pin = 0;<br />else Data_Pin = 1;<br />Clk_Pin = 1;<br />Clk_Pin = 0;<br />Mask = Mask >> 1;<br />}<br />// One more clock because SC and ST clks are tied<br />Clk_Pin = 1;<br />Clk_Pin = 0;<br />Data_Pin = 0;<br />Enable_Pin = 1;<br />Enable_Pin = 0;<br />}<br />// ******* Write Nibble Ends<br /><br />void Write_LCD_Data(unsigned short D){<br />RS = 1; // It is Data, not command<br />Low_Nibble = D & 15;<br />High_Nibble = D/16;<br />Write_LCD_Nibble(High_Nibble);<br />Write_LCD_Nibble(Low_Nibble);<br />}<br /><br />void Write_LCD_Cmd(unsigned short C){<br />RS = 0; // It is command, not data<br />Low_Nibble = C & 15;<br />High_Nibble = C/16;<br />Write_LCD_Nibble(High_Nibble);<br />Write_LCD_Nibble(Low_Nibble);<br />}<br /><br />void Initialize_LCD(){<br />Delay_50ms();<br />Write_LCD_Cmd(0x20); // Wake-Up Sequence<br />Delay_50ms();<br />Write_LCD_Cmd(0x20);<br />Delay_50ms();<br />Write_LCD_Cmd(0x20);<br />Delay_50ms();<br />Write_LCD_Cmd(0x28); // 4-bits, 2 lines, 5x7 font<br />Delay_50ms();<br />Write_LCD_Cmd(0x0C); // Display ON, No cursors<br />Delay_50ms();<br />Write_LCD_Cmd(0x06); // Entry mode- Auto-increment, No Display shifting<br />Delay_50ms();<br />Write_LCD_Cmd(0x01);<br />Delay_50ms();<br />}<br /><br />void Position_LCD(unsigned short x, unsigned short y){<br />temp = 127 + y;<br />if (x == 2) temp = temp + 64;<br />Write_LCD_Cmd(temp);<br />}<br /><br />void Write_LCD_Text(char *StrData){<br />q = strlen(StrData);<br />//q=so;<br />for (p = 0; p<q; p++){<br />temp = StrData[p];<br />Write_LCD_Data(temp);<br />}<br /><br />}<br /><br />char Message1[] = "3-Wire LCD";<br />char Message2[] = "using 74HC595";<br /><br />void main() {<br />CMCON0 = 7; // Disable Comparators<br />TRISIO = 0b00001000; // All Outputs except GP3<br />ANSEL = 0x00; // No analog i/p<br /><br />Initialize_LCD();<br /><br />do {<br />Position_LCD(1,4);<br />Write_LCD_Text(Message1);<br />Position_LCD(2,2);<br />Write_LCD_Text(Message2);<br />__delay_ms(1500);<br />Write_LCD_Cmd(0x01); // Clear LCD<br />__delay_ms(1000);<br /><br /><br />} while(1);<br /><br />}huanlengochttps://www.blogger.com/profile/08785383241138227744noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-12521064785345794772011-09-20T23:32:54.048-04:002011-09-20T23:32:54.048-04:00This comment has been removed by the author.huanlengochttps://www.blogger.com/profile/08785383241138227744noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-61061368347567748622011-09-15T09:50:47.067-04:002011-09-15T09:50:47.067-04:00Recently, my Lcd tv made me mad. The picture turne...Recently, my Lcd tv made me mad. The picture turned white after 10 mins of power on. Could there be circuit board defect? Any ideas.Ayah Kaya Keluarga Bahagiahttps://www.blogger.com/profile/04150081855359886400noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-80582893225104205842011-04-12T10:40:51.546-04:002011-04-12T10:40:51.546-04:00This comment has been removed by a blog administrator.Unknownhttps://www.blogger.com/profile/02413118829110589594noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-8681549689935332872011-04-12T10:39:18.633-04:002011-04-12T10:39:18.633-04:00A good selection of PIC circuit ideas on
www.artic...A good selection of PIC circuit ideas on<br />www.artic-instruments.webs.comUnknownhttps://www.blogger.com/profile/02413118829110589594noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-16115071148538224232011-02-03T07:44:37.268-05:002011-02-03T07:44:37.268-05:00strlen() is the built-in routine in MikroC to find...strlen() is the built-in routine in MikroC to find the length of a string. You should check for the equivalent function in Hi-Tech compiler. I am sorry I have not used Hi-Tech.Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-80844294517067039272011-02-02T05:09:39.205-05:002011-02-02T05:09:39.205-05:00Hi! Nice work!
I was trying to convert your code...Hi! Nice work! <br /><br />I was trying to convert your code into Hi-Tech compiler because I am used to it but I'm getting an error in this line:<br /><br />q = strlen(StrData);<br /><br />The compiler returns an error saying that "srtlen" variable has a problem in the declaration.<br /><br />I included the string.h and while compiling the MPLAB gets a critical error and ends the compilation without creating the HEX ^^!<br /><br />I had a similar critical error while using the delay function because the compiler had a bug.<br /><br />Can you help out?khttps://www.blogger.com/profile/09992275104792664941noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-86795004481386843742011-02-02T05:08:28.918-05:002011-02-02T05:08:28.918-05:00This comment has been removed by the author.khttps://www.blogger.com/profile/09992275104792664941noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-84047826447528959712011-01-10T08:52:48.100-05:002011-01-10T08:52:48.100-05:00Can you send me your code and circuit at rajbex at...Can you send me your code and circuit at rajbex at gmail.com? I will look at it.Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-50833953884322962242011-01-09T17:22:08.315-05:002011-01-09T17:22:08.315-05:00Hmm. Can't make it work. Trying with a 16F627 ...Hmm. Can't make it work. Trying with a 16F627 and 628. Tried to rewrite the code in Hi-Tech C at first and also tried to compile in MicroC. Odd. Might be a hardware problem.Benglanhttps://www.blogger.com/profile/15626992063351540225noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-62378178310037121012011-01-05T09:41:10.829-05:002011-01-05T09:41:10.829-05:00Hi
I Replaced the 12F629 with 12F675 and all works...Hi<br />I Replaced the 12F629 with 12F675 and all works fine now Thanks JimmyAnonymoushttps://www.blogger.com/profile/10662268382084832560noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-19574858127007130702011-01-05T08:53:26.533-05:002011-01-05T08:53:26.533-05:00Hi,
Using 16x2 LCD 411 Tech.. Model 2F16DLNW-SHi,<br />Using 16x2 LCD 411 Tech.. Model 2F16DLNW-SAnonymoushttps://www.blogger.com/profile/10662268382084832560noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-13106934981841078532011-01-05T08:23:48.928-05:002011-01-05T08:23:48.928-05:00Jimmy,
How many columns you have in your LCD? Are ...Jimmy,<br />How many columns you have in your LCD? Are you using 16x2 or 20x2 LCD?Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-72314760040035476152011-01-04T20:06:49.053-05:002011-01-04T20:06:49.053-05:00Hi,
The problem is the second line will not displa...Hi,<br />The problem is the second line will not display the characters "using 74HC595"?Anonymoushttps://www.blogger.com/profile/10662268382084832560noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-57896040828666331572011-01-04T16:01:14.376-05:002011-01-04T16:01:14.376-05:00Jimmy,
Would you give more details about your prob...Jimmy,<br />Would you give more details about your problem?Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-90742425766136982872011-01-04T14:30:29.764-05:002011-01-04T14:30:29.764-05:00Hi,
I am using the PIC 12F629. I am getting part o...Hi,<br />I am using the PIC 12F629. I am getting part of the string on line 2 if it is 6 char or less in message2. Line 1 is O.K. ?Anonymoushttps://www.blogger.com/profile/10662268382084832560noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-28677443081262503342010-12-14T18:04:28.813-05:002010-12-14T18:04:28.813-05:00Mark,
It was a typo, thank you for pointing that.Mark,<br />It was a typo, thank you for pointing that.Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-44324472958026095642010-12-14T13:02:49.096-05:002010-12-14T13:02:49.096-05:00Hi,
Like the code, youve really helped me on usin...Hi, <br />Like the code, youve really helped me on using the shift register (74HC595) question:<br />in the code, under void Write_LCD_Text(char *StrData) WHY IS THE " in there? just a mistake?<br /><br /> temp="StrData[p]; <br /> THanks, MarkUnknownhttps://www.blogger.com/profile/15958755423330719916noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-42247714168188261212010-12-02T10:55:47.397-05:002010-12-02T10:55:47.397-05:00Suppose, you have a number 49h (hexadecimal), and ...Suppose, you have a number 49h (hexadecimal), and you want to separate the two nibbles as 4 and 9. If you AND 49h with 0fh (15), you will get 9, the lower nibble. 49h is 73 in decimal. If you divide 73 by 16, you will get 4 as an integer quotient. So, you have now the higher nibble. You can think this way too. Divide by two is shifting the number right by 1. If you right shift the number by 4, it is equivalent to divide by 16. So, right shifting an 8-bit number by 4 brings the higher nibble to the lower nibble place.Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-52504179035191127992010-12-01T04:47:31.711-05:002010-12-01T04:47:31.711-05:00I am trying to figure out what you are doing with:...I am trying to figure out what you are doing with:<br />0x20 & 15<br />0x20/16<br /><br />I know you need to separate the first 4 bits of binary from the later 4 bits, but how do these two lines grab the first and last 4 bits respectively?Unknownhttps://www.blogger.com/profile/01086671896939607496noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-5556014848664167802010-11-17T03:11:48.789-05:002010-11-17T03:11:48.789-05:00I was able to modify my code for hi-tech C. You ha...I was able to modify my code for hi-tech C. You had used functions only available in MikroC. Thank you for the tutorials and the quick responses, they are greatly appreciate. <br /><br />:]Unknownhttps://www.blogger.com/profile/01086671896939607496noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-11248446940121253672010-11-15T08:43:02.786-05:002010-11-15T08:43:02.786-05:00Please compile with MikroC Pro for PIC from Mikroe...Please compile with MikroC Pro for PIC from Mikroelektronica. Download the free version from their website.Rajhttps://www.blogger.com/profile/13770493917472161077noreply@blogger.comtag:blogger.com,1999:blog-7665562587101241008.post-18381745532569589382010-11-15T00:56:22.485-05:002010-11-15T00:56:22.485-05:00I am getting a compiler error with these lines:
sb...I am getting a compiler error with these lines:<br />sbit Data_Pin at GP5_bit;<br /><br />I am using Hi-Tech C Compiler. If I comment those out, I can compile...Unknownhttps://www.blogger.com/profile/01086671896939607496noreply@blogger.com