Skip to main content

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…

Float to String PIC16F88 FlowCode Microcontroller Programming And Simulation

In this sample project we are using Programming Software FlowCode for writing a program to convert Float Data to String Array using micro-controller of PIC16 Family PIC16F88 for testing and Simulation.Project shows how we are outputting results 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
String To Float Data Type Conversion
LCD Interfacing With Keypad PIC16F877A
Keypad and LED Interfacing With PIC16F88


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


Flow code Simulation and how to do Video Tutorial:

A brief introduction to the concept of Data types and String Array:-

Data types in c refer to an extensive system used for declaring variables or functions of different types. The type of a variable determines how much space it occupies in storage and how the bit pattern stored is interpreted.Data Types in C can be classified as follows −(a) integer types and (b) floating-point types.

A. Integer Types: The following table provides the details of standard integer types with their storage sizes and value ranges(See Image above).

B. Floating-Point Types: The following table provide the details of standard floating-point types with storage sizes and value ranges and their precision(See Image above).


An example of how to declare a float variable in the C language.

#include <stdio.h>
int main()
{
float age;
age = 2.4;
printf("Ingenuity Dias is over %f years old.\n", age);
return 0;
}

This C program would print "Ingenuity Dias is over 2.400000 years old."

Strings are actually one-dimensional array of characters terminated by a null character '\0'. Thus a null-terminated string contains the characters that comprise the string followed by a null.

The following declaration and initialization create a string consisting of the word "Hello". To hold the null character at the end of the array, the size of the character array containing the string is one more than the number of characters in the word "Hello."

char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'}; OR
char greeting[] = "Hello";

Following is the memory presentation of the above defined string in C


Example Programming Codes:
#include <stdio.h>
int main () 
{
   char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
   printf("Greeting message: %s\n", greeting );
   return 0;
}

When the above code is compiled and executed, it produces the following result −
Greeting message: Hello

Micro-controller used is PIC16F88 with LCD Panel for displaying values on display.We have use different values for proper understanding.

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 .

You can Download Flowcode Program File :

C Code File
Flow Code Program File
ASM Code File

Comments

KeyWords

Show more

Popular posts from this blog

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…

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.

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 Programming
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".

We have chosen to start with Arithmetic Series and in this post you will find some basic idea and some useful concepts about Fibonacci Numbers .You can download C Codes below.Please let us know your feedback.

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…

PIC18F4455 ADC Sampling and Writing to SDCard FlowCode Simulation

In this project "ADC Sampling and Writing to SDCard" PIC series micro controller - PIC18F4455 has been used with Liquid Crystal Display (16X2) in Flowcode Simulation Software.As Source of ADC Metal POT (PotentioMeter ) has been used as the variables for desired results and final results are being written to SD Card FAT16 Type.

In this example we are using LCD to display the results of ADC calculation as seen in the examples code and videos.You can manipulate the POT while sampling is going on.As per concept of sampling POT should be kept at desired position to emulate it as sensor and then sampling needs to be done.

Here is the Flow code program:

ADC Related Sample Projects and Programming Codes
ADC-Voltage as Float(LCD with PIC16F1937)ADC Sampling and outputting to a LCD(LCD with PIC16F1937)Voltage as String Displaying Value On LCD with PIC16F1937ADC Simulation In Flow CodeHere is the complete list of projects:

Tutorials for Flow Code Programming and Simulation

We are doing 10 S…

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

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

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

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".
We have chosen to start with Arithmetic Series and in this post you will find some basic idea and some useful concepts about Fibonacci Numbers .You can download C Codes below.Please let us know your feedback.

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!

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
Keypad LED …