CSE466 Lab 8, Smoke Signals

Introduction

The main purpose of this lab is to implement and test the physical layer of  an I2C embedded network. Theodora has built and tested an I2C network with two 8051 systems, each hooked to a hyperterm window. Users at each window can send short messages to the each other via the I2C connection between them. Your system will be tested by connecting it to the Theodora's bus and and to a third hyperterm window. You must demonstrate that your systems can exchange messages with the other two without interfering with transmissions between the other two.

The user interface is very simple. To send a message type

<destination address>:<message><\n>

For example, if the user of device number 2 types

> 1:I love cse466!

followed by a carriage return, then system 2 should send a binary 2, followed by the sequence of ascii bytes "I love cse466!" to the system w/ address 1 on the network. Note that the binary 2 is part of the data message as far as the I2C bus in concerned.  Upon receipt of this message, system number 1 should display the string "2: I love cse466!" on its hyperterm display. Make sure to echo any characters that are typed by the user.

For this week, send the whole message as single frame on the bus. You must support messages up to 25 characters, including the byte for the sender's address. Please follow these rules of etiquette:  

Implementation Notes:

Turn In: