Tutorials

  • Flashing an LED

      Today is our first session in PIC micro-controller lab, and we will begin with an experiment that flashes an LED on and off. While this looks very simple it is the best project to start because this makes sure that we successfully wrote the program, compiled it, loaded inside the PIC, and the circuit
  • LED Binary Counter

    Function            This projects counts up in binary and displays the result on eight LEDs connecting to PORTB of the micro-controller PIC 16F877A. Circuit Diagram            This circuit is very simple, consisting of the basic PIC16 microcontroller and eight LEDs connected to portb of the microcontroller. Each microcontroller output pin can sink up maximum of
  • Rotating LEDs

    Program Description In this project, 8 LEDs are connected to PORT B of a PIC microcontroller. The LEDs turn ON right to left (bit 0 towards bit 7) in a rotating manner, with a 1 second delay between each output where only one LED is ON at any time. If the LEDs are arranged in
  • Analog to Digital Converter

    Introduction The ADC is used to convert an analogue input signal(an analogue voltage within a specific range) to a corresponding digital data that can be processed and used by the PIC. The PIC, without the conversion to digital, can do almost nothing with an analogue input (unless you use the analogue comparator). But you probably
  • Timers Introduction

    Most microcontrollers provide hardware binary counters that allow a time interval measurement or count to be carried out separately from program execution. For example, a fixed period output pulse train can be generated while the program continues with another task. The features of the timers found in the typical PIC chip are represented in Figure
error: Content is protected !!