### 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 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…

### Voltage Divider in Electronic Circuit

Circuits-Voltage Divider
A Voltage Divider is a circuit or device that divides the total supplied voltage into fractions or parts among the various components or points in the device.

Voltage dividers are normally used to obtain various voltage output from a voltage source , For example in Transistor Biasing , Audio Circuits , Providing power to devices draining small currents etc.

Related Topics:
Circuits-Current Divider
Voltage Divider Circuit:

A voltage divider circuit is a circuit which divides the supplied voltage into fractions. Voltage Divider circuit consists of two or more resistor in series as shown in the figure below:

The figure above is a simple voltage divider which consists of a Voltage Source Supply of “V” and two resistors “R1″ and “R2″ , this circuit provides two output voltage “V1″ and “V2″ whose total sum is “V”.

Voltage Divider Rule:

The voltage divider rule is a simple rule which helps to determine the voltage drop or the voltage provided by a branch in a voltage divider circuit.

The rule simply stated that the voltage divided in each branch of a Voltage Divider circuit is in proportion to their resistance or impedance.

Or Mathematically:

Which is also called the voltage divider formula

Where ,

= Voltage along a branch (Let it be named X).

= Resistance of the branch X.

= Total Resistance of the branches in the Voltage Divider.

and , = Total Voltage supplied to the voltage divider.

Example 1:

In the following circuit:

The Voltage V1 divided in the upper branch =

and the voltage V2 divided in the lower branch =

Example 2:

In the Voltage Divider Below:

Resistance in Upper Branch = Equivalent resistance of 4 kilo ohms and Load resistance Rl = kilo ohms

Resistance in Lower Branch = 1 kilo ohms

So ,

and ,

Practicality of a Voltage Divider:

Voltage dividers are used in many types of electronics and electrical devices , Like Audio Circuits , Power Supply etc.

One of the major factor to be considered while designing a voltage divider is the value of the resistors to be used.

We can use any value of resistors in ratio to get the proportional output voltage. But it is good to use high valued resistors in a voltage divider because using low valued resistors dissipate more power from the main voltage source on heating resistors which cause fire or explosion and excessive use of power.

Because of the use of high valued resistors in voltage dividers which resists high amount of flow of current, Voltage Dividers are mostly used in electronics circuits that requires less than 10 mili amps of current.

Also as we can see in the example 1 and 2 above ; changing the load resistor value in a voltage divider might change the output voltage of a branch change massively , so voltage dividers should be designed specifically for a purpose or a load and cannot be used as a regulated power supply. One way to overcome this problem is to design the voltage divider such that the current flowing through the voltage divider circuit is about 10 times that of the current flowing through the load; using this approach helps to minimize the massive output voltage drop when connecting the load.

Thus care should be taken to balance the value of the resistors used in a voltage divider for the required purpose so that it is not too much to allow very less current though it which results in massive drop of output voltage with load; Nor it is too less to dissipate massive power through it which results in overheating and power loss.

1. A brief post on circuit dividers. I love to read about Basics of Electrical Engineering. Thanks for fabulous knowledge. I also though to share the automatic solution for solving voltage divider circuits. Hope you'll enjoy it: www.voltagedividercalculator.com

### 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 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…

### INDEX-Tutorials for Flow Code Programming and Simulation

Categorized Topics
We are using Flow Code Simulation Software from MATRIX for Programming and Testing,You will find topics from Flow Code Programming and Simulation.You can request a topic here.If some links are not working please let me know.
Flowcode is one of the world's most advanced graphical programming languages for micro-controllers. The great advantage of Flowcode is that it allows those with little to no programming experience to create complex electronic systems in minutes. Flowcode is available in multiple languages and currently supports the PICmicro, dsPIC, PIC24, AVR/Arduino and ARM series of micro controllers.You can Download the Demo Software HERE.

INDEX
Seven Segment LED Display
Using Seven Segment with PIC16F88Counting using loops(Seven Segment with PIC16F88)Counting switch presses(Seven Segment with PIC16F88)
Timers and Counters
Timed Counter And Use of Timer Interrupt(PIC16F88)
ADC Simulation In Flow CodeServo with ADC control input ,Flow Code Simulati…

### Fibonacci Series Using Array And For Loop - C Programming Examples

As we have started C Programming coding with Example Series, We have published last posts
"Write A Program For SUM of Infinite HP"

"Write A Program To Find SUM of AP" and

"Write A Program To Find SUM of GP Sequence".

In this post we are doing again Fibonacci Series but with different approach.In last post "Fibonacci Progression Using While Loop" you will see how to generate Fibonacci Numbers by using concepts of  Do-While Loop.In this post we will talk about another loop i.e. For Loop and side by side Concept of Arrays will be discussed and demonstrated.
Fibonacci Series - Sequence ( Using Array And For Loop ) Video Tutorial(See C- Codes Below ):

For Loop Concept: FOR Loops are the most useful type. The syntax for a for loop is  for ( variable init…

### Stepper motor Control using switches(Flow Code Simulation)

Stepper motor Control using switches(Flow Code Simulation)
Controlling Stepper motor using switches is shown here.This simulation is good technique which can be used to detect performance of your stepper beforehand.I have used unipolar configuration for motor which is versatile mode of operation.

You may also like :
Stepper motor Control using switches
Pulse Widht Modulation Simulation with Microcontrollers (PIC16F877)

Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation

### Fibonacci Numbers Series Progression Using While Loop - C Programming Examples

As we have started C Programming coding with Example Series, We have published last posts
"Write A Program For SUM of Infinite HP"
"Write A Program To Find SUM of AP" and
"Write A Program To Find SUM of GP Sequence".

Fibonacci Numbers Progression - Series - Sequence to Nth Term Step-wise Video Tutorial(See C- Codes Below ):

Fibonacci Sequence:-The Fibonacci Sequence is the series of numbers:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...The next number is found by adding up the two numbers before it.

The 2 is found by adding the two numbers before it (1+1).Similarly, the 3 is found by adding the two numbers before it (1+2),And the 5 is (2+3),and so on!

### Motor Types- Special Types of Motor

Motor Types- Special Types of Motor
1. Iron less or core-less rotor motorNothing in the principle of any of the motors described above requires that the iron (steel) portions of the rotor actually rotate. If the soft magnetic material of the rotor is made in the form of a cylinder, then (except for the effect of hysteresis) torque is exerted only on the windings of the electromagnets. Taking advantage of this fact is the core less or iron less DC motor, a specialized form of a PM DC motor. Optimized for rapid acceleration, these motors have a rotor that is constructed without any iron core. The rotor can take the form of a winding-filled cylinder, or a self-supporting structure comprising only the magnet wire and the bonding material. The rotor can fit inside the stator magnets; a magnetically soft stationary cylinder inside the rotor provides a return path for the stator magnetic flux.

### Timed Counter And Use of Timer Interrupt Using PIC16F88 Microcontroller - Flow Code Simulation

Flow Code-Timed Counter And Use of Timer Interrupt(PIC16F88)

In this example of counting seconds using Timed Counter and Timer Interrupt.In this example we are using 7 Segment Display to display the results of calculation as seen in the examples code and videos.

Here is the MACRO for Interrupt Program Code:

Here is the Flow code MAIN program:
Complete list of projects:
Tutorials for Flow Code Programming and Simulation

### LCD Interfacing With Keypad PIC16F877A FlowCode Microcontroller Programming And Simulation

In this sample project we are using Programming Software FlowCode for Programming LCD ( Liquid Crystal Display ) With Keypad and Testing And Interfacing with PIC16F877A.It shows how to use and simulate and program Keypad with LCD for use in different projects.In this Project we are testing Keypad and outputting binary values to LCD ( Liquid Crystal Display ).Varying the delay and write-erase sequence can be manipulated to get desired result.

Above is the Flow code program Snapshot:

Recent Related Programs
Keypad and LED Interfacing With PIC16F88

LCD(16x2) Display Related Programs

Voltage as Float(LCD with PIC16F1937)
Voltage as String (LCD with PIC16F1937)
ADC Sampling and outputting to a LCD
Number on 16x2 LCD Display with PIC16F88
Printing and Updating Number on 16x2 LCD Display
Two line(String) message (LCD 16x2)
Printing a formatted number on ( LCD 16x2 )

OutPut On LCD Dispaly And LED Strip is as Given.This data is Further Used for Interfacing in other big and complicated Projects

### Printing and Updating Number on 16x2 LCD Display with PIC16F88 -Flowcode Simulation Tutorials

Using FlowCode Simulation Software for Programming and Testing with PIC16F88.It shows how to use and simulate and program LCD for use in different projects.In this Project we are trying to print number on 16x2 LCD Display,and then we will try to overwrite the numbers.

Flow code program:
LCD(16x2) Display

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 PIC16F88Printing a Two line(String) message (LCD 16x2) PIC16F88

### Stepper Motors Examples with PIC16F88 -Flowcode Simulation

We are using FlowCode Simulation Software for Programming and Testing with PIC16F88 for Simulation of this project .It shows how to use and simulate and program Stepper Motors for use in different projects.

For concept of Different types of Motors and their properties please see:
Motor Types-Introduction
Motor Types- DC Motor
Motor Types- AC Motor
Motor Types- Special Types of Motor
Servo Motors
Here is the Flow code program:
Three Stepper are used to depict different configurations in which they can be used .Here functionality of auto off capability is used.It can be programmed to moved back to its original position if required.

More related Post :
Stepper motor Control using switches(Flow Code Simulation)
Stepper with switch control- Auto Off with PIC16F88

Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation