arduino with t6963c 240x128 graphic lcd tutorial: 4 steps
The LCD display of the Toshiba T6963C controller is one of the most popular LCD displays.
The graphic LCD is mainly used where custom designs must be created, such as a bitmap or a different type of font.
These are all in different sizes and resolutions such as 12x64px.
What we will use for this specification is a 240x128 pixel LCD.
Interface with Arduino board and choose the right library to use with it can be a bit tricky.
That\'s why I posted this Instructure because I couldn\'t find any other help in Instructure when I started using lcd it, so to get rid of any difficulties we started. . .
You should have the Arduino IDE for the lowest version 1. 0. x.
The old version is OK as well, but you have to make some changes in order for it to run.
So I prefer the latest version, but if there is an old one and don\'t want to upgrade, ask me in the comments if they have any problems.
Download the Arduino IDE for Mac or PC here.
The library we will use is the u8glib library, please download it here. .
This library supports a variety of other boards where you can view the interface of the LCD, which has always been tricky for many people, so be careful and follow these instructions when interfaces.
In the LCD pin output image, you can view the pin output of the LCD as this is the most appropriate and correct pin output I can find on the Internet.
________________________________________________________________ T6963c liquid crystal needle | LCD pin name | Arduino plate | ________________________________________________________________ |----------1 --------| --------FG --------| ----GND ------| ----------2 ---------| --------GND ------| -----GND ------|----------3 ---------| --------VDD ------| -----+5V --------| ----------4 --------| ----------VO -------| 10K POT (WIPER)– LEG 2 ---------| ----------5 --------| ---------WR -------| ------17 ---------| ----------6 --------|----------RD -------| ------18 ---------| ----------7 --------|-------CE/CS -----| ------14 ---------| ----------8 --------| --------C/D --------| ------15 ---------| ----------9 --------| --------RST --------| ------16 --------| ---------10 --------| --------DB0 --------| -------8 ---------| ---------11 --------| --------DB1 --------| --------9 ----------| ---------12 -------| --------DB2 --------| -------10 --------| ---------13 -------| --------DB3 --------| -------11 ---------| ---------14 -------| --------DB4 --------| --------4 --------| ---------15 -------| --------DB5 --------| --------5 --------| ---------16 -------| lcd --------DB6 ---------| --------6 --------| ---------17 -------| --------DB7 --------| --------7 ---------| ---------18 -------| ---------FS ---------| -------GND -----| ---------19 -------| -------VEE ---------| ---------10K POT–LEG1 ---------| ---------20--------| ------LED A --------| --+3. 3V – 5V --
| _ This interface will work for most Arduino boards because if you want to change pin allocation you can change them as you wish, but after that, you have to make changes to the code and we will discuss this in the next step.
The library we will use is the u8glib Library, which you can download from either Bintray here or GitHub.
It is recommended to use this library only because it is the only one that is continuously updated by developers, which developers can take advantage.
I have also attached a demo code that works according to the interface explained in step 2 and you can also use other examples provided in the library, almost every motherboard and almost every code can use the same interface, I have checked these interfaces graphic with Arduino Uno and ios2560.
You can also look at step 4, which will provide you with some very useful links.
Please note if you have any problems :-
Remember, you can always change the interface pin, but if you change, then you also have to
The graphic LCD is mainly used where custom designs must be created, such as a bitmap or a different type of font.
These are all in different sizes and resolutions such as 12x64px.
What we will use for this specification is a 240x128 pixel LCD.
Interface with Arduino board and choose the right library to use with it can be a bit tricky.
That\'s why I posted this Instructure because I couldn\'t find any other help in Instructure when I started using lcd it, so to get rid of any difficulties we started. . .
You should have the Arduino IDE for the lowest version 1. 0. x.
The old version is OK as well, but you have to make some changes in order for it to run.
So I prefer the latest version, but if there is an old one and don\'t want to upgrade, ask me in the comments if they have any problems.
Download the Arduino IDE for Mac or PC here.
The library we will use is the u8glib library, please download it here. .
This library supports a variety of other boards where you can view the interface of the LCD, which has always been tricky for many people, so be careful and follow these instructions when interfaces.
In the LCD pin output image, you can view the pin output of the LCD as this is the most appropriate and correct pin output I can find on the Internet.
________________________________________________________________ T6963c liquid crystal needle | LCD pin name | Arduino plate | ________________________________________________________________ |----------1 --------| --------FG --------| ----GND ------| ----------2 ---------| --------GND ------| -----GND ------|----------3 ---------| --------VDD ------| -----+5V --------| ----------4 --------| ----------VO -------| 10K POT (WIPER)– LEG 2 ---------| ----------5 --------| ---------WR -------| ------17 ---------| ----------6 --------|----------RD -------| ------18 ---------| ----------7 --------|-------CE/CS -----| ------14 ---------| ----------8 --------| --------C/D --------| ------15 ---------| ----------9 --------| --------RST --------| ------16 --------| ---------10 --------| --------DB0 --------| -------8 ---------| ---------11 --------| --------DB1 --------| --------9 ----------| ---------12 -------| --------DB2 --------| -------10 --------| ---------13 -------| --------DB3 --------| -------11 ---------| ---------14 -------| --------DB4 --------| --------4 --------| ---------15 -------| --------DB5 --------| --------5 --------| ---------16 -------| lcd --------DB6 ---------| --------6 --------| ---------17 -------| --------DB7 --------| --------7 ---------| ---------18 -------| ---------FS ---------| -------GND -----| ---------19 -------| -------VEE ---------| ---------10K POT–LEG1 ---------| ---------20--------| ------LED A --------| --+3. 3V – 5V --
| _ This interface will work for most Arduino boards because if you want to change pin allocation you can change them as you wish, but after that, you have to make changes to the code and we will discuss this in the next step.
The library we will use is the u8glib Library, which you can download from either Bintray here or GitHub.
It is recommended to use this library only because it is the only one that is continuously updated by developers, which developers can take advantage.
I have also attached a demo code that works according to the interface explained in step 2 and you can also use other examples provided in the library, almost every motherboard and almost every code can use the same interface, I have checked these interfaces graphic with Arduino Uno and ios2560.
You can also look at step 4, which will provide you with some very useful links.
Please note if you have any problems :-
Remember, you can always change the interface pin, but if you change, then you also have to
Comments
Post a Comment