Help With My First LM13232AFW GLCD Project

Status
Not open for further replies.
i have looked over the staf you give me this what i got

View attachment GLCD CODE.rar

i will stady the links agien

- - - Updated - - -

yes i buy from ram

i did want this one but the price with batter with main so...

and if i put it on my bread board what othe things can i get
 

You should also be aware the LM13232AFW datasheet states the GLCD is a 3.3V device, not a 5V device.

If you mistakenly power the device with 5V the LM13232AFW would most likely be seriously damaged.

You should also be aware the LM13232AFW may have a different pinout then the ST7565 examples I previously posted, including the assembly code you just posted.

Double check the LM13232AFW datasheet before connecting it to your circuit.

BigDog
 
Reactions: hesho90

    hesho90

    Points: 2
    Helpful Answer Positive Rating
this in till now my LM13232AFW glcd have ST7565 contorller

i have made the glcd on proteus and make a circekt with pic 16f877a

i made a code with mikroc and mikropascal and the mikropascal code wark on with no eror but i didnt make the lcd say any thing the codes in the file with the pdf of the lcd and a code that come with it

- - - Updated - - -

this a code that i made bay what i luern from the st7565

i got this from the code was here https://github.com/edeca/Electronics/blob/master/Include/st7565.h

#ifndef _ST7565_H_
#define _ST7565_H_

#define GLCD_CS1 LATB0 //latb0 as in rb0 i think
#define GLCD_RESET LATB1
#define GLCD_A0 LATB2
#define GLCD_RW LATB3
#define GLCD_EN LATB4

#define SCREEN_WIDTH 132
#define SCREEN_HEIGHT 32
 

Attachments

  • Glcd test project.rar
    291.4 KB · Views: 133

It appears you have corrected the issue with the Proteus simulation file.

I was able to successfully open the Proteus simulation which you just uploaded.

BigDog
 
Reactions: hesho90

    hesho90

    Points: 2
    Helpful Answer Positive Rating
The hex files of mikroC and mikroPascal both are not working. The GLCD displays nothing.
 
Reactions: hesho90

    hesho90

    Points: 2
    Helpful Answer Positive Rating
The hex files of mikroC and mikroPascal both are not working. The GLCD displays nothing.


yes i didnt know how to code in (hello warld)

i try many things you got the mikroPascal c file you cant ajst it
 

Unfortunately or fortunately depending on how you look at it, I do not own the MikroPascal compiler, its also been twenty five years or more since I coded in Pascal and I'm not particularly interested in do so again.

I would like to point out the HDG12864L-4 GLCD used in your Proteus simulation utilizes the SED1565 controller, NOT the ST7565 controller on your LM13232AFW GLCD.

They are not 100% compatible, therefore you may encounter issues in later porting the code to your LM13232AFW.

Reference: , Page: 2


BigDog
 

I think this

1- set en to re0/an5/rd
2- set rw to re1/an6/wr and set rw to H to read control
3- set cs1 to re2/an7/cs and set cs1 to L
4- set res to rb2 and set res to initialized
5- set a0 to rb3 and set a0 H for displat data
6- set d4...d7 to rb4...rb7

and make a code from there
the pic and the glcd can be wierd up just need to know what to what the good way and make a code from there with any thing

is this good
 
Last edited:

how to chang the glcd controller
 

i got this code just help me to know the diffrent that i need to make so it wark with me

also if you here for st7565 ctrl help this will help

**broken link removed**

https://jeelabs.org/tag/displays/



 

Unfortunately you will not be able to use a screen based on the ST7565 in SPI mode with the PIC16F877A. The microcontroller only has 368 bytes of RAM and you need at least 1024 for the screen buffer, before all other variables are taken into account.

Your only option if you wish to use an ST7565 screen with the PIC16F877A is to use parallel mode. As others have already said this is completely different from the HD44780 and code will not be compatible.

The main code (you already linked to the header) is at: https://github.com/edeca/Electronics/blob/master/Include/st7565.c
Documentation for my library is available at: **broken link removed**

I am happy to work on device support for new screens if I am sent one.
 

i did make a code that wark on build in mikroc with no error

it looks just like the one you give post #32 in link 2

and what pic sould i ues i think PIC18F26K20 and do i need to use more then one pics or just in this pic portb street to the glcd


think you
 

i did make a code that wark on build in mikroc with no error

it looks just like the one you give post #32 in link 2

If the only code you compiled is the header file then I am not surprised it was successful. All it contains is a few #defines!

My code is only tested with HiTech (and will therefore work with XC8) but should compile with any sensible compiler.

and what pic sould i ues i think PIC18F26K20 and do i need to use more then one pics or just in this pic portb street to the glcd

I used the 18F26K20 because it has a lot of program space that can be used for font data. You can use any 18F PIC that has >1500 bytes of RAM (1024 for the screen buffer, a few hundred for other variables).
 

so can i go with this code and add staf or its not going to wark at all

- - - Updated - - -

befor i get hte new pic
 

i add some staf to the code if you may

till me what is worng
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…