PIC Microcontrollers Tutorials https://electrosome.com/category/tutorials/pic-microcontroller/ You Inspire.....We Create..... Fri, 24 Apr 2020 04:25:50 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 SPI Communication with PIC Microcontroller – MPLAB XC8 https://electrosome.com/spi-pic-microcontroller-mplab-xc8/ https://electrosome.com/spi-pic-microcontroller-mplab-xc8/#comments Mon, 01 May 2017 08:01:32 +0000 https://electrosome.com/?p=13670 SPI (Serial Peripheral Interface) is a full duplex synchronous serial communication interface used for short distance communications. It is usually used for communication between different modules in a same device or PCB. SPI devices communicates each other using a master slave architecture with a single master. SPI is called as a 4-wire bus as it requires […]

The post SPI Communication with PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/spi-pic-microcontroller-mplab-xc8/feed/ 2
I²C Communication with PIC Microcontroller – MPLAB XC8 https://electrosome.com/i2c-pic-microcontroller-mplab-xc8/ https://electrosome.com/i2c-pic-microcontroller-mplab-xc8/#comments Mon, 11 Apr 2016 17:02:37 +0000 https://electrosome.com/?p=11919 I2C or IIC or I2C stands for Inter-Integrated Circuit. It is a very popular multi-master, multi-slave serial communication interface developed by Philips. I2C uses two bidirectional open drain data lines, Serial Data (SDA) and Serial Clock (SCL) with pull up resistors as shown below. Unlike UART, you can connect and communicate to multiple devices using the same […]

The post I²C Communication with PIC Microcontroller – MPLAB XC8 appeared first on electroSome.

]]>
https://electrosome.com/i2c-pic-microcontroller-mplab-xc8/feed/ 69
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
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
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
Custom Characters on LCD using PIC – MikroC https://electrosome.com/custom-characters-lcd-pic-mikroc/ https://electrosome.com/custom-characters-lcd-pic-mikroc/#comments Mon, 05 Jan 2015 10:47:03 +0000 https://electrosome.com/?p=10297 I hope that you already go through our tutorial, Interfacing Character LCD with PIC Microcontroller – MicroC Pro. These character based LCDs are commonly made using HD44780 compatible controllers. It allows us to define 8 custom characters in addition to the standard pre-programmed characters. In this tutorial we will learn to define our own custom […]

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

]]>
https://electrosome.com/custom-characters-lcd-pic-mikroc/feed/ 6
Interfacing LCD with PIC Microcontroller – CCS C https://electrosome.com/lcd-pic-microcontroller-ccs-c/ https://electrosome.com/lcd-pic-microcontroller-ccs-c/#comments Sun, 07 Dec 2014 10:14:36 +0000 https://electrosome.com/?p=10102 In this tutorial we will see How to interface a 16×2 character LCD Module with PIC 16F877A Microcontroller using CCS C Compiler. 16×2 character LCD is a very commonly used LCD module in electronic projects and products. 16×2 means it can display 2 rows of 16 characters. It is a very basic and low cost […]

The post Interfacing LCD with PIC Microcontroller – CCS C appeared first on electroSome.

]]>
https://electrosome.com/lcd-pic-microcontroller-ccs-c/feed/ 4
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
Using Push Button Switch with PIC Microcontroller – CCS C https://electrosome.com/switch-pic-microcontroller-ccs-c/ https://electrosome.com/switch-pic-microcontroller-ccs-c/#respond Sat, 18 Oct 2014 16:40:33 +0000 https://electrosome.com/?p=8647 I hope that you already go through our first tutorial of CCS C Compiler, Getting Started with PIC Microcontroller – CCS C Compiler. In that tutorial we learn how to use an output pin of PIC Microcontroller by blinking an LED with a delay of 1 second. In this tutorial we will learn how to […]

The post Using Push Button Switch with PIC Microcontroller – CCS C appeared first on electroSome.

]]>
https://electrosome.com/switch-pic-microcontroller-ccs-c/feed/ 0
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