Category: pic16f877a

Gas Detection and PPM Measurement using PIC Microcontroller and MQ Gas Sensors

MQ series Gas sensors are very common types of sensors used in Gas Detectors to detect or measure certain types of Gases. These sensors are widely used in all Gas related devices like from simple Smoke Detectors to Industrial Air Quality Monitors. We have already used these MQ gas sensors with Arduino to measure some harmful gases like Ammonia. In this article, we will learn how to use these gas sensors with PIC Microcontrollers, to measure the PPM value of the gas and display it on a 16×2 LCD.

View the full article: https://circuitdigest.com/microcontroller-projects/gas-detection-and-ppm-measurement-using-pic-microcontroller-and-mq-gas-sensor

Robotic Arm Control using PIC Microcontroller

In this tutorial we will use the industry standard PIC16F877A 8-bit Microcontroller to control the same robotic arm with potentiometers. The challenge with this project is that PIC16F877A has only two PWN capable pins, but we need to control about 5 servo motors for our robot which requires 5 individual PWM pins. So we have to utilize the GPIO pins and generate PWM signals on PIC GPIO pins using the timer interrupts. Now, of course we could upgrade to a better microcontroller or use a de-multiplexer IC to make things a lot easier here. But still, it is worth giving this project a try for the learning experience.

Heart Beat Monitoring using PIC Microcontroller and Pulse Sensor

Heart Beat rate is most important parameter in monitoring any person’s health. In the modern era of wearable devices, there are lot of devices which can measure heartbeat, blood pressure, footsteps, calories burnt and lot of other things. These devices has pulse sensor inside them to sense the pulse rate. Today, we will also use a pulse sensor with PIC Microcontroller to count heart beat per minute and the Inter-Beat Interval, these values will be further displayed on 16×2 character LCD. We will use PIC16F877A PIC microcontroller in this project. Check out the complete project here: https://circuitdigest.com/microcontroller-projects/heartbeat-monitoring-using-pic-microcontroller-and-pulse-sensor

Thermal Printer interfacing with PIC16F877A

In this tutorial, we will interface a thermal printer CSN A1 with widely used PIC microcontroller PIC16F877A. Here in this project, a thermal printer is connected across PIC16F877A and a tactile switch is used to start the printing. A notification LED is also used to notify the printing status. It will glow only when the printing activity is going on.

Check the complete project details: https://circuitdigest.com/microcontroller-projects/thermal-printer-interfacing-with-pic16f877a

PIC16F877A Microcontroller Based Digital Alarm Clock

This alarm clock will have an 16×2 LCD display which will display the current time and set time. We will use few push buttons to set the alarm time whenever required. The current time will be kept in track using the DS3231 RTC module and we will use IIC communication to get these values from the RTC module

Digital Thermometer using a PIC Microcontroller and DS18B20

Generally, the LM35 temperature sensor is used with microcontrollers to measure the temperature because it is cheap and easily available. But LM35 gives analog values and we need to convert them into digital using ADC (Analog to Digital Converter). But today we are using DS18B20 temperature sensor in which we don’t need an ADC conversion to get the temperature. Here we will use PIC Microcontroller with DS18B20 to measure the Temperature.

PIC Microcontroller ADC Tutorial

This is our 9th tutorial of Learning PIC microcontrollers using MPLAB and XC8. Till now, we have covered many basic tutorial like getting started with MPLABX, LED blinking with PIC, Timers in PIC, interfacing LCD, interfacing 7-segment etc. If you are an absolute beginner, then please visit the complete list of PIC tutorials here and start learning.

How to Interface 7 Segment Display with PIC Microcontroller?

Here is a tutorial to understand how 7 segment displays work and how can we interface it with a pic microcontroller PIC16F877A. Find the circuit diagram and code, along with detailed tutorial here.