Original text


Technical University of Iasi - Fac. Automation and Computers
Design with microprocessors
Thursday, 31 Jan, 119
Time 14:41

 LCD
Experiment No. 5

  • L5.1 Name:

  • FRDM KL25 - LCD Interface


  • L5.2 Overview, purpose.


  • The experiment aims to offer a FRDM KL25 platform interconnection of a Liquid Crystal Display System with HD 44780 compatible controller. Examining the experiment offers the opportunity to acquire the basic techniques necessary for interfacing and programming the LCD modules using the libraries available in C ++ / mbed.


  • L5.3 Resources:


  • FRDM KL25 Platform, LCD Extension, Interconnect Cable, Internet Connection at www.mbed.org;


  • L5.4 Program example:


  • Prototype program


    Connection diagram FRDM KL25 - LCD

  • L5.5 Experiment Run / Tracking Mode:


    • Connect the FRDM platform at www.mbed.org
    • The source of the prototype program is compiled;
    • It is intended to get the executable file and
    • its transfer to the FRDM system;
    • The program is running.

    1. - Analyze FRDM - LCD Interface Mode;
    2. - Analyze the signals from LCD pins of model DEM16216 ;
    3. - Identify the interconnection mode for 4-bit data transfer;
    4. - Review the TxtLCD class detail and identify the initialization sequence of the LCD;
    5. - Transfer the associated binary file to FRDM
    6. - Observe how the program was executed;
    7. - Solve the proposed problems.


  • L5.6 Proposed Issues:


  • 1. Make a program sequence that allows you to display 2 floating-point numbers;
    2. Modify the prototype program for binary display of a byte;
    3. Make a program sequence that will display on lcd "Hello World from Iasi";
    4. Make a program sequence that will display on the LCD the number of presses of the K1 switch connected to the PTC7 input;
    5. Make a program sequence that will display the current time on the LCD.

  • L5.7 The experiment may be extended to:


  • - ASCII terminal design with LCD
    - Automobile on-board systems
    - Portable tools
    - Software development platform for graphic systems (portable FFT analyzer);


  • L5.8 Collateral information:





  • © 2019 Technical University of Iasi - Fac. Automation and Computers