Archives for Tutorials
Ethernet is the leading wired standard for networking as it enables to connect a very large number of computers, microcontrollers and other computer-based equipment to one another. With just a network switch, many different devices can easily communicate with one another with Ethernet, allowing different devices and equipment to be accessed remotely and this also provides a cost-effective and reliable means of remote control and monitoring. For microcontrollers which don't have an integrated Ethernet peripheral, Microchip offers a serial Ethernet chip that can easily be used by any microcontroller with an SPI interface to provide Ethernet capability to the application. The ENC28J60 is a popular 28-pin serial Ethernet chip, 10BASE-T stand alone Ethernet Controller with SPI interface, on board MAC & PHY, 8 Kbytes of Buffer RAM and an SPI serial interface. In this article we will learn how to use the ENC28J60 Ethernet controller with Microchip TCP/IP Lite Stack and MPLAB Code Configurator.
In this article we will discuss the PWM with Flowcode. Pulse width modulation (PWM) is a technique of controlling the amount of power delivered to an electronic load by switching ON and OFF a digital signal. This is the simplest technique that can be used to produce analog voltages from a digital one. The fraction of the period for which the signal is ON to the total period is known as the duty cycle. The average DC value of the signal can be varied by varying the duty cycle. The duty cycle can be anywhere between 0 (signal is always off) to 1 (signal is constantly on).
DC motors are used in many industrial, commercial, and domestic applications. We have DC motors in toys, irrigation pumps, robotics, Drills and in many applications. In this article, we are going to learn how to control a DC motor with a PIC Microcontroller, rotating it in either the clockwise or anticlockwise direction using Flowcode for PIC.
A Graphical User Interface is a man-machine interface device, in which objects to handle are drawn as icons on the screen, so the user can send controls by by a pointing device, usually a mouse or a keyboard. It is always easy and require less skills to operate a device from a visual representations of the workspace (GUI) by simply clicking a mouse or using a keyboard rather than a command line. In this article we are going to design a Graphical User Interface using Microsoft Visual C#. This software could be installed in any computer running windows operating systems. The computer will connect to the microcontroller using an RS232 serial cable. The PIC microcontroller will receive commands from the computer to control devices connected to it such as motors, LEDs etc.
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 v6.
Raspberry Pi is a small credit card sized computer, It is very cheap compared to the traditional computers, the Raspberry Pi Foundation has arrangements with a few manufacturers from whom you can buy a Pi directly at $25 - $35. The Raspberry Pi unlike the traditional computer, it has the ability to integrate with electronics projects. Raspberry Pi to control devices that a microcontroller can control like LEDs, relays, LCDs etc. A Raspberry Pi is better used where more processing power and connectivity is needed like for exemple when you want to remotely access a temperature sensor via the web to change its settings and download temperature log files and more in general Internet of Things (IoT) and Home Automation applications you should consider using the Raspberry Pi.
Arduino is the open source electronics prototyping platform. It has become popular in the world of hobbyists, students, artists, programmers and professionals. Arduino was born as an easy tool for fast prototyping, aimed at students without a background in electronics and programming. With Flowcode for Arduino, the advantages are even greater. 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.
Analog to Digital converters allow analog continuous voltages to be converted into a discreet digital numbers inside the microcontroller as the microcontroller can only process digital numbers. This can enable the Arduino to be connected to analog sensors such as temperature sensors, pressure sensors, humidity sensors, optical sensors, and power sensors. Any sensor which can generate a voltage between 0V and a maximum 5V can be used.
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 color displays, while some others incorporate back lighting so that they can be viewed in dimly lit conditions. In this tutorial we will see how to interface a 16×2 Character LCD display with Arduino. Arduino provides built in libraries for interfacing HD44870 compatible LCDs.