0% found this document useful (0 votes)
68 views

Lab#06 Lab Name: Led Blinking by Using 8051

This lab document describes blinking an LED using an 8051 microcontroller. The objective is to become familiar with blinking an LED in an 8051 using assembly code. The circuit includes an 8051 microcontroller, LED, wires, and power supply. The assembly code turns the LED on and off by setting and clearing a port pin in an infinite loop. When run in Proteus, the output is the LED blinking continuously.

Uploaded by

farheen khoso
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

Lab#06 Lab Name: Led Blinking by Using 8051

This lab document describes blinking an LED using an 8051 microcontroller. The objective is to become familiar with blinking an LED in an 8051 using assembly code. The circuit includes an 8051 microcontroller, LED, wires, and power supply. The assembly code turns the LED on and off by setting and clearing a port pin in an infinite loop. When run in Proteus, the output is the LED blinking continuously.

Uploaded by

farheen khoso
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Microcontroller and Microprocessor lab 6

Lab#06
Lab name: Led blinking by using 8051
6.1 Lab 0bjective:
To become familiar how to blink led in 8051 using assembly
6.2 Pre lab reading:
Book: the 8051 microcontroller and embedded systems, edition second, Author Muhammad
Ali mazidi, chapter 03, and topic: simple led blinking program
6.3 Equipment:
Proteus 8, power supply
6.4 components:
8051 microcontroller, led, wires,
6.5 circuit:

6.6 code:
Org 00H
main:
here: setb p1.0
CPL p1.0
SJMP here
End

1
21395
Microcontroller and Microprocessor lab 6

6.7 Output:

6.8 Exercise/procedure:
Open the software proteus 8 and go for the new project select the default schematic. Now
select the controller and write the code and check the errors if any then remove it. Select all
the components from library and connect all the components. Once the simulation is done
then run it and see the output.
6.9 Notes:
Here we will observe the led it will blink continuously

2
21395
Microcontroller and Microprocessor lab 6

6.10 Assessment sheet:


CMS ID: 21395
DATE: 11-05-2015

1-led blinking
Problem Number
2-using 8051

Working
Lab Performance
Viva

Total Score in Lab#6

Instructor's Verification

3
21395

You might also like