How to use interrupts in microcontrollers
In this tutorial we will learn how to use external interrupts in PIC microcontrollers. We will go in depth on how to set it up in hardware, and how to configure it correctly within the program. For the examples we will use microcontrollers from the PIC16F family; in particular the ...
Interfacing 4×3 keypads with PIC16F877A
In this tutorial, we will provide an overview of the 4x3 membrane keypad. The keypad serves as a reliable and budget-friendly tool for having inputs in your project. Understanding how to interface with the keypad will prove useful in future projects that require menu selection or similar inputs. Our guide ...
Control Possibilities with PIC16F877A: Relays, Optos, H Bridges (Part 3 of 3)
Most microcontrollers have limited current sink or current source on their pins, including the PIC16F877A. However, certain projects may require larger currents than the maximum current source of 25mA for this microcontroller. As discussed in the previous two parts of this series, Bipolar Junction Transistors and MOSFETs can be used ...
Interfacing PIC16F877A with MOSFETS (Part 2 of 3)
Most microcontrollers have a limited current sink or current source on the pins, the PIC16F877A is no exception. However, for certain projects you may want to use larger currents then just 25mA, which is the max current source for this microcontroller. For those kind of projects you'll have to resort ...
Interfacing PIC16F877A with transistors (Part 1 of 3)
Most microcontrollers have a limited current sink or current source on the pins, the PIC16F877A is no exception. However, for certain projects you may want to use larger currents then just 25mA, which is the max current source for this microcontroller. For those kind of projects you'll have to resort ...
74HC595 Shift Register interfacing with PIC16F877A
In this tutorial, we will discuss how to interface a 74HC595 Shift Register with a PIC microcontroller. The 74HC595 is a popular integrated circuit (IC) that serves as a shift register with output latches. It is often used in digital electronics and microcontroller projects to expand the number of output ...
Port-based configuration and signal manipulation in PIC16F877A
We need to set certain pins to work as General Purpose Input and Output. To do this, we need to look at the 8-bit TRIS register in the PIC16F877A datasheet. An example of port A and B can be seen in the figure below. This data has been taken out ...
Pin diagram of the PIC16F877A microcontroller
For accurate and dependable information, referring to the datasheets provided by Microchip Technology is advisable; these documents can be accessed here. Additionally, a brief overview of the pin diagram is recommended, detailing their functionalities and locations.
Introduction to the PIC16F877A microcontroller
A microcontroller can be considered as a computing system with similar functionality to a personal computer. However, it is important to note that a personal computer is more sophisticated due to its multiple components, such as the CPU, memory, and serial interfaces, which are all integrated into a single chip ...