© All rights reserved. Powered by Florisera.

RSS Daily tech news
  • Spinning, twisted light could power next-generation electronics
    Researchers have advanced a decades-old challenge in the field of organic semiconductors, opening new possibilities for the future of electronics. The researchers have created an organic semiconductor that forces electrons to move in a spiral pattern, which could improve the efficiency of OLED displays in television and smartphone screens, or power next-generation computing technologies such […]
  • Breakthrough nano-spring technology boosts battery durability and energy density
    Scientists improved battery durability and energy density with a nano-spring coating.
  • Scientists discover smart way to generate energy with tiny beads
    Researchers have discovered a new method to generate electricity using small plastic beads. By placing these beads close together and bringing them into contact, they generate more electricity than usual. This process, known as triboelectrification, is similar to the static electricity produced when rubbing a balloon against hair.
  • Building bridges in physics
    Researchers show that Cartan's First Structure Equation, which relates to edge and screw dislocations in crystal lattices, can be recast in the same form as a basic mathematical formula that governs the behavior of electric currents and magnetic fields. This work can help make new concepts more understandable by employing more familiar frameworks.
  • 'Nanodot' control could fine-tune light for sharper displays, quantum computing
    Newly achieved precise control over light emitted from incredibly tiny sources, a few nanometers in size, embedded in two-dimensional materials could lead to remarkably high-resolution monitors and advances in ultra-fast quantum computing, according to an international team.
  • Super sapphire resists scratches, glare, fog and dust
    Researchers have discovered techniques to bestow superpowers upon sapphire, a material that most of us think of as just a pretty jewel.

Pin diagram of the PIC16F877A microcontroller

by Florius
Featured image of the Pin diagram of the PIC16F877A microcontroller

Pin diagram

The important pins

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. Let’s begin by outlining the pins essential either for MCU operation or Pickit3 programmer-based programming:

  1. Pin 1 houses the MLCR/VPP, serving as a microchip reset mechanism.
  2. Pins 11 and 32, designated as VDD, necessitate a voltage range of 3.3V to 5V for proper functioning.
  3. Pins 12 and 31, denoted as VSS, are connecting to the ground
  4. To establish a connection with the Pickit3 programmer, pins 40 and 39 host PGD and PGC, respectively.
  5. Pins 13 and 14, namely OSC1 and OSC2, deliver a stable clock signal to the microcontroller. When utilizing the Pickit3 programmer, connecting these pins is unnecessary, thanks to the internal oscillator within the programmer facilitating MCU programming.

 

The exact method to program with your PICKIT3 programming tool, can be found here.

Pin diagram of the PIC16F877A; Programming pins
Pin diagram of the PIC16F877A; Programming pins
Pickit3 programming pins
Pickit3 programming pins

Port structure in the PIC16F877A

The PIC16F877A has 5 ports, namely A to E, where each pin can be configured as an input or output. However, it is important to note that not all ports consist of the same number of bits, due to some pins being taken by VSS or VDD, for example. In detail, port A consists of 6 bits, ports B, C, and D have 8 bits, while port E consists of only 3 bits.

Apart from being used for General Purpose Input Output (GPIO), most pins on this MCU have dedicated roles for specific functions. For instance, some pins on port C function as the TX and RX pins for the UART communication module, enabling the transmission and reception of serial data. Additionally, analog input channels for the ADC module on ports A and E can convert analog signals into digital values, opening up opportunities for further processing. When choosing IO pins, check the requirements of your project adequately to make the best possible decisions.

Pin diagram of the PIC16F877A; The PORT structure

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Visual Portfolio, Posts & Image Gallery for WordPress