We will explore the methods of using the built in SPI module in PIC16F887 Microcontroller. According to the datasheet of the microcontroller there is built in SPI module available in the microcontroller which could make life lot of easier when it comes to the SPI Master Slave communication. There is Master Synchronous Serial Port (MSSP) […]
Category: Microchip PIC16
In the MikrC Pro compiler using the const code variables sometimes seems headache as a beginner. Specially if you are trying to write that string letterals to LCD and getting the error of illegal pointer errors. In this post, I am going to show a simple hack to display the const code variables to lcd […]
We are extending our previous example where I show how to receive data from UART in PIC CCS Compiler for PIC16f887 microcontroller. We received Serial Data and then we display UART received data to 9 digit 7 segment display. In the current example we are extending that previous code by implementing the Serial Interrupt or […]
PIC16F887 UART to 7 Segment
In this post we are going to extend our previous timer based 7 segment multiplexing code. We are going to add a UART in that code and will update the 9 digit 7 segment multiplexing. We will send the digits to be displayed on 7 segment which we send from the serial port using uart […]
In this post we are going to do 9 digit 7 segment multiplexing using timer0 interrupt in pic16f887 microcontroller using PIC CCS Compiler. Here is the complete code
Multiplexing 7 segment display is one of major problem. We try to solve this problem using RTOS in PIC CCS Compiler. In this blog post we demonstrated 9-digit seven segment multiplexing using PIC16F887 microcontroller. Required Components Here are the list of required components for driving 7 segment display with PIC16F887 microcontroller. Wiring Instructions PIC CCS […]
Matrix 4×4 keypad interfacing with pic microcontroller is another one of the most wide problem which we often face and in today’s tutorial we are going to explain the 4×4 keypad interfacing with pic16f877a microcontroller. It makes very special problem to not even decode the matrix 4×4 keypad but also to open the door of […]
In one of our last post we started the series of Assembly language programming of Microchip PIC. This is the continuation of the previous series. In this article we are going to explain the use of the ADC of pic microcontroller. Specially pic16f based microcontrollers. Although this code is generic and could be adapted to […]
PIC Microcontroller 16f887 assembly code example for LED blinking is very simple and easy to implement. This is why it is always recommended to blink an LED for any embedded system development beginner. The microcontroller PIC16F887 is used for demo purposes but this code is equally applicable to other variants of PIC16 micro-controllers, like PIC16F877A […]
Character LCD is very common and basic accessory, required in most of Embedded system projects. In today’s post we are making LCD Driver library(Compact Version) for our daily life project usage. Most of the code is inspired and borrowed from Flex-LCD Driver Library. In this driver we will only specific features which are required in our […]