Professional Documents
Culture Documents
Internship Report - Embedded System.
Internship Report - Embedded System.
INTERNSHIP REPORT
Internship Report P a g e 1 | 30
Table of Contents:
4. What is a MicroController?
5. Microprocessor vs MicroController
7. Popular Microcontrollers
Internship Report P a g e 2 | 30
11. Hardware Structure of I/O Pin
o Simply, we can call any electronic device that has a computer system
Internship Report P a g e 3 | 30
o The microprocessor is the core of computer systems.
by them.
o Embedded systems are made to perform few tasks only, after implementation
o Ex. You can’t watch movies using the microprocessor of your microwave
oven!!
Internship Report P a g e 4 | 30
2. Embedded Systems Examples
Internship Report P a g e 5 | 30
o Personal digital assistants (PDAs)
o Telephones/cell phones
o Cameras
Internship Report P a g e 6 | 30
4. What is a MicroController?
i. It’s a full computer system on a chip, even if its resources are far
iv. a flash memory, RAM, I/O ports, serial communication ports, ADC …
Etc.
v. A Timer Module to allow the MCU to perform tasks for certain time
periods.
Internship Report P a g e 7 | 30
vi. A Serial I/O Port to allow data to flow between the MC and other
vii. An ADC to allow the MCU to accept analog inputs for processing.
ix. circuits to support it like: I/O devices, RAM, ROM, DMA controllers,
5. Microprocessor vs MicroController
Internship Report P a g e 8 | 30
Internship Report P a g e 9 | 30
Internship Report P a g e 10 | 30
6. Pin description of 8051 Microcontrollers
Vcc(pin 40):
GND(pin 20):ground
RST(pin 9):reset
– It is a power-on reset.
Internship Report P a g e 11 | 30
Upon applying a high pulse to RST, the microcontroller will reset and all values
– The /EA pin is connected to GND to indicate the code is stored externally.
– The ALE pin is used for de-multiplexing the address and data by connecting to
7. Popular Microcontrollers
8051 (Intel and others)
80386 EX (Intel)
PIC (Microchip)
68HC05 (Motorola)
Internship Report P a g e 12 | 30
Z8 (Zilog)
o • speed, the amount of ROM and RAM, the number of I/O ports and
o • easy to upgrade
support
Timer
Interrupt
Serial Port
Parallel Port
Internship Report P a g e 13 | 30
o – Port 0 (pins 32-39):P0(P0.0~P0.7)
– 2 Tri-state buffer:
– A transistor M1 gate
Gate=0: open
Gate=1: close
Internship Report P a g e 14 | 30
A Pin of Port 1
Writing “1” to Output Pin P1.X Writing “0” to Output Pin P1.X
AT89C51, which is an 8051 family microcontroller. We use LCD display for the
displaying messages in a more interactive way to operate the system or displaying error
Internship Report P a g e 15 | 30
messages etc. Interfacing 16×2 LCD with 8051 microcontroller is very easy if you
Hence, in this project, I will not only give the information of LCD and also provide the
16×2 Liquid Crystal Display which will display the 32 characters at a time in two rows (16
characters in one row). Each character in the display is of size 5×7 pixel matrix. This
matrix differs for different 16×2 LCD modules, if you take JHD162A, this matrix goes to
5×8. There are 16 pins in the LCD module, the pin configuration us given below
Internship Report P a g e 16 | 30
Follow these simple steps for displaying a character or data
Commands: There are some preset commands which will do a specific task in the LCD.
These commands are very important for displaying data in LCD. The list of commands
given below:
COMMAND FUNCTION
For switching on LCD, blinking the
0F
cursor.
1 Clearing the screen
2 Return home.
4 Decrement cursor
6 Increment cursor
E Display on and also cursor on
Force cursor to beginning of the first
80
line
Force cursor to beginning of second
C0
line
38 Use two lines and 5x7 matrix
83 Cursor line 1 position 3
3C Activate second line
0C3 Jump to second line position 3
0C1 Jump to second line position1
Internship Report P a g e 17 | 30
13. Interfacing 16×2 LCD with 8051 Circuit Diagram
Internship Report P a g e 18 | 30
Push Button
10μF/16V Capacitor
8051 Programmer
5V Power Supply
Connecting Wires
STEP1: Initialization of LCD.
STEP2: Sending commands to LCD.
STEP3: Writing the data to LCD.
Internship Report P a g e 19 | 30
Initializing LCD
To initialize LCD to the 8051 the following instruction and commands are
to be embed in to the functions
#include<reg51.h
>
#define lcd P0
sbit rs=P2^0;
sbit e=P2^1;
Internship Report P a g e 20 | 30
unsigned char custom_char[]= {0x00,0x04,0x0E,0x04,0x15,0x0E,0x04,0x00,
0x00,0x04,0x0E,0x0E,0x0E,0x1F,0x04,0x00,
0x00,0x0A,0x15,0x11,0x11,0x0A,0x04,0x00,
0x0E,0x11,0x11,0x1F,0x1B,0x1B,0x1B,0x1F,
0x0E,0x11,0x10,0x1F,0x1B,0x1B,0x1B,0x1F,
0x00,0x0E,0x15,0x1B,0x0E,0x0E,0x00,0x00,
};
Internship Report P a g e 21 | 30
cmd(0x80);
}
Internship Report P a g e 22 | 30
display(3);
display(4);
display(5);
while(1);
}
Consistently delivering mission, our team has been delivering technically challenging
projects under tight timelines, while also providing exceptional customer service and
support to our clientele. This in turn has led to extremely positive long-term working
Internship Report P a g e 23 | 30
relationships all over. Our detailed project process was created to ensure our projects
management.
Internship Report P a g e 24 | 30
We are one of the largest suppliers of automotive electrial parts in
units, relays, etc for many applications ranging from passenger cars,
Internship Report P a g e 25 | 30
Our Products
6.1 Mission
Provide cost effect high quality innovative solution & services, powered by state-
• Explore
• Innovate
• Improve
existing solutions and develop new products. Kaashiv Infotech is transparent and
Internship Report P a g e 26 | 30
6.2 Company Values
Kaashiv Infotech respects and seeks to maintain the highest standards of fairness,
Internship Report P a g e 27 | 30
• Total customer satisfaction, continuous improvement and total
involvement.
quality.
Keep pace with change and continuously strive for innovation while keeping in
step with modern technology and methodology. Our core value centers on total
Internship Report P a g e 28 | 30
6.3 Company Infrastructure
all over the India &abroad .Kaashiv Infotech was formed with a clear goal to
Internship Report P a g e 29 | 30
• Redundant Power backups through Generators and Inverters
Internship Report P a g e 30 | 30