Wednesday, 23 April 2014

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

Sunday, 20 April 2014

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.

Sunday, 6 April 2014

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.

Tuesday, 1 April 2014

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 Introduction Tutorials

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

Readers' Choice