Archives for MPLAB XC8

MPLAB® Code Configurator

image-93
The MPLAB® Code Configurator (MCC) is a user friendly Graphical User Interface (GUI) plug-in tool for MPLAB® X IDE which generates easy to understand C code that is inserted into an MPLAB® X project, based on the settings peripherals configurations and selections made in the Graphical User Interface (GUI). The generated code can be used in any application program. When starting out with a new project using Microchip 8-bit microcontrollers, setup of the configuration and all the peripherals can be time consuming, especially for new projects. The MPLAB® Code Configurator simplifies this down to a series of simple graphical selections from the menus within the MCC.

Interfacing SD Card With PIC Microcontroller – XC8

image-76
A memory card (also called a flash memory card) is a solid-state electronic data storage device used for storing digital information. They are commonly used in many electronic devices, including digital cameras, mobile phones, laptop computers, MP3 players and also in many applications where a large amount of data has to be stored either once or continuously like in data loggers. Memory cards are small, re-writable and are able to retain data without power. In this article we will learn how to interface an SD Card with a PIC Microcontroller with SPI bus to write and read to/from an SD card with MPLAB XC8 and MPLAB Code Configurator.

Microchip Libraries for Applications

image-103
Microchip Libraries for Applications (MLA) is a collection of Microchip firmware libraries, drivers, demo projects, documentation and utilities for different type of applications including USB, Graphic displays, File I/O (Memory cards), TCP IP, Smartphone and many more. Not all firmware libraries and demo projects from Microchip are distributed in this package; rather, this package includes a few specific libraries that tend to be used together. By distributing libraries that are used often together, Microchip can provide example projects that integrate the use of multiple libraries.

Interfacing GSM/GPRS Modem with PIC Microcontroller – XC8

image-141
A GSM/GPRS modem is a wireless modem that works with a GSM wireless network. GSM stands for Global System for Mobile communications, this architecture is used for mobile communication in most of the countries in the world. A wireless modem acts basically like the traditional dial-up modem, the main difference is that a dial-up modem sends and receives data through a fixed telephone line while a wireless modem sends and receives data through radio waves. Besides the dial-up connection, GSM modem can also be used for sending and receiving SMS which is also one of the key features of GSM modem. A GSM modem can be used in many applications including: Remote System Monitoring, Remote Controlling System, Prepaid Electricity, Home Alarm System, Home Automation, Data loggers, Vehicle tracking, etc. In this article we are going to learn the basics commands to control a GSM modem with a PIC Microcontroller, including sending and receiving an SMS using MPLAB XC8.

DC Motor Speed Control using PWM of PIC Microcontroller – XC8

image-144
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 real life applications turning a motor ON in clockwise or anticlockwise directions or turning it OFF is not always all that is required. The speed of rotation has to be controlled as well. In this article, we are going to learn how to control the speed of a DC motor using the Pulse Width Modulation of a PIC Microcontroller with MPLAB Code Configurator

Interfacing DC Motor with PIC Microcontroller – XC8

image-147
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 interface a DC motor with a PIC Microcontroller, rotating it in either the clockwise or anticlockwise direction using MPLAB XC8 Compiler.

PIC Microcontroller Interrupts – XC8

image-150
Interrupts are one of the most powerful features of PIC Microcontrollers, interrupts make it possible to create applications that can respond to external stimulus in real time. An interrupt is basically an event that requires the microcontroller to stop normal program execution and then to jump to execute a program code related to the event causing the interrupt. An interrupt requires immediate attention, only once the microcontroller will finish executing the interrupt code, then it can go back to continue with the main program. The interrupt code is called Interrupt Service Routine (ISR) or Interrupt Handler. In this article we're gonna learn how to implement Interrupts using Interrupt registers and with MPLAB Code Configurator..

Getting Started with ENC28J60 Ethernet Controller with Microcontrollers

image-153
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, home automation, Internet of Things applications and many more. If you are using a microcontroller which does not 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. many compilers offer peripheral libraries to get you started in minutes.

Ethernet Communication with PIC Microcontroller

image-158
In this series of PIC Microcontroller Communication, after learning on how PIC Microcontroller Communication with I2C, SPI, RS232 and USB can be achieved, in this article we are going to discuss the concepts of Ethernet Communication with PIC Microcontroller. When it comes to communication involving wires, 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 each other. With just a switch, many different devices can easily communicate with one another with Ethernet, allowing devices and equipment to be accessed remotely and provides a cost-effective and reliable means of monitoring or controlling such equipment, for example a person could monitor several vending machines located in different places which can be several kilometers apart from the PC at the conform of your desk. A simple online interface to the vending machines can allow you to monitor everything from the internet.
1 2 4