Header Ads

Digital Clock On LCD (16x2) PIC16F1937 Used In FlowCode Programming and Simulation

In this sample project we are using FlowCode Simulation Software for Programming and Testing with PIC16F1937.It shows how to use and simulate and program LCD for use in different projects.In this Project we have created digital clock(Using two digit each for seconds minute and hours in 24 Hour format on LCD) on 16x2 Liquid Crystal Display.Varying the delay and write-erase sequence can be manipulated to get desired result.

Here is the Flow code program:

LCD(16x2) Display Related Programs
ADC-Voltage as Float(LCD with PIC16F1937)
ADC-Voltage as String (LCD with PIC16F1937)
ADC Sampling and outputting to a LCD(LCD with PIC16F1937)
Printing Number on 16x2 LCD Display with PIC16F88
Printing and Updating Number on 16x2 LCD Display

Printing a Two line(String) message (LCD 16x2)
Printing a formatted number on ( LCD 16x2 ) Using PIC16F88

LCD (Liquid Crystal Display 16X2):-
Its screen is an electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. These modules are preferred over seven segments and other multi segment LEDs.

LCD Complete Tutorials for beginners

The reasons being: LCDs are economical; easily programmable; have no limitation of displaying special & even custom characters (unlike in seven segments), animations and so on.

A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers, namely, Command and Data.

The command register stores the command instructions given to the LCD. A command is an instruction given to LCD to do a predefined task like initializing it, clearing its screen, setting the cursor position, controlling display etc. The data register stores the data to be displayed on the LCD. The data is the ASCII value of the character to be displayed on the LCD.

Micro-controller used is PIC16F1937 with 16x2 LCD for displaying time in two line display.

In video you will be able to see stepwise execution of program and their effect on LCD in panel which is by default in the software .

Flow code Simulation and how to do Video Tutorial:

You can Download Flowcode Program File :
C Code File
Flow Code Program 
ASM Code File

Here is the complete list of projects:

Tutorials for Flow Code Programming and Simulation


  1. Hello!
    I can't compiler Flowcode V5 for PIC, with TIMER1.
    Do you can help me?

    Thank you.

  2. @DIRETOR PRESIDENTE Will would love to help,We work on PICv5.4.0 of flowcode.I you may feel like you can send us the Flowcode file of your work,with details of the problem you have faced and where you are stuck in the coding right now.
    Gud Luk