Make an LED Blink Using ATMEL 89C51

3
Make an LED blink using ATMEL 89C51 This is by far one of the simplest things to do. Every beginner can try this out POWER SUPPLY For the power source, you can use a 9 volts battery available anywhere, . Schematics

description

This is a simple experiment to make an LED blink using ATMEL 89C51. It contains schematics, sources code and pictures.

Transcript of Make an LED Blink Using ATMEL 89C51

Page 1: Make an LED Blink Using ATMEL 89C51

Make an LED blink using ATMEL 89C51

This is by far one of the simplest things to do. Every beginner can try this out

POWER SUPPLY For the power source, you can use a 9 volts battery available anywhere,

.

Schematics

Page 2: Make an LED Blink Using ATMEL 89C51

Source Code (asm) #INCLUDE “8051EQU.INC”; .ORG #00H; MOV P1,#00H;

HERE: CPL P1.0; MOV R1,#0FFH;

BACK2:MOV R0,#0FFH;BACK: DJNZ R0,BACK;

DJNZ R1,BACK2; SJMP HERE; .END;

My experiment