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...

Intermediate switch connection and wiring diagram

Intermediate switch An intermediate switch is a switch which permits the control of a lighting point from three positions. In order to control this lighting point from the three positions, the intermediate switch is connected together with two other 2-way switches. Application: it can be used in lighting a room or hall having 3 entrances , it can also be used in long corridors and staircases. We shall be looking at these connections. Connection diagram of intermediate switching Below is an illustration of the connection. The brown lines indicated on the diagram are the switching contacts. The switch labelled 2 is an intermediate switch . The figure below is the configuration of an intermediate switch. The switch labelled 1 and 3 in the first diagram are two-way switches.  Click here to know more about two-way switches . ON and OFF positions of intermediate switching ON positions OFF positions Staircase wiring layout using an inte...

GCE Syllabus and Scheme of work Cameroon technical and general schools

Syllabus Electrical Technology ( for Electrotechnics, Electronics and Air-conditioning), Mechanical ( Automobile, sheet metal ), civil engineering (plumbing, wood works, building and public works), tailoring General education is also available down In Cameroon, a syllabus  is a guideline defining the structure and the content of a course. Have you be searching for this? Your problem is solved Download is available at the bottom page The scheme of work is a guide used to monitor the progress of a course based on an original plan. Hence it can be viewed as interpretation of a syllabus.  Teachers use it as a harmonised guide in a particular territory like in Cameroon, in order to attain the same general and specific objectives all over the educational institutions. Speciality include: Electrotechnics Electronics  Air-conditioning Title of module (Subjects): Electricity/Electronics. Its is commonly called in Cameroon ELEC-ELO Technology and Electrical...