0% found this document useful (0 votes)
177 views12 pages

Embedded System Final

1. Ganesh Magar, a student at Government Polytechnic Pen, completed a microproject on developing a program to turn on an LED with a key press under the guidance of Smt. Jyoti Mane. 2. The project involved interfacing an LED and push button with an 8051 microcontroller and writing code to light the LED when the button is pressed. 3. Skills developed include building embedded programs, communication, and leadership from working with a team member on the project.

Uploaded by

aadityamahadik00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views12 pages

Embedded System Final

1. Ganesh Magar, a student at Government Polytechnic Pen, completed a microproject on developing a program to turn on an LED with a key press under the guidance of Smt. Jyoti Mane. 2. The project involved interfacing an LED and push button with an 8051 microcontroller and writing code to light the LED when the button is pressed. 3. Skills developed include building embedded programs, communication, and leadership from working with a team member on the project.

Uploaded by

aadityamahadik00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

GOVERNMENT POLYTECHNIC PEN

DEPARTMENT OF INSTRUMENTATION AND CONTROL ENGINEERING

A Project On
Embedded System

Develop and test program to turn on LED with key press

Class: IC5I
Academic year: 2023-2024

Summited By

Sr.No. Name of Students Roll No.

1. Ganesh Ramesh Magar 3409

Guided By
Smt. Jyoti Mane
GOVERNMENT POLYTECHNIC PEN

2023-2024

DEPARTMENT OF INSTRUMENTATION AND CONTROL ENGINEERING

CERTIFICATE

This is to certify that following student of Third Year Instrumentation And Control
Engineering completed the project work on “Develop and test program to turn on LED
with key press” as a partial fulfilment and academic requirement for diploma in
Instrumentation and control engineering as prescribed by MSBTE.

Sr.No Name of Students Roll No.

1. Ganesh Ramesh Magar 3409

Smt. Jyoti Mane Smt. Jyoti Mane Dr. Nitin G. Kulkarni


(Micro-Project Guide) (Head of Department) (Principal)

ACKNOWLEDGEMEMT
It is with profoundly sense of gratitude that we acknowledge from our guide Smt.Jyoti
J.Mane she has been guide in the true sense of word a guide who satisfaction from our word
& progress.

We are highly obliged to Smt. Jyoti J.Mane head of Instrumentation Department for
aberrance & good co-operation given to us fur bringing this project to almost standard.

We are grateful to our principal Dr. Nitin G. Kulkarni for proceeding acknowledgement to
us in the connection of this project concluding. We appreciate the assistance of all staff that
helps us in for their sincere& obliging help to make our project successfully.
Part- A

• Title of Micro-Project : Develop and test program to turn on LED with key Press.

• Course outcome: Develop basic applications using embedded systems

• Brief Introduction :

8051 Microcontroller is a programmable device which is used for controlling Purpose.


Basically 8051 controller is Mask programmable means it will Programmed the time of
manufacturing and will not programmed again, There is a derivative of 8051 microcontroller,
89c51 micro controller which is Re-programmable. 89c51 is 8-bit device means it is capable
of doing 8-bit Operations. It have 4 ports which are used as input or output according to your
Need. This device also have Timer, Serial Port interface and Interrupt Controlling you can
use these according to your need.LED is a semiconductor device used in many electronic
devices, mostly used for Indication purposes. It is used widely as indicator during test for
checking the Validity of results at different stages.It is very cheap and easily available in
Variety of shape, color and size. The LEDs are also used in designing of message Display
boards and traffic control signal lights etc. A Led blinking is a basic program. In this article,
we will learn how to interface led with 8051 micro-controller. The 8051 is basic micro-
controller and it’s the best for a beginner. In 8051 when we have turned the power on, all I/O
pins have the high value. Means that initially all I/O pins work as input except PORT 0
because in 8051 all ports have the inbuilt pull-up resistor except PORT 0.
• Action Plan
Name of
responsible team
Sr.N Details of activity Planned start Planned end member
o date date

1 Searching 07/08/2023 14/08/2023 Ganesh Magar


information of
project

2 Preparation of 18/08/2023 24/08/2023 Ganesh Magar


Micro-project
proposal

Submission of 28/08/2023 08/09/2023 Ganesh Magar


Micro-project
3
proposal

Preparation of 12/08/2023 21/092023 Ganesh Magar


Micro-project
4

Checking of Report 25/092023 05/10/2023 Ganesh Magar


from teacher and
5
finalization of report

Typing of micro 07/10/2023 18/10/2023 Ganesh Magar


project
6

Submitting Micro- 20/10/2023 2/11/2023 Ganesh Magar


project
8
Resources Required
S. No. Name of Resource/material Specifications Quantity

1 Microcontroller kit (89C51) Single board system,8k Ram -


and Rom, 16×4,32×4 LCD
display, interfacing capability

2 Google Chrome - -

3 Desktop PC Loaded with software -

4 LED, Switch Push to on,5mm/3mm -

Guided By
Smt. J .J. Mane
Part B

Title of Micro-Project – Develop and test program to turn on LED with key
Press.

Course outcome: Develop basic applications using embedded systems.

Brief Description:

8051 Microcontroller is a programmable device which is used for controlling


Purpose. Basically 8051 controller is Mask programmable means it will
Programmed the time of manufacturing and will not programmed again, There
is a derivative of 8051 microcontroller, 89c51 micro controller which is Re-
programmable. 89c51 is 8-bit device means it is capable of doing 8-bit
Operations. It have 4 ports which are used as input or output according to your
Need. This device also have Timer, Serial Port interface and Interrupt
Controlling you can use these according to your need. LED is a semiconductor
device used in many electronic devices, mostly used for Indication purposes.

When push button (switch) is pressed by user the LED connected with ages!
Microcontroller will glow, when the button is released LED switches off
Microcontroller used in the project is 8gest You can also use any other 8051
series microcontroller’s in your switch and LED.

• How One LED is interfaced with microcontroller

One end (cathode or anode) of LED is Connected to microcontroller pin and the
other with power Toil In the below picture LED cathode is connected to
microcontroller directly and anode Is connected to +5 Volts Source in series
with Resistor. Resistor is used to limit the current.

When microcontroller pin is made low. Microcontroller. Start pin flowing from
becomes ground. And current 5 Volt Source to ground making LED switch on.

When microcontroller pin is made high. Microcontroller pin becomes high and
current Will find no way to flow and LED Switch off.

Same like LED, push button (switch) is interfaced with microcontroller


• Circuit diagram

• Code

#include <reg51.h>

Sbit LED pin-P2^0;

Sbit KEY pin PO^0,

Void delay_ms(unsigned int);

Void main (void)

KEY_pin=1;

LED_pin=0;

LED_pin=1;

While(1)

{
If(KEY_pin==0)

LED_pin = 0;

Delay_ms(200);

LED_pin = 1;

void delay_ms(unsigned int k)

for(i=0;i<k:i++);

for(j=0;j<1275;j++);

• Actual Procedure followed:-

1. We search the information on the internet.


2. Then we collect some data.
3. We research some information related to them.
4. We prepared report using collected data.
5. Type the project report.
6. We checked the report from teacher and finalization.

• Aim of microproject
Develop and test program to turn on LED with key Press.
• Actual Resources
S. No. Name of Resource/material Specifications Quantity

1 Internet to search Board Band -

2 Microcontroller kit (89C51) Single board system,

8k Ram and Rom,


16×4,32×4LCD display,
-ka
interfacing capability

3 Book - -

4 Manual - -

• Output of microproject
• Skill Developed / learning out of this Micro-Project
Our leadership developed when we work for microproject with our team member. Our
communication skill developed.
Build program for project.

• Reference
• https://www.miet.ac.in/assets/uploads/ec/lab_manuals/
Microcontroller%20for%20Embedded%20Systems%20RIC-651.pdf
•https://www.c-sharpcorner.com/UploadFile/7d4524/led-onsharp47off-using-push-button/

Guided by
Smt.Jyoti Mane

You might also like