MPLAB XC8 Archives - electroSome https://electrosome.com/tag/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 Digital Alarm Clock using PIC Microcontroller and DS3234 RTC https://electrosome.com/digital-alarm-clock-pic-microcontroller-ds3234-rtc/ https://electrosome.com/digital-alarm-clock-pic-microcontroller-ds3234-rtc/#comments Sat, 11 Apr 2020 14:44:29 +0000 https://electrosome.com/?p=13663 Here is a digital alarm clock made using PIC 18F4520 Microcontroller and DS3234 RTC (Real Time Clock). This project is for educational purposes or can be used as a reference for integrating DS3234 RTC. DS3234 is a very accurate RTC IC with integrated on chip temperature compensated crystal oscillator. It can be integrated with a […]

The post Digital Alarm Clock using PIC Microcontroller and DS3234 RTC appeared first on electroSome.

]]>
https://electrosome.com/digital-alarm-clock-pic-microcontroller-ds3234-rtc/feed/ 14
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
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 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
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 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
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