Archives for MPLAB XC8

Getting Started with EasyEDA a web-based PCB Design Software

image-2258
EasyEDA is a a great and above all free web based circuit design, simulation and printed circuit boards (PCB) design tool for electronic hobbyists, engineers, teachers, students, makers and enthusiasts . There’s no need to install the software all you need is just open EasyEDA in a web browser. EasyEDA has all the features you expect from traditional electronic design automation (EDA) softwares like OrCAD, Altium, DipTrace among others, this tool easily takes your design from conception through to production.

Draw Circuit Free with EasyEDA

image-2363
EasyEDA is a a great and above all free web based circuit design, simulation and printed circuit boards (PCB) design tool for electronic hobbyists, engineers, teachers, students, makers and enthusiasts. In this article we are going to learn how to draw an electronic circuit for free using EasyEDA. With a quick google search, type the keyword: "Draw circuit", Select "EasyEDA - Online PCB design & circuit simulator"

MPLAB® Code Configurator

image-1477
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-16
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 to a PIC Microcontroller with SPI bus to write and read from an SD card using the popular Chan's FatFs Generic FAT File System Module library with MPLAB XC8.

Microchip Libraries for Applications

image-1385
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-240
A GSM 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-2207
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-1657
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-244
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 Microchip XC8 compiler.

Getting Started with ENC28J60 Ethernet Controller with Microcontrollers

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