Tuesday, 15 December 2015

String To Float Data Type Conversion Using Microchip Controller PIC16F877A In Flowcode Programming Software

In previous post Float to String Conversion we have seen how to convert Float types of data in String type of Arrays using simple programming techniques.In this project we will be using FlowCode Software for writing a program to convert String Array or Array of Character to Floating type of Data using micro-controller of Microchip company PIC16 Family Micro controller PIC16F877A for testing and Simulation.This Project shows how we are outputting results values to LCD ( Liquid Crystal Display ).Varying the delay and write-erase sequence can be manipulated to different types of combination and lots of desired result.
Flow code program Snapshot(Above).

Here value used is of PI=3.1473

Command used is 
string = FloatToString$ (float)
float = StringToFloat$ (string)

Recent Related Programs
LCD Interfacing With Keypad PIC16F877A
Keypad and LED Interfacing With PIC16F88

More for Reading
ADC-Voltage as String Displaying Value On LCD with PIC16F1937
ADC-Voltage as Float Value Displaying On LCD
Printing Number on 16x2 LCD Display with PIC16F88
Printing and Updating Number on 16x2 LCD Display
Printing a Two line(String) message (LCD 16x2) PIC16F88

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

FlowCode Simulation [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.

For display we are using 16X2 Liquid Crystal Display.You can find it in control panel of Flowcode Software.Micro-controller used is Microchip family 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


  1. Very hard to read the page. Too many distractions. Guessing infolinks is interfering too much. BTW, Content is good.

  2. We are very sorry for inconvenience caused. We suggest our readers to use cancel button if you find ads not relevant.We hope, our readers will understand these ads are necessary evil. Thanks for your support.


Readers' Choice