Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Archives for Flowcode for PIC

Introduction to Programming Microcontrollers with Flowcode V5

image-410
Flowcode is one of the World’s most advanced graphical programming languages for microcontrollers. It allows you to create complex microcontroller applications with advanced peripheral interfacing which make it easy to connect wide range of devices such as switches, LCD displays, analogue sensors, SD cards, Real time clocks, RS232/RS485, GPS, GSM, Bluetooth and so on by just dragging and dropping icons onto a flowchart. No prior knowledge of programming is required to start this course but a basic knowledge of PIC microcontrollers is necessary. In this article we are going to get a quick introduction to Flowcode v5.
');

Flowcode V5 Overview

image-406
In this article we will go through some steps on how to start a new Flowcode project, save a project,discuss the various Flowcode icons and components. To start a new flowcode project, depending on your operating systems, Start -----> All Program ------> Flowcode V5 -------> PICmicro -------> Flowcode V5 for PICmicros or Double click on Flowcode V5 icon on the desktop.
');

Connecting Light Emitting Diodes to a PIC Microcontroller – Flowcode

image-403
An LED is a semiconductor light source, when forward biased, it emits light. LEDs are used mainly to indicate the status of electronic circuits, for example to indicate that power is on or off but nowadays they are used in many applications including lighting and beam detection. In this article we will learn how to connect and switch on and off various LEDs to a microcontroller using Flowcode Compiler. This is the simplest project a beginner in embedded programming can start with before attempting any complex projects. As with most programming languages, our "Hello world" program here it's just a simple switching ON and OFF an LED connected to PORT B bit 0 of a microcontroller.

Flowcode Variables

image-400
In simple terms, a variable is a location in memory where we can store information. The type of variable created must match the correct type of information that has to be stored in, if we want to store a number, we cannot store it in a location destined to store strings (characters). In this article we introduce the different types of Flowcode variables.

Flowcode Decisions

image-395
Decisions are vital in any programming languages, in most of the cases, we need to know IF a certain CONDITION has been met so that we can do certain things or select an option (CASE OPTION) from a number of options. In this article we introduce the different types of Flowcode decision statements, we will learn how an IF statement can be created using Flowcode to select a specific condition among other choices

Reading Switches With PIC Microcontroller – Flowcode

image-391
Switches are digital inputs and are widely used in electronic projects as most systems need to respond to user commands or sensors. Connecting a switch is very useful because a switch can represent a wide range of digital devices in real world like limit sensors, level switches, proximity switches, keypads (a combination of switches) etc. With flowcode it is very easy to connect a switch to any PORT of microcontroller all you need to do is to click on a switch component and then drag and drop an Input Icon on the flowchart.

Interfacing LCD Display – Flowcode

image-387
LCDs are alphanumeric (or graphical) displays, which are frequently used in microcontroller based applications which require some information to be displayed to the user. There are many devices in the market which come in different shapes and sizes. Some LCDs have 40 or more character lengths with the capability to display several lines. Some other LCD displays can be programmed to display graphic images. Some modules offer colour displays, while some others incorporate back lighting so that they can be viewed in dimly lit conditions. For most PIC programming languages, the LCD is often one of the last things you learn as it is quite complicated to get working. However, in Flowcode you don't need to know what is going on inside, all you have to do is drag and drop some few icons on the flowchart and flowcode will sort out the rest for you.

Interfacing 7-Segment Display – Flowcode

image-383
The 7-segment display is the earliest type of an electronic display that uses 7 LEDs bars arranged in a way that can be used show the numbers 0 - 9. (actually 8 segments if you count the decimal point, but the generic name adopted is 7-segment display.) These devices are commonly used in digital clocks, electronic meters, counters, signalling, and other equipment for displaying numeric only data. Flowcode has components for both a quad 7-segment display which can display 4 digits and for a single 7-segment display.

Analog to Digital Converter with PIC Microcontroller – Flowcode

image-381
Analog to Digital converters allow analog continuous voltages to be converted into a discreet digital numbers inside the PIC as the PIC can only process digital numbers. This can enable a PIC to be connected to analog sensors such as temperature sensors, pressure sensors, humidity sensors, optical sensors, and power sensors. This is a nice feature to use as most of PIC microcontrollers today have built-in analog to digital converters (ADC) with the number of channels depending on the number of pins a particular microcontroller have. Flowcode has an ADC component that samples analogue voltage input levels in relation to the reference voltage. the resulting value is then stored in memory ready to be retrieved as needed.