Hi, I'm using LCD http://www.satistronics.com/128x64-1286 ... p2618.html
and lcd don't work. Do I need lcd with KS108 only?
Graphic LCD
Re: Graphic LCD
Hi Mersis
For "Parallel" mode, connect Pin 15 link to VCC supply.
(I normally use say a 1K for protection instead a direct link)
Ken
Have you taken care of Pin 15 on your LCD?pin15/High=parallel and pin15/Low=serial mode
For "Parallel" mode, connect Pin 15 link to VCC supply.
(I normally use say a 1K for protection instead a direct link)
Ken
Last edited by pykedgew on 24 Aug 2010 08:56, edited 2 times in total.
Re: Graphic LCD
Ok, but where is CS1 and CS2 pins in this LCD?pykedgew wrote:Hi Mersis
Have you taken care of Pin 15 on your LCD?pin15/High=parallel and pin15/Low=serial mode
For "Parallel" mode, connect Pin 15 link to VCC supply.
(I normally use say a 1K for protection instead a direct link)
Ken
Re: Graphic LCD
Hi Mersis
CS1, CS2 are not available ST7920 only CS
You do realise there are many different modes using the parallel(8 bits or 4bits) or serial(SPI).
Look up the datasheet for ST7920 for the details.
Just having a quick look at the web page you pointed at the start of this thread.
Basically, this display probably will not work with the KS108 lib.
Better of to try using the T9663 library & see how you go from there.
Ken
CS1, CS2 are not available ST7920 only CS
You do realise there are many different modes using the parallel(8 bits or 4bits) or serial(SPI).
Look up the datasheet for ST7920 for the details.
Just having a quick look at the web page you pointed at the start of this thread.
Basically, this display probably will not work with the KS108 lib.
Better of to try using the T9663 library & see how you go from there.
Ken
Re: Graphic LCD
this lcd will be ok?
http://cgi.ebay.co.uk/128x64-graphic-Bl ... upplies_ET
http://cgi.ebay.co.uk/128x64-graphic-Bl ... upplies_ET
Re: Graphic LCD
For what & purpose?this lcd will be ok?
To be use with KS108 library, it could be.(it looks OK)
You need to check it out the datasheet.
I have not use any of these graphical displays.
Someone else might know.
Ken
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: Graphic LCD
Hello,mersis wrote:Do I need lcd with KS108 only?
The mikroC PRO for AVR provides a library for operating Graphic Lcd 128x64 (with commonly used Samsung KS108/KS107 controller).
Best regards,
Losic Tihomir
mikroElektronika [Support team]
Re: Graphic LCD
How is that going to help mersis?Hello,
The mikroC PRO for AVR provides a library for operating Graphic Lcd 128x64 (with commonly used Samsung KS108/KS107 controller).
Best regards,
Losic TihomirHello,mersis wrote:Do I need lcd with KS108 only?
The mikroC PRO for AVR provides a library for operating Graphic Lcd 128x64 (with commonly used Samsung KS108/KS107 controller).
Best regards,
Losic Tihomir
This was at the start of the thread & the course has be change down to here on deciding which LCD to purchase.
Also why are you referring to "mikroC PRO for PIC" which is not AVR related for this thread?
Maybe nice you refer that other PIC chips do have it & we don't, then why is it.
So for our main mikroPascal PRO for AVR , is there is a library available? (yes) (no then goto next line)
Or can one be written & then please uploaded for us.
Ahem, looking in the HELP section of the mikroPascal PRO for AVR IDE there is 2 type of graphic library which are KS108 & T9663.
Ken
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: Graphic LCD
Hello,pykedgew wrote:So for our main mikroPascal PRO for AVR , is there is a library available? (yes) (no then goto next line)
Or can one be written & then please uploaded for us.
- The mikroPascal PRO for AVR provides a library for communication with Lcds (with HD44780 compliant controllers)
through the 4-bit interface. An example of Lcd connections is given on the schematic at the bottom of this page.
- The mikroPascal PRO for AVR provides a library for operating Graphic Lcd 128x64 (with commonly used Samsung KS108/KS107 controller).
Also, you can create library for your GLCD display.
Making new library:
- follow the steps explained in the Help file, and read in detail the explanation provided there. I have also very clearly described what you should do with the library:
1. Copy the original __Lib_Example.mcl in your Uses folder (P18 for PIC18F4550)
2. Open P18F4550.mlk file and add the following code in the appropriate section:
Code: Select all
<LIB>
<ALIAS>Example_Library</ALIAS>
<FILE>__Lib_Example</FILE>
<TYPE>REGULAR</TYPE>
</LIB>
Rebuild libraries and your Example_Library will appear, with it's three functions
4. Click on this library to include it in the project.
5. Remove __Lib_Example.c from Project settings window, because it is not needed anymore (it is loaded via it's .MCL file)
6. You can also remove the following section in the code:
Code: Select all
//************************************
extern void BlinkLED_1(int Delay); //These lines won't be necessary when
extern void BlinkLED_2(int Delay); //you create library entry in .MLK file
extern void Example_Init(); //as described in Help file
//************************************
Best regards,
Losic Tihomir
mikroElektronika [Support team]