Archives for Tutorials

Interfacing ENC28J60 Ethernet Controller with PIC Microcontroller – XC8

image-2866
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.
');

Interfacing DC Motor with PIC Microcontroller – Flowcode

image-2753
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.
');

Controlling a PIC Microcontroller from a PC Graphical User Interface (GUI)

image-2345
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.

Introduction to Programming Microcontrollers with Flowcode V6

image-1665
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.

Getting Started with Raspberry Pi

image-2027
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.

Getting Started with Flowcode for Arduino

image-1773
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 Conversion – Arduino

image-1898
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.

Interfacing LCD Display With Arduino

image-1871
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.

Using a Push Button with Arduino

image-1827
Push buttons and Switches are digital inputs and are widely used in electronic projects as most systems need to respond to user commands or sensors. Reading a push button is very useful because a push button is widely used and can also represents a wide range of digital devices in real world like switches, limit sensors, level switches, proximity switches, keypads (a combination of switches) etc. In this case, we’re going to use the simplest form of sensor: a push button switch. In this tutorial we are going to learn Arduino functions to read a switch connected to Digital Inputs pins.
1 2 13