GithubHelp home page GithubHelp logo

atick-faisal / pic16f877a Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 7.0 14.21 MB

PIC16f877a basics with MPLAB X IDE and XC8 compiler

Home Page: https://atick.dev/PIC16F877a/

License: GNU General Public License v3.0

Makefile 44.23% C 37.80% Shell 17.97%
pic microcontroller c xc8-compiler pic16f877a

pic16f877a's Introduction

PIC16F877a

PIC16f877a basics with MPLAB X IDE and XC8 compiler

Open Source Love GPL Licence Maintenance

1. Contents:

2. Required Softwares

3. How to Use

  • All the codes are written based on the pic16f877a Datasheet. The datasheeet provided here contains all the necessary registers and bits descriptions. The Datasheet folder also contains user manual for Mplab X IDE and Pickit3.
  • Source codes are written in main.c file inside the Project Directory
  • Simulation Files can be found inside Proteus Simulation directory under Project Directory

4. Running a project:

  • Open the project in MPLAB X IDE
  • Open main.c file inside source
  • Click on the build icon on the top
  • A .hex file is generated inside Project Folder > dist > default > production > filename.hex
  • Open the Simulation file (with a .pdsprj extension) in Proteus
  • Double Click on the mcu to bring out the configuration menu
  • Browse and select the .hex file and click Ok
  • Click on the run button at the bottom to simulate

5. PIC16F877A Pinout Diagram

PIC16F877a is a powerful (200 nanosecond instruction execution) yet easy-to-program (only 35 single word instructions) CMOS FLASH-based 8-bit microcontroller packs Microchip's powerful PIC® architecture into an 40- or 44-pin package and is upwards compatible with the PIC16C5X, PIC12CXXX and PIC16C7X devices. The PIC16F877A features 256 bytes of EEPROM data memory, self programming, an ICD, 2 Comparators, 8 channels of 10-bit Analog-to-Digital (A/D) converter, 2 capture/compare/PWM functions, the synchronous serial port, Asynchronous Receiver Transmitter (USART). All of these features make it ideal for more advanced level A/D applications in automotive, industrial, appliances and consumer applications.

6. Pickit3 Connections

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer.

License

licensebuttons by-nc-sa

This work is licensed under GNU General Public License v3.0.

pic16f877a's People

Contributors

atick-faisal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.