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 that can be used to power your Microcontroler projects using the 7805 voltage regulator.
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.
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.
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.