Flowcode is one of the world’s most advanced graphical programming languages for microcontrollers. 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 more than twenty languages and currently supports the PICmicro, dsPIC, PIC24, AVR and ARM series of microcontrollers.
In this tutorial, I will utilize PIC16F877A and develop a simple program using Flowcode. FLOWCODE are wonderful and easy to be use for any level of user. It use drag and drop system to complete a set of coding and able to run it smoothly as long as the settings are correct. Besides, it comes with a simulation software. The simulation can be executed easily and debug using GUI mode.
Flowcode is a MARVOLOUS SYSTEM and program. This is what I heard from people when I mention Flowcode to them.
I will be using SK40C, UIC00B and some accessories for this tutorial.
• UIC00B x1
• LCD x1
If you want your life to be easier, get yourself a PR3 which come with SK40C + PIC16F877A + LCD 🙂 Not to forget the adapter if you do not have one.
• FLOWCODE 5
I will divide the project into 3 part.
1st, we will be downloading the FLOWCODE 5 FREE and LIMITED VERSION
2nd, we will install the FLOWCODE 5
3rd, we will explore the basic guiding to use the FLOWCODE 5
DOWNLOAD FREE and LIMITED VERSION FLOWCODE 5
I believe most people don’t have flowcode in their laptop or computer. Let’s download the Flowcode 5 free version software.
Go to this website : http://www.matrixmultimedia.com/lc_index.php?p=25
You will see something like this:
At the bottom right corner, click on the download which I have lighted with the red circle.
Wait for the file to be completely downloaded.
INSTALLATION OF FLOWCODE 5
Double click the file that you have just downloaded. Similar to what being shown in picture.
Double click on it and press yes to initiate the installation.
Most of the time, you will need to click on the “Next” to proceed. I have included the installation step video at the bottom, please feel free to have a look.
choose your location to be installed.
Do not enter any key and just next, if you are using the free and limited version.
When it is done, you may start using your flowcode 5.
GUIDANCE OF FLOWCODE 5 BASIC USAGE
Open the flow code either in you desktop with logo. Or you may find it in you program file manual.
A window will pop up asking to create new flowcode or open existing files.
Click on the create a new Flowcode flowchart and press ok
Choose the PIC you would like to use. In this part I am using the PIC16F877A. Then press ok.
It will lead you to the starting panel to start your project like below picture. Start you program…..
For the Flowcode interfacing the desktop view. I would recommend you all to take a look at here:http://www.matrixmultimedia.com/resources/files/datasheets/Flowcode5Booklet-2.pdf
and you will find some information about flowcode. If you prefer video. I would recommend you to look at below link of video to learn some basic about it.
Here, I would like to share example project that I have just done. It is a quite simple project but it is done using flowcode.
Here are some picture of my project.
Connect with UIC00B to burn the program in it after creating HEX file.
LCD DISPLAY …
LED light on when button is pressed.
You may download the sample code below and open it using the FLOWCODE 5 . But let me brief about what to do after you get the code and how to burn the program.
HOW TO BURN THE PROGRAM
After you download the project. You get FCF file. FCF file is the only important file to create and burn a program.
This is what you should do.
1st, open flowcode 5
2nd, open the FCF file and you will get this:
Choose build and create HEX file
and you will get you HEX file in the sample folder of your FCF file.
Connect the UIC00B to SK40C with PIC16F877A on it. Power it up, Open PICKit2 Programmer and burn the HEX file to you SK40C.
The program is loaded 🙂 You can modify the code to any message you like on LCD and compile/build again.
For the coding you will have to learn it either from tutorial or video provided below. It is very easy to learn and use. It also quite interesting. But here let me explain some flowcode which I had use.
This is the main part for the program, it means when the SW1(RB0) is press LED0(RB6) light on, follow by the checking of sw2(RB1) and LED1(RB7). And the loop go forever and forever.
This is the MACRO for the program to perform the LCD display when start up
That all !!!
MAYBE this is quite new to all of you. But I believe you would have to try it yourself. It is a quite interesting software. So grab it now and try it.
For any problem, I would recommend you all to post it at the our technical forum.
Programming Pics using FlowCode PART1 (youtube video )
Programming Pics using FlowCode PART2 (youtube video )
Programming Pics using FlowCode PART3 (youtube video )
SAMPLE CODE DOWNLOAD