Free Shipping LCD1602 LCD 1602 yellow screen with backlight LCD display 1602A-5v

Free Shipping LCD1602 LCD 1602 yellow screen with backlight LCD display 1602A-5v
Free shipping
Product Name

Free Shipping LCD1602 LCD 1602 yellow screen with backlight LCD display 1602A-5v

Free Shipping

This product qualifies for free air shipping.
  • Model: IC025
  • Shipping Weight: 0.1kg
  • Units in Stock: 500

Price:   $2.50

-+Min:  5
0 Reviews            
  • Details
  • Order History
  • Reviews
  • Shipping&payment
  • Tags
  • FAQ

Free Shipping LCD1602 LCD 1602 yellow screen with backlight LCD display 1602A-5v

---------------------------------------------------
       |LCM-----51   | LCM-----51   | LCM------51      |
       ------------------------------------------------|
       |DB0-----P1.0 | DB4-----P1.4 | RW-------P2.0    |
       |DB1-----P1.1 | DB5-----P1.5 | RS-------P2.1    |
       |DB2-----P1.2 | DB6-----P1.6 | E--------P2.2    |
       |DB3-----P1.3 | DB7-----P1.7 | VLCD 1KR TO GND|
       ---------------------------------------------------

=============================================================*/

#define LCM_RW  P2_0 //
#define LCM_RS  P2_1
#define LCM_E   P2_2
#define LCM_Data  P1
#define Busy    0x80 //

#i nclude

void WriteDataLCM(unsigned char WDLCM);
void WriteCommandLCM(unsigned char WCLCM,BuysC);
unsigned char ReadDataLCM(void);
unsigned char ReadStatusLCM(void);
void LCMInit(void);
void DisplayOneChar(unsigned char X, unsigned char Y, unsigned char DData);
void DisplayListChar(unsigned char X, unsigned char Y, unsigned char code *DData);
void Delay5Ms(void);
void Delay400Ms(void);

unsigned char code uctech[] = {"uctech"};
unsigned char code net[] = {"uctech.icpcn.com"};

void main(void)
{
 Delay400Ms(); //
 LCMInit(); //
 Delay5Ms(); //

 DisplayListChar(0, 5, uctech);
 DisplayListChar(0, 0, net);
 ReadDataLCM();//
 while(1);
}

//
void WriteDataLCM(unsigned char WDLCM)
{
 ReadStatusLCM(); //
 LCM_Data = WDLCM;
 LCM_RS = 1;
 LCM_RW = 0;
 LCM_E = 0; //
 LCM_E = 0; //
 LCM_E = 1;
}

//
void WriteCommandLCM(unsigned char WCLCM,BuysC) //
{
 if (BuysC) ReadStatusLCM(); //
 LCM_Data = WCLCM;
 LCM_RS = 0;
 LCM_RW = 0;
 LCM_E = 0;
 LCM_E = 0;
 LCM_E = 1;
}

//
unsigned char ReadDataLCM(void)
{
 LCM_RS = 1;
 LCM_RW = 1;
 LCM_E = 0;
 LCM_E = 0;
 LCM_E = 1;
 return(LCM_Data);
}

//
unsigned char ReadStatusLCM(void)
{
 LCM_Data = 0xFF;
 LCM_RS = 0;
 LCM_RW = 1;
 LCM_E = 0;
 LCM_E = 0;
 LCM_E = 1;
 while (LCM_Data & Busy); //
 return(LCM_Data);
}

void LCMInit(void) //LCM
{
 LCM_Data = 0;
 WriteCommandLCM(0x38,0); //
 Delay5Ms();
 WriteCommandLCM(0x38,0);
 Delay5Ms();
 WriteCommandLCM(0x38,0);
 Delay5Ms();

 WriteCommandLCM(0x38,1); //
 WriteCommandLCM(0x08,1); //
 WriteCommandLCM(0x01,1); //
 WriteCommandLCM(0x06,1); //
 WriteCommandLCM(0x0C,1); //
}

//
void DisplayOneChar(unsigned char X, unsigned char Y, unsigned char DData)
{
 Y &= 0x1;
 X &= 0xF; //X<15,Y<1
 if (Y) X |= 0x40; //+0x40;
 X |= 0x80; //
 WriteCommandLCM(X, 0); //
 WriteDataLCM(DData);
}

//
void DisplayListChar(unsigned char X, unsigned char Y, unsigned char code *DData)
{
 unsigned char ListLength;

  ListLength = 0;
 Y &= 0x1;
 X &= 0xF; //X<15,Y<1
 while (DData[ListLength]>0x20) //
  {
   if (X <= 0xF) //X<0xF
    {
     DisplayOneChar(X, Y, DData[ListLength]); //
     ListLength++;
     X++;
    }
  }
}

//5ms late
void Delay5Ms(void)
{
 unsigned int TempCyc = 5552;
 while(TempCyc--);
}

//400mslate
void Delay400Ms(void)
{
 unsigned char TempCycA = 5;
 unsigned int TempCycB;
 while(TempCycA--)
 {
  TempCycB=7269;
  while(TempCycB--);
 };

Notice:

1 the company pictures taken it, part usually buy 5-10 units, wholesale will much cheaper.
 
2 The company is a new original spot, because the pictures do not upload pictures, one need please contact!
 
3 electronic components is a high technology content of products, when your electrical malfunction, please carefully check your line and component failure, we sold products, if quality problems that have the unconditional return, freight each half pay.
 
4 before buying please confirm partnumber! Because of Product model has a variety of suffix! The company will provide you with quality services.

5 If the item is defective upon receipt, it should be within 7days from the date of receipt for exchange a new one (Buyer should return all original and undamaged items under re-saleable condition)

6  We supply free repairing service within one year of purchase. For the first 1 month, we will pay one way shipping cost( from us to your location); After 1 month of purchase, the buyer need to pay two ways of shipping cost.

7 One we get the returned items, we will send the replaced ones back as soon as possible.

8 Our warranty does not extend to any products that are physically damaged or under un-normal operating conditions as a result of misuse or improper installation on the parts

Important Links
  • Online Tracking Packages

    All packages have online tracking number
  • Customer Protection

    100% Full Refund if you don't receive your parcel
  • Available Payment Term

    PayPal, Visa/MasterCard, Western Union, Bank Transfer...
  • Service Guarantee

    Free Technical support, One year warranty