This document contains instructions for an assignment involving microprocessor programming and interfacing. It includes two questions: 1) Write a program for two microcontrollers to communicate serially at 9600 baud, with one sending strings from buttons to the other's LCD display. 2) Write a program to receive 5-character serial input at 19200 baud, extract digits to an array, display on LCD for 1 second, then clear. Students must submit code for both questions by the given due dates.
This document contains instructions for an assignment involving microprocessor programming and interfacing. It includes two questions: 1) Write a program for two microcontrollers to communicate serially at 9600 baud, with one sending strings from buttons to the other's LCD display. 2) Write a program to receive 5-character serial input at 19200 baud, extract digits to an array, display on LCD for 1 second, then clear. Students must submit code for both questions by the given due dates.
This document contains instructions for an assignment involving microprocessor programming and interfacing. It includes two questions: 1) Write a program for two microcontrollers to communicate serially at 9600 baud, with one sending strings from buttons to the other's LCD display. 2) Write a program to receive 5-character serial input at 19200 baud, extract digits to an array, display on LCD for 1 second, then clear. Students must submit code for both questions by the given due dates.
National University of Computer & Emerging Sciences, Lahore
Department of Electrical Engineering (Fall 2017)
EE303 – Microprocessor Programming & Interfacing
Assignment#3 Due Date: EE1: Thursday 7th December 2017 during lecture EE2, EE3: Friday 8th December 2017 during lecture
Submit hardcopy of codes of following two questions
Question#1: You are required to write a program to communicate two 89C52 microcontrollers serially at a 9600 baud rate. Store five strings in microcontroller-1. Connect five push buttons with port P1 of microcontroller-1. Whenever a push button is pressed and then released, then corresponding string is transmitted to the microcontroller-2. Microcontroller-2 displays the received string on 2x16 LCD. The push buttons introduce bouncing for 25msec. Assume oscillator frequency to be 11.0592MHz. Note: While displaying the string on LCD, microcontroller does not receive anything. So after displaying the string go back to receive the next one. Moreover, you need to write two separate .asm files for both microcontrollers. Question#2: Write a program that takes input data serially from virtual terminal at a 19, 200 baud rate. The input data consists of five alphanumeric characters, where each character is 8 bit wide. After receiving the input data completely, extract digits (0-9) from it. Display the array of extracted digits on 2x16 LCD for 1 second then clear the LCD screen. Assume that crystal frequency is 11.0592MHz. Example: If input data received is, A 1 = 3 @
Learn Python Programming for Beginners: Best Step-by-Step Guide for Coding with Python, Great for Kids and Adults. Includes Practical Exercises on Data Analysis, Machine Learning and More.
Microsoft 365 Guide to Success: 10 Books in 1 | Kick-start Your Career Learning the Key Information to Master Your Microsoft Office Files to Optimize Your Tasks & Surprise Your Colleagues | Access, Excel, OneDrive, Outlook, PowerPoint, Word, Teams, etc.