Skip to main content

social

pop

Interfacing LED: Chasing LED (LED chaser)

 CHASING LEDs                   

In this project  8 LEDS are connected to PORTC of PIC 18F452 microcontroller and
the microcontroller is operated from a 4MHz resonator. The program turns on the
LEDs in a sequencial manner with a 1 second delay between each input. The net
result is that the LEDs seems to be chasing each other.
Chasing Led

Chasing led with pic microcontroller

Interfacing LED chaser with PIC using Proteus and mikro code

Video caption
watch step by step video procedure, Click here
Don't forget to subscribe

The code below is written in mikroC PRO for PIC.

Author; Ek electrical technologies.
Date; 16TH July 2019
File; CHASING_LEDS.C
*******************************************************************************/

void main() {
  unsigned char J=1 ;
  TRISC=0X00;             // configure PORTC as Output
  PORTC=0X00;            // initialise PORTC, LEDs OFF
  for(;;)               // endless loop

  { PORTC= J;           // send J to PORTC
  DELAY_MS(1000);       // delay 1 second
  J=J<<1;               // shif left J
  if(J==0) J=1;         // if last LED, move to first LED
  }
}

To watch step by step procedure, Click here
Don't forget to subscribe

Popular posts from this blog

How to Install Proteus 8 Professional: A Step-by-Step Guide

 How to Install Proteus 8 Professional: A Step-by-Step Guide Proteus 8 Professional is a powerful tool for electronic circuit design and simulation. Whether you’re a student, hobbyist, or professional engineer, following a clear installation process ensures you get started without headaches. Are you ready to start designing and simulating electronic circuits with Proteus 8 Professional!   Here’s a comprehensive, guide to installing Proteus 8 Professional on your Windows PC. Step 1: Download the Installer ·        Visit the official Labcenter Electronics website or another trusted source to download the Proteus 8 Professional installer. Avoid unofficial sources to prevent malware or corrupted files . You can download from HERE DOWNLOAD PROTEUS AND ARDUINO ·        The installer typically comes as a ZIP file. Wait for the download to finish and locate it in your Downloads folder Step 2: Extract the Installer...

PAST GCE QUESTIONS AND SOLUTIONS

 GCE PAST QUESTIONS AND SOLUTIONS TECHNICAL GCE ITVE and GCE ATVE Questions and Answers DOWNLOAD All ELECTRICAL POWER SYSTEM   DOWNLOAD All ELECTRONICS   DOWNLOAD All AIR CONDITIONING DOWNLOAD All MECHANICAL MANUFACTURING DOWNLOAD All AUTOMOBILE MECHANICS DOWNLOAD All SHEET METAL DOWNLOAD All WOOD WORKS    DOWNLOAD All BUILDING CONSTRUCTION DOWNLOAD All TOPOGRAPHY DOWNLOAD All CIVIL ENGINEERING DOWNLOAD All COMPUTER SCIENCE   DOWNLOAD All ICT DOWNLOAD All  ICT DOWNLOAD All CHEMICAL ENGINEERING DOWNLOAD All TOURISM DOWNLOAD All ACCOUNTING DOWNLOAD All  ICT DOWNLOAD All MATHEMATICS DOWNLOAD All LAW DOWNLOAD All ENGINEERING SCIENCE GENERAL EDUCATION GCE QUESTIONS AND SOLUTION DOWNLOAD All MATHEMATICS DOWNLOAD All FURTHER MATHEMATICS DOWNLOAD All ADDITIONAL MATHEMATICS DOWNLOAD All PHYSICS DOWNLOAD All BIOLOGY DOWNLOAD All HUMAN BIOLOGY DOWNLOAD All  ICT DOWNLOAD All CHEMISTRY DOWNLOAD All GEOGRAPHY DOWNLOAD All ECONOMICS DOWNLOAD All HISTORY D...

Download HND Past Questions and Solutions

Download Cameroon HND Past Questions & Solutions Boost your exam prep with past papers and answers across all fields! How to Access Past Questions Visit the Cameroon HND Platform or trusted sites like EKETECH . Browse by field : Select your program (e.g., Civil Engineering , Banking and Finance , Nursing ). Download PDFs for free or via subscription. Practice with solutions : Review answers to refine your understanding. Fields of Study Covered Past questions are available for all HND programs in Cameroon, including: Engineering Civil Engineering Design Software Engineering Electrical Power Systems Telecommunication Mechanical Engineering Computer Engineering Medical Sciences Nursing Medical Laboratory Studies Health Care Management Physiotherapy Nutrition and Dietetics Agriculture Agribusiness Management Agricultural Engineering Food Technology Integrated Agriculture Business Accounting Banking and...