You are on page 1of 29

INDUSTRIAL TRAINING REPORT

Ashish Kumar 17-Oct-2k12

Basic Robotics And Embedded System

Topics
Embedded system 8051 microcontroller Specifications Programming a microcontroller Simulation and Burning Application of Embedded System

Embedded System
Hardware: Software:

Single Chip Capable of The Set of instructions Given to the chip. Performing a specific Set of Tasks

Choosing Chip
Interfacing various interaction devices.

Which language to Choose Will the chip understand the language

Embedded System
Choosing a Chip
Microprocessor No RAM No ROM No I/O ports. Microcontroller CPU (microprocessor) RAM ROM I/O ports Timer ADC and other peripherals

Embedded System
Choosing a Chip
Which Micro Controller ? 8051 ARM AVR PIC Other Options VLSI technology FDGA PLC SCADA

Topics
Embedded system 8051 microcontroller Specifications Programming a microcontroller Simulation and Burning Application of Embedded System

8051 uC
8051 specifications
8 bit ALU 4 I/O port 8 bit each 128 byte RAM 4K ROM 2 Timers 1 SID /SOD Port 6 interrupt lines

8051 uC
8051 Pins Diagram

8051 uC
8051 Programming
1. Ports Programming 2. Timers programming 3. Serial data communication programming 4. Interfacing External RAM and ROM 5. Use of interrupts for special purpose.

Topics
Embedded system 8051 microcontroller Specifications Programming a microcontroller Simulation and Burning Application of Embedded System

8051 Programming
Choice of Language
1. C Language is used for programming 2. This was written in KIEL software and 3. This is converted to hex file and then used by 8051 Other Choices of language

Assembly C++

8051 Programming
Integrated Development Environment

8051 Programming
Integrated Development Environment Editor Assembler Linker Object to hex convertor

8051 Programming
Writing a programm in KEIL Open KEIL software Select project>new uVeision project Give project a name New window will appear Select your microcontroller (e.g.NXP 80c31 Now click file> new Give file name a SAMPLE_NAME.c Write the program.

8051 Programming
Writing a programm in KEIL Interfacing a FND (7 segment display)

8051 Programming
Program in KEIL Interfacing LCD (16x2)
Microcontrolle r
E R/W communications bus

80c51

RS DB7DB0

8
LCD controller

LCD Module

8051 Programming
Programs In KIEL Keyboard interfacing
F B 7 E A 6 D 9 5 C 8 4
R1 R2 R3 R4

0
C1 C2 C3 C4

8051 Programming

Topics
Embedded system 8051 microcontroller Specifications Programming a microcontroller Simulation and Burning Application of Embedded System

Embedded System Simulation and Burning

Embedded System Burning

Embedded System Burning

Embedded System Burning

Topics
Embedded system 8051 microcontroller Specifications Programming a microcontroller Simulation and Burning Application of Embedded System

Embedded System Application


Air conditioner ATM machine Battery charger Digital camera DVD player Fax machine Home security system Mobile phone Modem

Navigation system PDA Photocopier Printer Router Scanner TV Video game console Wearable computer

THANKS

QUESTIONS?

You might also like