0% found this document useful (0 votes)
28 views

Assignment No.5 - FMA

This document contains an assignment for a course on microcontrollers and applications. It includes 6 questions relating to interfacing various devices like serial communication, relays, stepper motors, keys, and GSM modules with an 8051 microcontroller. Students are asked to write C programs to transfer data serially, receive data serially into a port, explain and diagram relay interfacing, diagram and program stepper motor control, interface a key, and program SMS sending and reading using a GSM module.

Uploaded by

shreemanti
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Assignment No.5 - FMA

This document contains an assignment for a course on microcontrollers and applications. It includes 6 questions relating to interfacing various devices like serial communication, relays, stepper motors, keys, and GSM modules with an 8051 microcontroller. Students are asked to write C programs to transfer data serially, receive data serially into a port, explain and diagram relay interfacing, diagram and program stepper motor control, interface a key, and program SMS sending and reading using a GSM module.

Uploaded by

shreemanti
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

VP’s Kamalnayan Bajaj Institute of Engineering and Technology, Baramati

Department of Electrical Engineering


A.Y:2022-2023
S.E. Electrical (SEM-II)
Course: Fundamental of Microcontroller and Application
Course Code: 203149
Assignment No. 5(Unit –V,VI)

Q. No. Question Description CO

1 Write c program for the 8051 to transfer the letter “A” serially at 4800 baud 5
rate.
2 Program the 8051 in C to receive bytes of data serially and put them in P1. 5
Set the baud rate at 4800, 8-bit data, and I stop bit.

3 Explain the function of an electromechanical relay and draw an interfacing 6


diagram of relay with microcontroller 8051 with suitable driver circuit.

4 Draw an interfacing diagram of stepper motor with 8051. Assuming the 6


motor is controlled through most significant 4 bits of port 1. Write a program
in C language to run the stepper motor continuously in anticlockwise
direction. Assume suitable step sequence.
5 Write c program to interface single Key with 8051. 6

6 Write c programming to send and read SMS using GSM module. 5

You might also like