Professional Documents
Culture Documents
Introduction
It was a six week internship in Embedded System to enhance my skills in Embedded System Design using 8051 microcontroller. It includes basic knowledge of * Digital And Analog Electronics * Architectural knowledge of 8051 * Programming skills in Assembly and C language * Various types of Interfacing like ADC ,DAC,LCD,LED,7 segment DC and Stepper Motor * A project on Hardware and Software * Detail knowledge of Kiel and Proteus
Institute Profile
Lovely Professional University is Indias private largest university It is recognized by UGC under Section 2(f) of UGC Act 1956 under state government It has wide range of cultural diversity The Lovely Faculty of Technology and Sciences was ranked 2 on the CSR-GHRDC Enineering Colleges Survey 2011 University was declared as the Best ICT Enabled University of the Year by the Ministry of Communications and IT, Government of India 50 Students were selected by an online examination conducted by university itself among all students of ECE department
remote control phone / mobile phone refrigerator microwave oven / rice or bread cooker watch alarm clock ,etc
1.Consumer Products
Microcontroller Family
8051: These microcontrollers are old but still trendy and most of the companies fabricate these microcontrollers. PIC- Programmable Interface Controller is usually referred as PIC. They are slightly older than 8051 microcontrollers but excel cause of their small low pin count devices. They perform well and are affordable. AVR(Advanced Version RISC) -In 1996, Atmel fabricated this single chip microcontroller with a modified Harvard Architecture. This chip is loaded with C- compiler Free IDE and many more features. This microcontroller is a bit difficult for the starters to handle.
8051 Family
It has following members with different salient features: 8051:-4kb ROM,8 bit microcontroller,128 Bytes RAM ,2* 16 Bit timer 8031:- 0kb ROM,8 bit microcontroller,128 Bytes RAM, two 16 timer, 4 I/O ports, Tx and Rx, 6 Interrupts, 40 pin IC 8052:-8Kb ROM,8 bit microcontroller ,256 Bytes RAM, 3* 16 Bit timer 4 I/O ports, Tx and Rx, 8 Interrupts, 40 pin IC
Project Description
My project includes two parts one is selection and other is execution. In this project we driving same Stepper Motor with different constraints or different movements . In this selection is made according to buttons pressed connected at port1. Accordingly, program is sent to different subroutine to different tasks.
Circuit Diagram
Sbit sw2=P1^2;
void Msdelay(); void main() { unsigned char ch; label:ch=P1;
ch=ch&0x07;
switch(ch)
Code:{ case 0: { P2 = 0xcc; Msdelay(); P2 = 0x66; Msdelay(); P2 = 0x33; Msdelay(); P2 = 0x99; Msdelay();