Push button switch interfacing with pic microcontroller

In: Project Code: PE000008
Share

In this project we will interface a push button switch with PIC16F877A 8-bit microcontroller. If you are new to PIC microcontroller programming we suggest you to execute the basic led blinking project before trying this project. If you don't have your own hardware for this project, you can and access it remotely.

Complete this project and update to consider it for requirements and earn certificate.

course thumb

Project Content


Online courses related to this project


Course description

Learn to develop embedded systems, interfacing electronic peripherals through real time projects and get required practical skills for software jobs



Course description

Learn firmware development theory, applications, get practical skills from online tests, projects and earn certificate for software jobs

Required hardware and software


The required hardware and software for this project is as below:

  • A breadboard
  • A push button switch
  • Hookup cables
  • Development board hosting PIC16F877A 8-bit microcontroller
  • MPLAB IDE from Microchip
  • PICKIT3 Programmer, connecting cable from PICKIT3 to your computer.
  • Power supply for the development board

  • Switch connections


    An electrical switch is any device used to interrupt the flow of electrons in a circuit. Switches are essentially binary devices: they are either completely on (“closed”) or completely off (“open”).

    PORT B, PIN 5 is connected to one side of the push button switch. An external resistor is connected to VDD(+5V) on one end and to PORT B, PIN 5 on the other end. The +ve end of the led is connected to the PORTA, PA0 pin and -ve end of the led is connected to the ground through a 1K resistor.

    Prepare source code, Compiling source code, creating binary


    Prepare source code

    To Read Full Article

    Subscribe online courses

    Subscribe below to unlock project and earn certificates for software jobs

    Subscribe

    Looking for a new project? Write and upload your project information .
    Share


    Schedule a project

    Embedded Systems Projects

    Linux Software Projects

    Articles



     Online Certificate Courses

     Test your skills:online tests

     C Programming

     Python Programming

     Linux Software

     Quantitative Aptitude