Tag archives for Flowcode
In any electronic products or projects there is always a source of power for the system to work. This is called a power supply. The source of this power can come from different sources like the mains AC voltage, a battery or even from a renewable power source like a solar panel wind turbine or fuel cell to name just a few. The most common source of power is usually the mains AC, with this power, we need a transformer to convert the 220V 50Hz mains or the 120V 60Hz if you are living in the United States of America to a lower voltage required by the electronic circuit, this can be typically between 6V and 12V when 5V regulated DC is needed. In this article we are going to design a simple 5V DC power supply using the 7805 voltage regulator.
For many hobbyists and students interested in programming PIC Microcontrollers, the high cost of a programmer can really be a huge obstacle. The programmer described in this article is very easy and cheap to build. It can cost you less than R 100 ($10) to build it and all the software used to program the PIC luckily are also free. You can use MPLAB X IDE with XC8, XC16 or XC32 compilers from Microchip Technology Inc that can be used to write and debug code for a PIC Microcontroller. You can download a free copy of MPLAB® X IDE and XC8 Compiler from Microchip website. They are also other compilers that you can use depending on your preference, like Mikroelekronika compilers where you can download a free 2Kb limited demo compiler on their website.
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.
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.
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.
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.
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
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.
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.