Marcas:
























Display Grafico 128x64 Backlight
$AR 566.52
Display De 128x64  (ARD-DIS128x64)

Display De 128x64
Display de 128x64 (ARD-DIS128x64) Cantidad $AR 566.52
Comentario:
 
Detalles del Producto

The module is using a 20-pin standard 2.54mm connector, making it easy for prototype development on a breadboard:
 

According to the datasheet, the following communication modes are supported:

  • 8-bit mode. Data or instruction bytes are transferred via pin DB7-DB0.
  • 4-bit mode. Data or instruction bytes are separated into two parts. Higher 4 bits will be transferred through DB7-DB4, followed by the lower 4 bits. The DB3-DB0 pins will not be used and should be connected to ground. 
  • Serial mode. This is done by pulling down the PSB pin. When enabled, communication will only require 4 pins in total. Only writing data is supported in serial mode

Unfortunately, the board that I purchased has the PSB pin permanently connected to VCC. Hence, only parallel communication is possible. To cut down on the number of output pins required, I have selected 4-bit mode, instead of 8-bit. 

The LCD supports both graphics and text modes:

  • Maximum 16 characters x 4 lines in text mode
  • 128x64 resolution in graphics mode.

 

Ejemplo de Codigo Modo texto:

The following code performs LCD initialization and configures 4-bit communication in text mode:
 

void LCD_Init(void){ LCD_REST=1; LCD_REST=0; delay_ms(5); LCD_REST=1; delay_ms(50); LCD_WriteCommand(0b00100000); delay_ms(5); LCD_WriteCommand(0b00100000); delay_ms(5); LCD_WriteCommand(0b00001100); delay_ms(5); LCD_WriteCommand(0x01); delay_ms(5); LCD_WriteCommand(0x06); delay_ms(5); LCD_WriteCommand(0b00000010); delay_ms(5);}


After the LCD has been initialized, the following function will display a string on the LCD:
 

void LCD_TextDisplayString(unsigned char line, char* string){ unsigned char addr,i; if(line==1) addr=0x80; //The first line address else if(line==2) addr=0x90; //The second line address else if(line==3) addr=0x88; //The third line address else if(line==4) addr=0x98; //The fourth line address  LCD_WriteCommand(addr); for(i=0;i<16;i++) LCD_WriteData(*string++);} 

This is how it will look when displaying 4 lines of text: 

Despite the large screen resolution, the default text mode only allows me to display up to 64 characters on the screen due to the thick font. My next attempt is to use graphics mode, so that I can use my custom font and display more characters. The following code shows how to enable and disable the graphics mode on this LCD: 

void LCD_EnableGraphics(void){ LCD_WriteCommand(0x20); delay_ms(1); LCD_WriteCommand(0x24); delay_ms(1); LCD_WriteCommand(0x26); delay_ms(1);}void LCD_DisableGraphics(void){ LCD_WriteCommand(0x20); delay_ms(1);}

 

Contacto - Consultas

info@e-labshop.com
www.e-labshop.com
Tel.: 11-3024-2446
Whatsapp: 54-9-11-3024-2446

Conductimetro (EC) 0 - 1999ppm / 0.01 - 19.99ms/cm - Balanza Pocket 0.01 ~ 200g - Higrometro Portatil De Punto De Rocio de Alta Presición HT-350 - Termohigrometro mini - Peltier Marlow USA 121.36w - 16.4v - 7.4amp - 40x45x3.5mm - Termometro Infrarrojo Corpotal DT-8806C - Refractometro Miel / Brix / Agua en miel | 58 - 90 Brix - Peltier TES1-4903 - 5.6v - 3amp - 20x20x3.5mm - Termometro Infrarrojo tipo Pistola -50 a 700C | Precisión 0.1C - Sensor de Color TCS3200 - Peltier TEC1-12710 - 15.2v - 10amp - 40x40x3.8mm - Refractometro Alcohol / Bebidas blancas | 0 - 80 Brix - MEGA Sensor Shield V2.0 - Conductimetro (EC) 0 - 1999ppm / 0.01 - 19.99ms/cm - Higrometro TA-138 -

Con CuentaDigital.com cobre con PagoFacil RapiPago y BaproPagos!
Valores expresados en Pesos AR
e-LABShop ® | www.e-labshop.com | info@e-labshop.com
Tel: 11-3024-2446 | Whatsapp +54-9-11-3024-2446