A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
Hello all. I want to make a serial LCD controller using a pic16F628 Can someone help me with some schematics and code samples ? This is my first PIC projects. Well, second, the first was a magnificent led blinker. Thanks, Shash. PS. You can ignore the YokYokBloomBloomBakaBaka in the subject. Just to grab your attention. :) |
|
|
|
Hi, I did this but with a 16F84A, the link below should help http://home.iae.nl/users/pouweha/lcd/lcd.shtml -----Original Message----- From: holopoint.rm [mailto:] Sent: 12 June 2003 02:39 PM To: Subject: [piclist] Pic Serial LCD - YokYokBloomBloomBakaBaka Hello all. I want to make a serial LCD controller using a pic16F628 Can someone help me with some schematics and code samples ? This is my first PIC projects. Well, second, the first was a magnificent led blinker. Thanks, Shash. PS. You can ignore the YokYokBloomBloomBakaBaka in the subject. Just to grab your attention. :) to unsubscribe, go to http://www.yahoogroups.com and follow the instructions |
|
|
|
> I did this but with a 16F84A, the link below should help > > http://home.iae.nl/users/pouweha/lcd/lcd.shtml Thanks, this is very helpfull. Does the PIC have 2 free lines to accept serial commands from a PC or another PIC ? Does the current code support this ? Thanks, Shash. |
|
Hi, The 16F84A has enough ports for the full 8 bit LCD, one incoming serial, and RA4 is spare although not the 'easiest' port to work with for outputs, I'm also learning !!! I changed this code to use some serial utilities I found to run at 19,200 rather than 2400/9600, the code for this LCD only has 'incoming' serial, I found some excellent macros for both LCD and RS232 on the PICList site, just can't remember exactly where !!. The Cheapic tutorials on http://www.piclist.com/techref/piclist/cheapic/index.htm taught me a great deal about the PIC, RS232 and LCD. -----Original Message----- From: holopoint.rm [mailto:] Sent: 12 June 2003 04:53 PM To: Subject: [piclist] Re: Pic Serial LCD - YokYokBloomBloomBakaBaka > I did this but with a 16F84A, the link below should help > > http://home.iae.nl/users/pouweha/lcd/lcd.shtml Thanks, this is very helpfull. Does the PIC have 2 free lines to accept serial commands from a PC or another PIC ? Does the current code support this ? Thanks, Shash. to unsubscribe, go to http://www.yahoogroups.com and follow the instructions |
|
|
|
>I changed this code to use some serial utilities I found to run at >19,200 rather than 2400/9600, the code for this LCD only >has 'incoming' serial. Is this code available on your site ? if not, could you send it to me ? (Holopoint-AT-rocketmail-DOT-com) Which PIC pin in the serial input ? Thanks, Shash. |
|
Hi, Now I check that was the first one I tried, http://www.mindspring.com/~tcoonan/lcd.html was the one I used and changed to 19,200, a mod was also needed to the VB prog supplied (inc source) on this site to support 19,200. My circuit was the same as here although I omitted the two jumpers as my display was two lines and I fixed the baud rate at 19,200. I will send the asm's but note my circuit included a MAX233 on the serial port so the usual 'reversed bits' of serial doesn't apply, you will see the commented out lines in the code, my circuit also uses a 4Mhz crystal for XT_OSC. I don't want to take any credit for this code as most of it is from the site above with a 'chopped' serial utilities I also got. Cheers -----Original Message----- From: holopoint.rm [mailto:] Sent: 12 June 2003 05:20 PM To: Subject: [piclist] Re: Pic Serial LCD - YokYokBloomBloomBakaBaka >I changed this code to use some serial utilities I found to run at >19,200 rather than 2400/9600, the code for this LCD only >has 'incoming' serial. Is this code available on your site ? if not, could you send it to me ? (Holopoint-AT-rocketmail-DOT-com) Which PIC pin in the serial input ? Thanks, Shash. to unsubscribe, go to http://www.yahoogroups.com and follow the instructions |