Mega Sasta


Course=Embedded for       Subject=8051 pin and LCD

Question no-1
To read value of hour register in DS1307 using 8051 we have to send slave address using embedded c is


Optional Answers

(a)                  0x00

(b)                  0x02

(c)                  0xd1

(d)                  0xa1

Sollution

(c)                  0xd1

Question no-2
Function in embedded c send Command 0x38 from 8051 controller to 16x2 character LCD results


Optional Answers

(a)                  shift display left

(b)                  Initialize LCD with 2 line and 5x7 matrix display

(c)                  Return home

(d)                  none of the above

Sollution

(b)                  Initialize LCD with 2 line and 5x7 matrix display

Question no-3
Third pin of 16x2 LCD is


Optional Answers

(a)                  control contrast of LCD

(b)                  Select LCD

(c)                  Enable pin of LCD

(d)                  +LED pin of LCd

Sollution

(a)                  control contrast of LCD

Question no-4
To send start command from 8051 to 24c02 EPROM using embedded c


Optional Answers

(a)                  SDO pin goes from high to low and SCLK remains on high

(b)                  SDA pin goes from high to low and SCL remains on high

(c)                  SDA pin goes from low to high and SCL remains on high

(d)                  SDO pin goes from high to low and SCLK remains on low

Sollution

(b)                  SDA pin goes from high to low and SCL remains on high

Question no-5
To re-initialize CS5460 using 8051 in embedded c


Optional Answers

(a)                  Send SYNC0 for two times and SYNC1 for 1 time

(b)                  Send SYNC1 for four times and SYNC0 for 1 time

(c)                  Send SYNC0 for five times and SYNC1 for 1 time

(d)                  SDA pin goes from high to low and SCL remains on high

Sollution

(b)                  Send SYNC1 for four times and SYNC0 for 1 time

Question no-6
Crystal we can use with CS5460


Optional Answers

(a)                  1Khz

(b)                  100Khz

(c)                  4Mhz

(d)                  100Mhz

Sollution

(c)                  4Mhz

Question no-7
if P1.1 is connected with P2.1 externally then output on P1.1 in below embedded c program of 8051 is
sbit i=P2^1;
sbit o=P1^1;
void main()
{
while(1)
{
i=1;
o=!i;
}
}


Optional Answers

(a)                  Logic High on P1.1 of 8051

(b)                  Logic Low on P1.1 of 8051

(c)                  High impedence on P1.1 of 8051

(d)                  Generates a square wave on P1.1 of 8051

Sollution

(d)                  Generates a square wave on P1.1 of 8051

Question no-8
Pin 18 of 128X64 graphical LCD generates -10V to


Optional Answers

(a)                  Just a new feature

(b)                  use for control contrast of LCD

(c)                  give supply to 8051

(d)                  none of the above

Sollution

(b)                  use for control contrast of LCD

Question no-9
To reset 8051 controller


Optional Answers

(a)                  give logic low on pin9 of 8051

(b)                  give logic high on pin9 of 8051

(c)                  give logic high on pin 8 of 8051

(d)                  give logic low on pin 7 of 8051

Sollution

(b)                  give logic high on pin9 of 8051

paper of Embedded for 8051 pin and LCD .

Paper of 8051 pin and LCD in Embedded for


     Roll no=     Name=
                                                                         BACK