LCD 4002 Blue (ERM4002SBS-1) [D051]



https://www.youtube.com/watch?v=kB6cak9ngwI


*GitHubhttps://github.com/rdiot/rdiot-d051.git


* Specs

Gross Weight (kg) 0.12

Manufacturer EastRising

Continuity Supply We promise the long term continuity supply for this product no less than 10 years since 2015.

Part Number ERM4002SBS-1

Display Format 40x2 Character

Interface 6800 4-bit Parallel , 6800 8-bit Parallel

IC or Equivalent AIP31066 , HD44780, KS0066 , SPLC780 , ST7066

Appearance White on Blue

Diagonal Size No

Connection Pin Header

Outline Dimension 182.00(W)x33.5(H)x13.6(T)mm

Visual Area 152.30x16.70mm

Active Area 147.50(W)x11.50(H)mm

Character Size 3.20x5.55mm

Dot (Pixel) Size 0.60x0.65mm

Dot (Pixel) Pitch 0.65x0.70mm

IC Package COB

Display Type STN-LCD Blue

Touch Panel Optional No

Sunlight Readable No

Response Time(Typ) No

Contrast Ratio(Typ) No

Colors No

Viewing Direction 0.25

Viewing Angle Range No

Brightness(Typ) No

Backlight Color White Color

Backlight Current (Typ) 30mA

Power Supply(Typ) 5V

Supply Current for LCM(Max) 2200uA

Operating Temperature -20C~70C

Storage Temperature -30C~80C

Series Number ERM4002-1 


* Contents

- Controller DataSheet : http://www.buydisplay.com/download/ic/SPLC780.pdf


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,40,2);  // LCD4002


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD4002");

  

  delay(1000);


  lcd.clear();

}


void loop()

{

 

  lcd.setCursor(0,0);

  lcd.print("D051:LCD4002");


  String str="";

  for(char i='A'; i<='Z'; i++)

  {

    str += (String)i;

    lcd.setCursor(0,1);  

    lcd.print(str);


    delay(50);

  }

  

  str +=" ";


  for(int i=1; i<=10; i++)

  {

    str += (String)i;

    lcd.setCursor(0,1);  

    lcd.print(str);


    delay(300);

  }

}

Posted by RDIoT
|