Page 1 of 1

Q4. a) Outline an 8051 C program to turn bit P1.5 ON and OFF 60,000 times. b) A switch is connected to pin 2.3 and the b

Posted: Sat May 21, 2022 1:07 am
by answerhappygod
Q4 A Outline An 8051 C Program To Turn Bit P1 5 On And Off 60 000 Times B A Switch Is Connected To Pin 2 3 And The B 1
Q4 A Outline An 8051 C Program To Turn Bit P1 5 On And Off 60 000 Times B A Switch Is Connected To Pin 2 3 And The B 1 (39.86 KiB) Viewed 16 times
Q4. a) Outline an 8051 C program to turn bit P1.5 ON and OFF 60,000 times. b) A switch is connected to pin 2.3 and the buzzer connected to pin 1.5 of 8051 as in Figure Q4(b). Outline an assembly language program to check the status of the switch and to make the following decisions. • if the switch is open, then the buzzer is ON • if the switch is closed, then the buzzer is OFF. VCC Switch 8051 Hea P2.3 4.7K Buzzer P1.5 74LS04 Figure Q4(b) c) Assume that a PIC18 microcontroller is used to control a single seven segment display of common cathode type. (1) Outline the appropriate circuit connection with driver and current limiting resistors. (ii) Identify the Hexadecimal equivalent if the last digit of your exam TPnumber is to be displayed.