Tuesday, December 27, 2011

16x2 Serial LCD (Two Wire) with PIC12F675

           The General purpose 16x2 or 16x1 char LCD are very easy to interface with any microcontroller , and these lcd are really very cheap and thoroughly available in the whole world, but the only problem with these lcd is they require 4 or 8 data lines + 2 or 3 control line to at minimum 6 line and maximum 11 lines are required. that not good because many small package microcontroller like PIC10 ,PIC12,PIC16 from microchip ,MSP430 Texas Instrument and Attiney from Atmel there all microcontroller have either 6 to 15 I/O lines. in this condition this technique will save you many I/O line because in this we use only 2 wires to connect the lcd with any microcontroller.

             Most of these 16x2 ,16x1,8x1,8x2 ,8x4 ,20x4 and so on use stranded 8 line data and three control signal EN :- enable ,,RS- Register Select(data/command) ,, RW - read write

for futher details how these lcd works , pin configuration and command other things please visit my previouse post CLICK HERE :- 16x2 LCD with MCU



Thursday, December 1, 2011

16x2 Char LCD with TI MSP430 Launch Pad


      what we are gonna do is  interfacing MSP430 with an LCD module. In this case a typical 16x2 parallel LCD module with the Texas Instruments' MSP430G2211 on Launchpad development board. i will not cover much on the LCD side because i have already explained the working of HD44780 LCD in my previous post.


if you are new to LCD and have no idea how to make them work. checkout my previous post 

Nokia 1100 LCD Interfacing with Microcontroller

 Displaying content on a normal alphanumeric display is very limited ,we have to be limited with the font size and we can't draw any graphics also. but convention Graphics lcd are really very expensive so here is the solution, you can use Nokia 1100 monochrome  LCD to display your large font text and graphics . the reason behind using this LCD is ,it is really very cheap and can be powered with 3 volts supply. so it is really good for battery powered application.

      Driver IC on this LCD panel is PCF8814 which even though has I2C protocol support - doesn't use it. Instead it uses simple bit-banging mechanism for communication.


Project Description 

       however you can use almost any microcontroller (need a little bit extra circuit to work with mcu who doesn't support 3v) do display content on this LCD, may be that micro controller is PIC , AVR or MSP 430 ,8051 but in this demonstration we will be using Microchip PIC 18F458 Microcontroller.

    The software program for this project will be written in C with MPLAB IDE , This LCD has a resolution of 96 x 65 pixels