Skip to main content

Posts

Showing posts from 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…

Printing a Two line(String) message (LCD 16x2) PIC16F88 FlowCode Programming and Simulation

We have been 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 printing two line message on 16x2 LCD Display.In First line "Ingenuity Dias" is continuously displayed and in second line "tech-inventory" is displayed.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 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

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

We have been using FlowCode Simulation (for PIC Micro-controllers) Software from Matrix Multimedia 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.

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 and Updating Number on 16x2 LCD DisplayPrinting a Two line(String) message (LCD 16x2) PIC16F88Micro-controller used is PIC16F88 with 16x2 LCD for printing numbers in two line display.

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

Stepper Motors with switch control- Auto Off with PIC16F88 -Flowcode Simulation

We are using Flow-code 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.

Here is the Flow code program:
More related Post :
Stepper motor Control using switches
Stepper Motors-Examples with PIC16F88

Two switches are used for forward and backward movement of stepper.You will notice motor moves till switch is pressed.After switch is released motor remains in that position.It can be programmed to moved back to its original position if required.

Multi Servo Motor Control with PIC16F88 -Flowcode Simulation

Here 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 multiple Servo Motors simultaneously for use in different projects.


Here is the Flow code program:
Setting used can be seen in the video.We are using ADC ( Analog to Digital Converter) which you can see as switch.Since we are using 8 Bit range of ADC is zero to 255 i.e. Range-256.LCD display is used for displaying ADC values.

More related Post :
Single servo motor control with PIC16F88
Servo with ADC control input ,Flow Code Simulation

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

Single Servo Motors control with PIC16F88 -Flowcode Simulation

Here 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 Servo Motors for use in different projects.


Here is the Flow code program:
More related Post :
Multi servo motor control with PIC16F88
Servo with ADC control input ,Flow Code Simulation
Setting used can be seen in the video.We are using ADC ( Analog to Digital Converter) which you can see as switch.Since we are using 8 Bit range of ADC is zero to 255 i.e. Range-256.LCD display is used for displaying ADC values.

Simple Echo Send and Receive PIC16F88 Using Serial RS232 -Flowcode Simulation

Here we are using FlowCode Simulation Software for Programming and Testing with PIC16F88 for Simulation of this project .It shows how to send string and character through serial port.

Flowcode has following facility regarding Serial Communication:
1. Character Sent
2. Character Received 
3. Character in Queue


This enable user to synchronize the simulation and as per my view it is helpful in Step wise debugging  the program. 


Here is the Flow code program:
More Post On Serial Communication
Serial RS232  -Sending String with PIC16F877A
Serial RS232 -String Receivev with PIC16F877A
RS232 and RS485 Comparative Study

In this project we are using LED array for displaying sent string.It basically display the ASCII values that are being sent on the PORT.

Sending String with PIC16F877A Using Serial RS232 -Flowcode Simulation

Here we are using Flow-code Simulation Software for Programming and Testing with PIC16F877A for Simulation of this project .It shows how to send string and character through serial port.

Flow-code has following facility regarding Serial Communication:
1. Character Sent
2. Character Received 
3. Character in Queue

Here is the Flow code program:
More Post On Serial Communication
Serial RS232-Simple Echo Send and Receive- PIC16F88
Serial RS232 -String Receivev with PIC16F877A
RS232 and RS485 Comparative Study

In this project we are using LCD display for displaying sent string.Setting used can be seen in the video.We are sending " TechInventory "  and " RS232 Working " string through RS232 Serial port.Micro-controller used is PIC16F877A with 16X2 LCD display.

String Receivev with PIC16F877A Using Serial RS232 Feature -Flowcode Simulation

Here we are using FlowCode Simulation Software for Programming and Testing with PIC16F877A for Simulation of this project .It shows how to receive string and character through serial port.

Flowcode has following facility for Serial(RS232) Communication:
1. Character Sent
2. Character Received 
3. Character in Queue

Here is the Flow code program:
More Post On Serial Communication
Serial RS232-Simple Echo Send and Receive PIC16F88
Serial RS232-Sending String with PIC16F877A
RS232 and RS485 Comparative Study

In this project we are using LCD display for displaying received string. Setting used can be seen in the video.We are receiving 4 character length string through RS232 Serial port.

Programming Using Embedded C

Embedded C use most of the syntax and semantics of standard C, e.g., main() function, variable definition, data type declaration, conditional statements (if, switch. case), loops (while, for), functions, arrays and strings, structures and union, bit operations, macros, etc. In addition, there are some specifics to embedded C which are mentioned below: 

1. Low Level Codes
Embedded programming requires access to underlying hardware, i.e., timers, memory, ports, etc. In addition, it is often needed to handle interrupts, manage job queues, etc. As C offers pointers and bit manipulation features, they are extensively used for direct hardware access

Suggested Readings

Embedded Systems and C Programming - Home Page - Index

More Links:
Embedded C know How
Difference Between C and Embedded C
Embedded Systems(Micro controllers) Programming and Simulation Using Flow Code
Embedded Electronics-Real-time software-Introduction
Karnaugh_Maps-Digital Electronics Tutorials
Micro-controllers-Basic Introductio…

Difference Between C and Embedded C

Though C and embedded C appear different and are used in different contexts, they have more similarities than the differences. Most of the constructs are same; the difference lies in their applications.

C is used for desktop computers, while embedded C is for micro controller based applications. Accordingly, C has the luxury to use resources of a desktop PC like memory, OS, etc. While programming on desktop systems, we need not bother about memory. 

Suggested Readings:
Embedded Systems and C Programming - Home Page - Index

More Links:
Embedded C know How
Programming Using Embedded C
Embedded Electronics-Real-time software-Introduction
Karnaugh_Maps-Digital Electronics Tutorials
Micro-controllers-Basic Introduction Tutorials

Embedded C know How - Introduction Salient Features of Embedded Programming

Introduction to Embedded C

Be it a digital camera or a mobile phone or a washing machine, all of them has some kind of processor functioning inside it. Associated with each processor is the embedded software. If hardware forms the body of an embedded system, embedded processor acts as the brain, and embedded software forms its soul. It is the embedded software which primarily governs the functioning of embedded systems.

Suggested Readings:
Embedded Systems and C Programming - Home Page - Index

More Links:
Difference Between C and Embedded C
Programming Using Embedded C
Embedded Electronics-Real-time software-Introduction
Karnaugh_Maps-Digital Electronics Tutorials
Micro-controllers-Basic Introduction Tutorials

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.










Photoelectric Effect - High School Physics Tutorial

Photoelectric Effect-Tutorial
The photoelectric effect is the observation that many metals emit electrons when light shines upon them. Electrons emitted in this manner may be called photo electrons.


Overview of the Photoelectric Effect
The photoelectric effect is studied in part because it can be an introduction to wave-particle duality and quantum mechanics.

As shown in video below,when a surface is exposed to sufficiently energetic electromagnetic energy, light will be absorbed and electrons will be emitted. The threshold frequency is different for different materials.

Transformer Working Principal - High School Physics Tutorial

Transformer Working Principal
A transformer and its close relative, the Induction coil, use a B field created by a Primary Coil to induce a current in a Secondary coil through induction. The B field changes as the Primary Current changes.


Related Topics: Electromotive force (EMF) Voltage Source and Current Source Body Or Chassis Ground in Electronic Circuits Basics Of Electric Current
The link between the Primary and Secondary is strengthened by the use of a laminated iron alloy core ( laminated to reduce eddy currents ) to increase the B field. Further, both Primary and Secondary use multiple windings which dictate the strength of the flux between them. More coils, more area hence more flux.

Laws of Resistance and Specific Resistance

Laws of Resistance and Specific Resistance The laws of resistance states that the Resistance “R” offered by a conductor depends upon following factors:

1. The Resistance “R” is directly proportional with it’s length “L”

2. The Resistance “R” is Inversely proportional with it’s Cross Sectional Area: “A”

Related Links:
Types of Resistors
Resistors Colour Coding
Multimeter: Testing Resistors
Effect of temperature on Resistance Of Materials

Effect of temperature on Resistance Of Materials

Effect of temperature on Resistance Of Materials
In pure metals the resistance of the substance increases with the increase in it’s temperature. The increase is large and fairly regular for normal ranges of temperature. Or metals have a positive temperature coefficient of resistance. 
Related Links:
Types of Resistors
Resistors Colour Coding
Multimeter: Testing Resistors
Effect of temperature on Resistance Of Material

In alloys also the increase in temperature results in increase of it’s resistance, but unlike pure metals the increase is relatively small and irregular. For some high resistance alloys like Eureka ( Cu 60% & Ni 40%) and maganin , the increase in resistance is ( or can be made) negligible over a considerable range of temperature.

Basics Of Electric Current - High School Physics Tutorial

Electric Current is the flow of electrons in a substance from it’s one point to another in other words Electric Current is the rate at which the charges or electrons flows through a particular surface or point in a substance for eg. The current in a wire is the rate at which the charges carrying electrons passes through the cross sectional surface of the wire.
Electromotive force (EMF)
Voltage Source and Current Source
Body Or Chassis Ground in Electronic Circuits

The anatomy of a conductor and flow of current:A conductor is usually made up of a lot of molecules piled one over another , and the molecules are collection of atoms.


KeyWords

Show more