Pages

Showing posts with label lcd. Show all posts
Showing posts with label lcd. Show all posts

Sunday, July 16, 2017

DIFFERENCE B W LED LCD

DIFFERENCE B W LED LCD


Accuracy of the color patterns: Due to the better techniques used in the LED TVs, these TVs are very accurate in their color display and that is why these are capable of presenting natural color pattern to the viewers. In this LED technology, a series of diodes is connected with each other at the edges of the LED screen and that series works more effectively to filter the natural colors of the displaying objects. When power makes these series illuminated, the effect is simply outstanding. The technological excellence of the LCD TVs is not at par with that of the LED TVs.

Levels of Contrast and black areas of the picture: Contrast between is very important difference between LCD and LED TVs. The contrast ratio of LED TVs is much better than that of the LCD TVs. The LED technology can create better dark areas on the screen due to which it can produce better images on the screen. On the other hand, the LCD screen cannot produce these black areas and that is why LCD TVs are not capable of producing very high quality contrast.

Viewing angles is a major difference between LCD and LED: The houses of the common people are becoming smaller and smaller in size these days and that is why people seldom get huge areas in their drawing rooms and living rooms. Due to this, the viewing angle becomes a major issue. It is seen that the viewing angle of LCD TVs is not flexible and the viewers are required to see the LCD TVs from an angle of 30 degrees. Any change in this viewing angle can diminish the quality of the picture to a greater extent. However, the situation is totally different with the LED TVs. The viewers are free to view their favorite programs on LED TVs as there is no such angular limitation with these high quality TVs.

Power consumption also makes a big difference between LCD and LED TVs: Because of the fact that the LED TVs are made with better technical specifications, these TVs consume lesser power while switched on. This attractive feature can help people in a great way to put the electric bill lower quite considerably. It is a big advantage that is provided by the LED TVs over the LCD TVs.

Size also matters as a difference between LCD and LED TVs: People everywhere also consider the size of the TVs greatly. The LED TVs are available with more options as far as the sizes are concerned. These high quality TVs are available from screen size from 17 inches to 70 inches whereas the LCD TVs range between 15 inches and 65 inches. The bigger size of the screen can certainly make a difference for the best entertainment for the viewers. These differences between the LCD and LED TVs certainly make a deeper impact upon the mind of the people who are fascinated by these technical specifications of the top class TVs
Read more »

Monday, July 10, 2017

Displaying a Word or String in an 16x2 LCD with PIC16F877A and MPLAB X

Displaying a Word or String in an 16x2 LCD with PIC16F877A and MPLAB X


We have seen how to interface an LCD with PIC16F877A  . In this we are printing only a letter in the  LCD , now we are going to Display a string on the LCD  for this following steps are followed


First Create a MPLAB X project as in the steps for  Blinking a LED using MPLAB X , PIC16F877A

And check the  Interfacing LCD with PIC16F877A in MPLAB X  to know how to interface a LCD

Components
1.PIC16F877A micro controller
2. 2x16 LCD Display



we are using the following functions 



  • void delay(unsigned int msec) // Time delay function

  • void lcd_cmd(unsigned char item) // Function to send command to LCD

  • void lcd_data(unsigned char item) // Function to send data to LCD

  • void lcd_data_string(unsigned char *str) // Function to send data to string

  • void lcd(unsigned char str[10])




To display the string in  LCD , just call the below lines in main function


 lcd_cmd(0x01);
  lcd_cmd(0x86);
  lcd("STRING TO DISPLAY");


The functions are defined below 




void delay(unsigned int msec) // Time delay function
{
int i,j ;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++);
}
void lcd_cmd(unsigned char item) // Function to send command to LCD
{
dataport = item;
rs= 0;
rw=0;
en=1;
delay(1);
en=0;
return;
}
void lcd_data(unsigned char item) // Function to send data to LCD
{
dataport = item;
rs= 1;
rw=0;
en=1;
delay(1);
en=0;
return;
}
void lcd_data_string(unsigned char *str) // Function to send data to string
{
int i=0;
while(str[i]!=)
{
lcd_data(str[i]);
i++;
//delay(10);
}
return;
}
void lcd(unsigned char str[10])
{
lcd_cmd(0x38);
lcd_cmd(0x0e);
lcd_data_string(str);
}
Read more »