PIC Microcontroller MPLAB XC8 Tutorials https://electrosome.com/category/tutorials/pic-microcontroller/mplab-xc8/ You Inspire.....We Create..... Sun, 05 Sep 2021 13:29:41 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 Getting Started with MPLAB XC8 Compiler – LED Blinking https://electrosome.com/led-pic-microcontroller-mplab-xc8/ https://electrosome.com/led-pic-microcontroller-mplab-xc8/#comments Tue, 01 Jul 2014 09:11:30 +0000 https://electrosome.com/?p=8002 In this tutorial we will learn How to Blink an LED with PIC Microcontroller using MPAB XC8 Compiler. Recently Microchip released a series of development tools including MPLAB X IDE and MPAB XC Compilers. MPLAB X IDE is a software that runs on a computer intended to develop applications for Microchip’s Microcontrollers and Digital Signal […]

The post Getting Started with MPLAB XC8 Compiler – LED Blinking appeared first on electroSome.

]]>
https://electrosome.com/led-pic-microcontroller-mplab-xc8/feed/ 50
Using Push Button Switch – MPLAB XC8 https://electrosome.com/switch-pic-microcontroller-mplab-xc8/ https://electrosome.com/switch-pic-microcontroller-mplab-xc8/#comments Mon, 14 Jul 2014 19:36:55 +0000 https://electrosome.com/?p=8181 I hope that you already go through the first tutorial of MPLAB XC8, Getting Started with MPLAB XC8 – LED Blinking. In that tutorial we learn how to use an output pin by driving an LED. In this we will learn how to read an Input pin using a push button switch. We already seen […]

The post Using Push Button Switch – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/switch-pic-microcontroller-mplab-xc8/feed/ 23
Interfacing HC-SR04 Ultrasonic Sensor with PIC Microcontroller https://electrosome.com/hc-sr04-ultrasonic-sensor-pic/ https://electrosome.com/hc-sr04-ultrasonic-sensor-pic/#comments Tue, 12 Aug 2014 17:18:28 +0000 https://electrosome.com/?p=8423 HC-SR04 Ultrasonic Distance Sensor is a popular and low cost solution for non-contact distance measurement function. It is able to measure distances from 2cm to 400cm with an accuracy of about 3mm. This module includes ultrasonic transmitter, ultrasonic receiver and its control circuit. HC-SR04 module has 4 pins : VCC – 5V, +ive of the power […]

The post Interfacing HC-SR04 Ultrasonic Sensor with PIC Microcontroller appeared first on electroSome.

]]>
https://electrosome.com/hc-sr04-ultrasonic-sensor-pic/feed/ 226
Interfacing LCD with PIC Microcontroller – MPLAB XC8 https://electrosome.com/lcd-pic-mplab-xc8/ https://electrosome.com/lcd-pic-mplab-xc8/#comments Mon, 18 Aug 2014 12:40:03 +0000 https://electrosome.com/?p=8468 In this tutorial we will see How to Interface a 16×2 character LCD module with PIC 16F877A Microcontroller using MPLAB X IDE and MPLAB XC8 C Compiler. 16×2 Character LCD is a very basic and low cost LCD module which is commonly used in electronic products and projects. 16×2 means it contains 2 rows that […]

The post Interfacing LCD with PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/lcd-pic-mplab-xc8/feed/ 136
Interfacing Servo Motor with PIC Microcontroller – MPLAB XC8 https://electrosome.com/servo-motor-pic-mplab-xc8/ https://electrosome.com/servo-motor-pic-mplab-xc8/#comments Sun, 24 Aug 2014 11:33:19 +0000 https://electrosome.com/?p=8503 Servo Motor is an ordinary geared dc motor equipped with closed loop servo mechanism which uses position feedback to control exact angular position of the rotor. These are commonly used in robotic arms, legs etc. Servo Motors do not rotate continuously, their rotation is limited to fixed angles. Usually these motors have rotation limit from […]

The post Interfacing Servo Motor with PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/servo-motor-pic-mplab-xc8/feed/ 7
Using UART of PIC Microcontroller – MPLAB XC8 https://electrosome.com/uart-pic-microcontroller-mplab-xc8/ https://electrosome.com/uart-pic-microcontroller-mplab-xc8/#comments Fri, 03 Oct 2014 11:01:27 +0000 https://electrosome.com/?p=8641 UART stands for Universal Asynchronous Receiver / Transmitter. It is a very popular serial communication interface which provides Full Duplex communication between two devices. UART uses two data lines for sending (TX) and receiving (RX) data. Ground/Reference of both devices should be made common. As the name indicates it is an asynchronous communication interface, which […]

The post Using UART of PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/uart-pic-microcontroller-mplab-xc8/feed/ 54
Interfacing EM-18 RFID Module with PIC Microcontroller https://electrosome.com/em-18-rfid-module-pic/ https://electrosome.com/em-18-rfid-module-pic/#comments Sun, 16 Nov 2014 06:43:47 +0000 https://electrosome.com/?p=8101 EM-18 RFID Reader Module is the one the most commonly used module for Radio Frequency Identification Projects. It features Low Cost, Small Size, Low Power Consumption and Easy to use. It can be directly interfaced with microcontrollers using UART communication. Software UART can be used for microcontrollers having no UART modules. In this tutorial we will […]

The post Interfacing EM-18 RFID Module with PIC Microcontroller appeared first on electroSome.

]]>
https://electrosome.com/em-18-rfid-module-pic/feed/ 70
Custom Characters on LCD using PIC – MPLAB XC8 https://electrosome.com/custom-characters-lcd-pic-mplab-xc8/ https://electrosome.com/custom-characters-lcd-pic-mplab-xc8/#comments Tue, 10 Feb 2015 12:35:27 +0000 https://electrosome.com/?p=10647 I hope that you already go through our tutorial, Interfacing LCD with PIC Microcontroller – MPLAB XC8. HD44780 compatible controllers used in these LCDs allows us to define 8 custom characters in addition to the standard pre-programmed characters. In this tutorial we will learn, how to create custom characters on LCD using PIC Microcontroller and […]

The post Custom Characters on LCD using PIC – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/custom-characters-lcd-pic-mplab-xc8/feed/ 7
Generating PWM with PIC Microcontroller – MPLAB XC8 https://electrosome.com/pwm-pic-microcontroller-mplab-xc8/ https://electrosome.com/pwm-pic-microcontroller-mplab-xc8/#comments Thu, 21 May 2015 13:00:52 +0000 https://electrosome.com/?p=11152 Pulse Width Modulation (PWM) is the one of the simple and most commonly used technique to produce analog voltages from digital signals. It has a wide variety of applications such as Digital to Analog Converter (DAC), DC Motor Speed Control, Sine Wave Inverters, Brightness control etc. PWM signals are ON – OFF signals (HIGH or […]

The post Generating PWM with PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/pwm-pic-microcontroller-mplab-xc8/feed/ 32
Using ADC of PIC Microcontroller – MPLAB XC8 https://electrosome.com/adc-pic-microcontroller-mplab-xc8/ https://electrosome.com/adc-pic-microcontroller-mplab-xc8/#comments Thu, 12 Nov 2015 07:25:55 +0000 https://electrosome.com/?p=11418 In this tutorial we will learn, how to use the ADC module of a PIC Microcontroller using MPLAB XC8 compiler. For demonstration we will use the commonly available PIC 16F877A microcontroller. Every physical quantity found in nature like temperature, humidity, pressure, force is analog. We need to convert these analog quantities to digital to process […]

The post Using ADC of PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/adc-pic-microcontroller-mplab-xc8/feed/ 28