Skip to main content

Posts

Showing posts from March, 2014

Featured post

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…

Reading A Switch and outputting to a LED with PIC16F88 - FlowCode - LED & Switch Simulation

Here we are using FlowCode Simulation Software for Programming and Testing  with PIC16F88 for switching LED ON or OFF Using Switches.It is the basic program for starters.


Here is the Flow code program:
Here Switches are used for respective LEDs,taking output through LED array.You will see corresponding LED blinking.

Suggested Reading:
LED & Switch-Masked inputs with PIC16F88
Lighting an LED with PIC16F88
LED & Switch-Outputting an 8-bit value with PIC16F88
Reading a switch and outputting to a LED with PIC16F88

In video you will be able to see step-wise execution of program and their effect on LED array as they blink.

Outputting an 8-bit value with PIC16F88 - FlowCode - LED & Switch Simulation

Here we are using Flow Code Simulation Software for Programming and Testing  with PIC16F88 for switching LED ON or OFF .
Here is the basic program for starters.


Here is the Flow code program:

Here values are being Set at PORTB and taking output through LED array.You will see corresponding LED blinking after interval of one second.

Values used in this program are: 5 100 255

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

Learn More About LED

Masked inputs with PIC16F88 - FlowCode - LED & Switch Simulation

Here we are using Flow Code Simulation Software for Programming and Testing  with PIC16F88 for switching LED ON or OFF .Here is the basic program for starters.In this masking of Inputs is used.

Flow code program:

In video you will be able to see stepwise execution of program and their effect on LED array as they blink.You will notice only alternate LEDs are blinking and rest are not even if switching on the Toggles s/w.

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

Basic Theory Of Input Pins:- Most of a microcontroller’s I/O pins can be configured as an output or an input. Part 2 described the basics when a pin is configured as an output. This section describes it when it is configured as an input. A special register will control if a pin is an input or output. You need your program to set up the port direction registers as an early step when power is applied to the chip or it comes out of reset

I/O pins are usually configured in groups of 8 bit I…

Lighting an LED with PIC16F88 - FlowCode - LED & Switch Simulation

Here we are using Flow Code Simulation Software for Programming and Testing  with PIC16F88 for switching LED ON or OFF .
Here is the basic program for starters.In this a LED is made to blink (ON/OFF) after 1 second.

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

Although you can easily test an LED by connecting it to a circuit and seeing if it will light up, you can also use a multi-meter with a diode test function to test an LED and discover a few more things about it too. Steps: Connect the black lead to the COM terminal on the multimeter. Connect the red lead to the Ω terminal, unless your particular model differs. Turn the dial to the diode symbol on the multimeter. This allows for electric current to travel in one direction (the arrow) and not the other.Turn the multimeter on. The display window should indicate either 0L or OPEN. Choose a regular red LED.
Learn More About LED

Controlling a single output pin Using PIC16F88 - FlowCode - LED & Switch Simulation

Here we are using Flow Code Simulation Software for Programming and testing the Graphical LCD with PIC16F88 for switching LED ON or OFF on sequence.
In video you will be able to see step-wise execution of program and their effect on LED array as they blink.
Here is the Flow code program:

Two Channel Scope Example Using PIC16F88 - FlowCode - Graphical LCD Simulation

Here we are using Flow Code Simulation Software for Programming and testing the Graphical LCD with PIC16F88 for displaying sampling being done by two ADC Channels represented by Green and Red POT drivers.You will see in video variation in values of ADC channels is getting reflected on Graphical LCD

Here is the Flow code program:
You may like:
Graphical LCD-3D Text Example
Graphical LCD-Pong game Example

Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation
Macros used are 1.Graphical LCD-2 Channel Scope Example Macro - Plot_ADC

Pong game Example Using PIC16F877 - FlowCode - Graphical LCD Simulation

Here example of PONG game is used for demonstration on Graphical LCD in Flow Code Simulation Software.You will be able to play the game while simulating the program.

In this program Red and blue colors are use for two different sides on the LCD.Here micro-controller used is PIC16F877.

Here is the Flow code program:
You may like:
Graphical LCD-3D Text Example
Graphical LCD-2 Channel Scope Example

Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation
Macro Used in Programming are

Three-D Text Example Using PIC16F88 - FlowCode - Graphical LCD Simulation

Graphical LCD-3D Text Example-Flow Code with PIC16F88
Here we are using Flow Code Simulation Software for Programming and testing the Graphical LCD with PIC16F88 by printing text for display.You will see in video Ingenuity Dias being displayed on LCD.

Flow code program:

You may like:
Graphical LCD-2 Channel Scope Example
Graphical LCD-Pong game Example

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

NAND Logic Gate - Boolean Algebra in Digital Electronics - Proteus Simulation

Logic Gates- NAND Gate

This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate. The outputs of all NAND gates are high if any of the inputs are low. The symbol is an AND gate with a small circle on the output. The small circle represents inversion.

Logic Table

Related Links:

Logic Gates- AND Gate
Logic Gates- OR Gate
Logic Gates- NOT Gate
Logic Gates- NOR Gate
Proteus Tutorials with Examples - Home Page - Index 

ADC Sampling and Outputting to a LCD with PIC16F1937 - Flow Code Simulation

Flow Code-ADC Sampling and outputting to a LCD(LCD with PIC16F1937)
Here is the example of using ADC and manipulating the variables for desired results.In this example we are using LCD to display the results as seen in the examples code and videos.

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)Printing Number on 16x2 LCD Display with PIC16F88Printing and Updating Number on 16x2 LCD DisplayPrinting a Two line(String) message (LCD 16x2) PIC16F88Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation

Counting switch presses(Seven Segment Display with PIC16F88) - Flow Code Simulation

Flow Code-Counting switch presses(Seven Segment with PIC16F88)
Here is the example of counting using switch presses.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 Flow code MAIN program:
Suggested Reading:
Counting using loops Using Seven Segment with PIC16F88 Microcontroller
Seven Segment with PIC16F88 Microcontroller And Displaying Numbers

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

Counting switch presses Macro - CHECK_BOUNDS:

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

ADC-Voltage as String Displaying Value On LCD with PIC16F1937 Microcontroller - Flow Code Simulation

Flow Code-ADC-Voltage as String (LCD with PIC16F1937)
Here is the example of using ADC and manipulating the variables for desired results.
In this example we are using LCD to display the results of ADC calculation as float values on the LCD as seen in the examples code and videos.

Here is the Flow code program:

LCD(16x2) Display Related Programs
ADC-Voltage as Float(LCD with PIC16F1937)ADC Sampling and outputting to a LCD(LCD with PIC16F1937)Printing Number on 16x2 LCD Display with PIC16F88Printing and Updating Number on 16x2 LCD DisplayPrinting a Two line(String) message (LCD 16x2) PIC16F88Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation

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 .

ADC-Voltage as Float Value Displaying On LCD with PIC16F1937 Microcontroller - Flow Code Simulation

Here is the example of using ADC and manipulating the variables for desired results.In this example we are using LCD to display the results of ADC calculation as float values on the LCD as seen in the examples code and videos.

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 PIC16F88Printing and Updating Number on 16x2 LCD DisplayPrinting a Two line(String) message (LCD 16x2) PIC16F88ADC SimulationServo with ADC control inputMotor TypesDC MotorHere is the complete list of projects:
Tutorials for Flow Code Programming and Simulation

Micro-controller used is PIC16F88 with 16x2 LCD for printing numbers and then updating them.

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

Here is the Flow code Simulation and how to do Video Tutorial:

You can Download Flow Code Pr…

Counting using loops Using Seven Segment with PIC16F88 Microcontroller - Flow Code Simulation

Here loops are used for displaying numbers on seven segments display.Here micro-controller used is PIC16F88.

Flow code program:

Suggested Reading
Counting switch presses(Seven Segment Display with PIC16F88)
Seven Segment with PIC16F88 Microcontroller And Displaying Numbers
Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation

NOR Logic Gate - Boolean Algebra in Digital Electronics - Proteus Simulation

NOR Logic Table
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all NOR gates are low if any of the inputs are high.The symbol is an OR gate with a small circle on the output. The small circle represents inversion.
Related Links:

Logic Gates- AND Gate
Logic Gates- OR Gate
Logic Gates- NOT Gate
Logic Gates- NAND Gate

Proteus Tutorials with Examples - Home Page - Index 

Using Seven Segment with PIC16F88 Microcontroller And Displaying Numbers - Flow Code Simulation

Here a Sample Program and simulation in Flow Code.We have used PIC16F88 micro controller (From Microchip Technology 8-bit Micro-controllers).Seven Segment is used for Displaying numbers.At first single number is being displayed afterwards combination of numbers are used.

Flow code program:
Suggested Reading
Counting switch presses(Seven Segment Display with PIC16F88)
Counting using loops Using Seven Segment with PIC16F88 Microcontroller

Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation
Micro-controller used is PIC16F88 with 7 segment Display for printing numbers and then updating them.










KeyWords

Show more