![]() |
|
|||||||
| Proton Plus Compiler v3 Coding problems and general discussion related to the Development Suite |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Forum User
Join Date: Jun 2009
Location: Spain
Posts: 16
![]() |
Hello,
I think buying the display GLD12864 me confused, I thought that would pins more or less the same but no! up that I had in my hand in the testing Protoboard and did research for the pins. This screen is JHD529M1 GLD ST7920 and its driver, thought it was 128x64 with GLCD driver KS108. These two screens have different pins (see picture). ![]() The differences are in the pin 15 of JHD529M1 of KS108 and 15.16, PSB = 15 (Serial or Parallel) / 15 = 16 = CSI and CS2 (Chip Select) for less than ido can also go in series, as I do not know ....!! I have been trying to pin 15 to VCC to use the parallel bus or using the 8 data bits, nothing at all but nothing comes out of the screen (doesn´t work), as if the little PBP supports this type of display. The program code that I use is: __________________________________________________ _________ Device 16F877A Declare XTAL 4 'Declare GLCD_CS_INVERT 1 LCD_DTPORT = PORTD LCD_RSPIN = PORTA.5 LCD_RWPIN = PORTA.4 LCD_ENPIN = PORTA.3 'LCD_CS1PIN = PORTB.0 'LCD_CS2PIN = PORTB.1 LCD_TYPE = GRAPHIC INTERNAL_FONT = On CMCON=7 TRISA =0 GLCD_EXTERNAL_PRINT = PPRINT ' Point to PPRINT.INC file Cls Print Font Algerian8 Print At 10,20, "Hello" Print At 35,20, "Forum, THX" Stop Include "Algerian8.fnt" ' Include the font __________________________________________________ ________ Here some pages that I've been visiting: http://hi.baidu.com/txz01/blog/item/...9cc1166c4.html http://www.jiangx.net/post/253.html http://www.goodmcu.cn/study/J0015.html http://blog.csdn.net/axx1611/archive...0/2597969.aspx Thank you. Greetings. Last edited by kontermas; 29th June 2009 at 16:05. |
|
|
|
|
|
#2 |
|
Forum User
Join Date: Feb 2010
Posts: 2
![]() |
hola amigo, veo que eres de españa, queria preguntarte si ya podiste solucionar el problemna con tu glcd ya que yo me encuentro en la misma situacion, no se como conectarlo al pic los pines 15 y 16, y tambien como programarlo, si tienes algun codigo te lo agradeciria, yo tengo la misma glcd con el controlador st7920.
saludos desde mexico |
|
|
|
|
|
#3 |
|
Forum User
Join Date: Jun 2009
Location: Spain
Posts: 16
![]() |
Hola, me gustaría saber a cual de los dos esquema de pines te refieres el controlador KS108 o el otro ST7920.
Saludos. |
|
|
|
|
|
#4 |
|
Licensed User
![]() Join Date: Jul 2006
Location: Michigan, USA
Posts: 107
![]() |
To save others the need to use Google Translate to satisfy their curiosity:
HTML Code:
hello friend, I see you're from Spain, I wanted to ask you if you solve the problem podiste? your GLCD since I'm in the same situation, not as the pic plug pins 15 and 16, and also as a developer, if you have any code agradeciria? you, I have the same GLCD with st7920 driver. HTML Code:
Hi, I wonder which of the two map pin KS108 you mean the driver or other ST7920. - Greetings. )Carl |
|
|
|
|
|
#5 |
|
Forum User
Join Date: Feb 2010
Posts: 2
![]() |
el del ST7920, necesito conectarlo a un pic 16f877A, lo que pasa es que yo tengo un circuito trabajando a la perfeccion con un glcd pero con el controlador KS108 y el pic 16f877A todo compilado en proton IDE, entonces decidi comprar mas glcd pero yo pense que los glcd eran estadar en los pines, pero me di una gran sorpresa cuando vi que no funcionaban mi circuito, ya que no tienen los pine C1 y C2 (pines 15 y 16 respectivamente) y ahora tienen el pin PSB y NC, te agradeciria si me pudieras ayudar ya que compre 5 glcd en ebay con controlador ST7920 y pues no puedo hacerlos trabajar
traducion on the ST7920, I need to connect it to a pic 16F877A, what happens is that I have a circuit working perfectly but with a GLCD controller 16F877A pic KS108 and proton IDE everything compiled in, then decided to buy more but I thought GLCD GLCD that were states in the pins, but I found a big surprise when I saw my circuit did not work as they do not have the pine C1 and C2 (pins 15 and 16 respectively) and now have the PSB and NC pin, you'd grateful if you could help me buy it on ebay with 5 GLCD driver ST7920 and therefore can not make them work: ( |
|
|
|
|
|
#6 |
|
Licensed User
![]() Join Date: Jul 2006
Location: Michigan, USA
Posts: 107
![]() |
link_music -
Le sugiero que pruebe un chipset más comunes, como este: "interfaz KS0108B paralelo" - fácil de conectar y mucho apoyo. Yours 'es probable convertibles, pero probablemente tendrá algún trabajo. No he podido encontrar una ficha de datos que se puede leer. Yo encontré una hoja de especificaciones para el controlador http://www.willar.com/upload/shop/JHD529M1.pdf, pero ya era demasiado genérico. Una posible fuente para la GLCDs es Sparkfun (el precio suele ser muy razonable): http://www.sparkfun.com/commerce/pro...roducts_id=710 Con esa pantalla, usted tendría mucho apoyo y las muestras desde el PDS manual. de ... (uno de los mejores aspectos de este producto )Buena suerte ... ![]() Carl For us English speakers... ![]() I suggest you try a more common chipset like this: "KS0108B parallel interface" - easy to connect and lots of support. Yours' is likely convertible, but will likely take some work. I could not find a data sheet that was readable. I did find a spec sheet http://www.willar.com/upload/shop/JHD529M1.pdf, but it was too generic. A possible source fo the GLCDs is SparkFun (usually very reasonable price): http://www.sparkfun.com/commerce/pro...roducts_id=710 With that LCD, you would have lots of support and samples right from the PDS manual....and of course from the forum members...(one of the best aspects of this product )Good Luck... Carl |
|
|
|
|
|
#7 |
|
Forum User
Join Date: Jun 2009
Location: Spain
Posts: 16
![]() |
Lamentablemente al no tener referencias y ayuda, opte por comprar las pantallas gráficas con el controlador KS108 y me van perfectamente programando en Proton ya que proton tienes solo dos compatibles Samsung y Toshiba.
El resto de los controladores que hay en el mercado te las tienes que ingeniar para hacerte las librerias. Si miras el libro de referencia o de ayuda de Proton solo te mencionan dos clases de controladores nada más. El otro tipo de controlador que tienes se programa de forma serial y es un poco más complicado y no hay mucha ayuda. De todas maneras te dejo esta dirección: http://www.pic16.com/soft/12864_g_lcd1.asm Saludos... |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Serial 4 digit 7 segment LED Display - Interrupt driven - Source and Schematic | Jeffrey | Proton Plus Compiler v3 | 1 | 28th July 2007 19:25 |
| Calendar Clock and Temperature Display | dr.raghu | Proton Plus Compiler v3 | 31 | 22nd June 2007 17:28 |
| Program agorithm | aehandasa | Proton Plus v2.1.5.3 General Discussion | 6 | 26th June 2006 19:00 |
| BUSIN problem | Roshan | Proton Plus v2.1.5.3 General Discussion | 5 | 29th February 2004 09:00 |
| Pic basic plus commands | Mikey | Proton Plus v2.1.5.3 General Discussion | 22 | 23rd November 2003 11:00 |