Serial Communication Lab 12 Module M21.1. Asynchronous Serial I/O ASCII code 54H = 1010100 (“T”) sent with odd parity.

Slides:



Advertisements
Similar presentations
Basic Computer Skills Windows & the Internet.
Advertisements

How to Use Stowe School District
The HEXCORDER Data Format
QWERTY Keyboards.
Lab7: Introduction to Arduino
Serial I/O - Programmable Communication Interface
MIDI. Musical Instrument Digital Interface Specification for physically connecting different devices, and for communicating between them. Designed for.
EE 316 Computer Engineering Junior Lab Word Mastermind.
Spring EE 316 Computer Engineering Junior Lab Serial Ports.
Other I/O LCD display Flash ROM Keyboard (PS/2) UART connectors.
Spring EE 316 Computer Engineering Junior Lab LCD modules, PROMs, Serial Ports.
An Intro to Robots and Computer Programming
EE 316 Computer Engineering Junior Lab Digital Hangman.
Input/Output and Communication
Dr. Hoganson CSIS HC11 Demo Program This is our first lab using the 68HC11 microcontroller. We will “talk” to the microcontroller from a PC, run.
ECE 371- Unit 11 Introduction to Serial I/O. TWO MAJOR CLASSES OF SERIAL DATA INTERFACES ASYNCHRONOUS SERIAL I/O - USES “FRAMING BITS” (START BIT AND.
How the World Wide Web Works
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Parallax 4x20 LCD (part number 27979) with Arduino Duemilanove
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
The Vision of a Leader Rapid Eye Plus Technical Training.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Simplex, Half Duplex & Duplex Serial & Parallel transmission Synchronous & Asynchronous Bit & Baud Rate.
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
The 8051 Microcontroller and Embedded Systems
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Digilent System Board Capabilities Serial Port (RS-232) Parallel Port 1 Pushbutton Hint: Good for a reset button Connected to a clock input. See Digilent.
PC Maintenance: Preparing for A+ Certification Chapter 24: Modems.
* Bluetooth Evaluation Kit * MD-5XR : Bluetooth DSP Module - BC05 Multi-Media chip * Supported Profiles. - HFP (Handsfree Profile) - A2DP(Advanced Audio.
Setting Up an on-line Store Tutorial Using SmartStore.biz This Tutorial assumes you have downloaded the software from This Tutorial.
1 Working with MS SQL Server Textbook Chapter 14.
CS-280 Dr. Mark L. Hornick 1 Programming for the LCD Display.
Example. SBUF Register SCON Register(1) SCON Register(2)
EE 316 Computer Engineering Junior Lab Serial Ports, LCD Displays & PROMs.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 45 – Modems.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
1 Chapter Overview Modems The Internet and Web Browsers.
1 Pertemuan 12 Cabeling WANs. Discussion Topics WAN physical layer WAN serial connections Routers and serial connections Routers and ISDN BRI connections.
Develop VB in WinCE Maker : Axel Chou. Introduction to WinCE 3.0 One of the Microsoft Embedded System –WinCE 3.0 –Embedded NT 4.0 Customize : Minimize.
Compute Node Tutorial(2) Agenda Introduce to RocketIO How to build a optical link connection Backplane and cross link communications How to.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
Tiva C TM4C123GH6PM UART Embedded Systems ECE 4437 Fall 2015 Team 2:
Using the AFRESH software Ruaraidh Dobson University of Aberdeen V1.0 27/04/2016.
Lecture 15. Modem Controller Register 4310 DTR 0 = Polling Operator 1 = Interrupts Enabled RTS 1 =Self Test 0 =Normal.
Jeremy Sandoval University of Washington May 14, 2013
Serial Communications
CS-401 Computer Architecture & Assembly Language Programming
Input/Output and Communication
Lecture # 13.
Serial I/O and Data Communication.
SERIAL PORT PROGRAMMING
LCD’s with Arduino A Microcontroller.
EET 2261 Unit 11 Controlling LCD and Keypad
Live Streaming Sessions
EET 2261 Unit 11 Controlling LCD and Keypad
CCNA 2 v3.1 Module 1 WANs and Routers
Debugging Debug environments Debug via serial
ECE 3567 Microcontroller Lab
Source: Serial Port Source:
Chapter 6 Transmission of Digital Data Interfaces and Modems
ECE 3567 Microcontrollers Lab
Presentation transcript:

Serial Communication Lab 12 Module M21.1

Asynchronous Serial I/O ASCII code 54H = (“T”) sent with odd parity

Baud rate Bit time (ms) No. of stop bits Char. time (ms) Chars./sec.

Functional Diagram of a UART

Serial Port Connector

EXPERIMENT 39 – Communicating Between Two Computers Pin 2 Pin 3 Null Modem 1. Connect two PCs together using a null modem between the two COM1 serial ports. A null modem is a serial cable in which pins 2 and 3 are crossed. That is, the transmit pin 2 of one computer is connected to the receive pin 3 of the other computer.

EXPERIMENT 39 – Communicating Between Two Computers 2. You will execute the same program on both computers. Modify the program given in Listing 17.2 so that when you press function key F1 it switches to a double screen mode. In this mode whatever you type on the first computer should be displayed on the lower half of the second computer and on the upper half of the first computer (after making a round trip to the second computer). Similarly, anything typed on the second computer should be displayed on the lower half of the first computer and on the upper half of the second computer (after making a round trip to the first computer). Both halves of the screen should scroll independently when they are full.

EXPERIMENT 39 – Communicating Between Two Computers You need to be able to tell when a received character is one that originated at the other computer or is one that has made a round trip from your computer. To do this use the following algorithm: Send your own character with bit 7 = 0 If you receive a character with bit 7 = 0 Then display it on the bottom of the screen, make bit 7 = 1 and send it back Else display it on the top of the screen and do not send it back

Write this algorithm using Visual Basic

Follow 171Lab12_Tutorial.doc (available on the web site)

You type in here Your message gets displayed here after making a round trip to the other compter. Messages from the other computer will get displayed here.

CSE 171 Lab 12. Week of November 26, EXPERIMENT: Serial Communication – The CSE 171 Chat Room PRE-LAB 1. Read text Sec. 17.1, Serial I/O, pages Read Experiment 39: Communicating between Two Computers on page Download the file, 171Lab12_Tutorial.doc, from the web site.

LAB In this lab, two groups, working on adjacent computers, will run the same Visual Basic program that will allow them to chat with each other over the serial I/O line. The Visual Basic program will run the algorithm given in Experiment 39 on page 510 in the textbook. 1. Write the Visual Basic program by going through the Tutorial given in the file 171Lab12_Tutorial.doc. 2. Run this same program on both computers at the same time. Make sure that the null modem cable is connected between the serial ports of both computers. 3. Each student in each group should type their name on a separate line in the box on the form. Copy the form (using Alt Print Screen) and paste it in a Word.doc file. 4. Chat back and forth telling the other group which of the 12 labs in this class you liked the best and which you liked the least. Copy the form (using Alt Print Screen) and paste it to the same Word.doc file used in Part Print out the.doc file containing your two chat screens and hand them in to your lab instructor.

Note: No lab report is required for this lab.