SlideShare a Scribd company logo
1 of 1
Abstract
More and more devices are being made smart by incorporating an
embedded system: a small computing platform that is programmed to
know what the device should do without user input. For the embedded
system to function, it needs to monitor one or more sensors. The sensor
and embedded system talk through a communication protocol. For each
new protocol, a significant amount of designing time is needed to make a
sensor and an embedded system talk because designers have to go through
datasheets and perform tests of different conditions. The purpose of the
project is to set-up a template or an example code that is used to interface
to devices using the communication protocols: SPI, I2C and UART to
reduce designing process time for future applications.
Serial communication is common method of transmitting data between a
computer(master) and a peripheral device(slave) such as a programmable
instrument or even another computer. Serial communication transmits data
one bit at a time, sequentially, over a single communication line to a
receiver. Serial is also a most popular communication protocol that is used
by many devices for instrumentation.
The project “Serial Bus Communication” focuses on an embedded system
called the Freescale FRDM-KL25Z.
Fig 1: Freescale Freedom Board, TMP102, MMA8451Q
The software complier used to compose the template is the KEIL uVision5.
The temperature sensor, TMP102 and the on-board accelerometer,
MMA8451Q were used as slave devices to prototype the I2C code
template.
Another Freedom Scale board was programmed as a slave and used to
prototype the SPI code template.
The chip MA3238C was used to prototype the UART code template.
Eronmonsele M. Omiyi, Roy Melton
A/D Conversion, PWM, and Servos:
An HCS12 Assembly Language Programming Exercise
Department of Computer Engineering, Rochester Institute of Technology, Rochester, NY 14623
Universal Asynchronous
Transmitter/Receiver
(UART)
The Universal Asynchronous Receiver/Transmitter (UART) controller is
the key component of the serial communications subsystem of a computer.
The UART takes bytes of data and transmits the individual bits in a
sequential fashion. At the destination, a second UART re-assembles the
bits into complete bytes. This serial transmission is used with a terminal
through the “PuTTY” software.
The template code was created as a project file called “Tem.” This code
allows the user to output data on the terminal.
Inter-Integrated Circuit
(IIC/I2C)
Acknowledgements
Thanks to Rochester Institute of Technology Honor’s program for its
continued support towards the intellectual development of its student; The
Freescale Semiconductor for its continued support of the RIT Computer
Engineering Program and Dr. Roy W. Melton for his mentorship.
Effectiveness of The
Templates
Serial Peripheral Interface
(SPI)
Serial to Peripheral Interface (SPI) is a hardware communications protocol
developed. The Serial Peripheral Interface or SPI-bus is a simple 4-wire
serial communications interface used by many microcontroller peripheral
chips that enables the controllers and peripheral devices to communicate
with each other. A connection of two processors via SPI is just as also
possible.
The SPI bus, which operates at full duplex (means, signals carrying data
can go in both directions simultaneously), is a synchronous type data link
setup with a Master / Slave interface and can support up to 1 mega-baud or
10Mbps of speed. Both single-master and multi-master protocols are
possible in SPI. But the multi-master bus is rarely used and look awkward,
and are usually limited to a single slave.
The I²C (Inter-Integrated Circuit) is a two-wire multi-master, multi-
slave, single-ended, serial computer bus which can transmit data at a speed
of about 3.4Mbit/sec.
The template code was created as a project file called “I2C1.” This project
combines the “Tem” project and allows the user to read the registers on the
slave and display the output on the terminal.
Serial Communication with the FRDM KL25Z
Controller
Overview
To illustrate the effectiveness of this project the on-board accelerometer
(MMA8451Q) was programmed for a particular function.
The MMA8451Q used the I2C communication protocol so the template
code for I2C was simply imported into the project and took care of the
master-slave communication procedure. Because the MMA8451Q was on-
board it was difficult to probe it with an oscilloscope, the UART template
code was used to Debug and output the desired result to the terminal. The
total design time for this project was less than one-half an hour including
the time used to program the accelerometer for the desired function. Hence
in a more complex design the programmer does not need to rewrite the
protocols and even though the programmer chooses to rewrite, this
templates serve as an example with which the programmer can work with.
Fig 2: UART port, Master-Slave Connection, Template Code, Terminal Output
Fig 3:
TMP102,
UART,
Master-Multi
Slave
Connection,
Template Code,
Terminal Output
Fig 4:
UART,
Master-Multi
Slave
Connection,
Template Code,
Terminal Output

More Related Content

What's hot

Up and running with Arduino
Up and running with Arduino Up and running with Arduino
Up and running with Arduino KUET
 
Implementation of DSP Algorithms on FPGA
Implementation of DSP Algorithms on FPGAImplementation of DSP Algorithms on FPGA
Implementation of DSP Algorithms on FPGASilicon Mentor
 
Authentication Issues between entities during protocol message exchange in SC...
Authentication Issues between entities during protocol message exchange in SC...Authentication Issues between entities during protocol message exchange in SC...
Authentication Issues between entities during protocol message exchange in SC...Manuel Santander
 
PC based Oscilloscope
PC based OscilloscopePC based Oscilloscope
PC based OscilloscopeSayyed Z
 
Design and implementation of multi channel frame synchronization in fpga
Design and implementation of multi channel frame synchronization in fpgaDesign and implementation of multi channel frame synchronization in fpga
Design and implementation of multi channel frame synchronization in fpgaIAEME Publication
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGAvelamakuri
 
Hp embedd system and basic obotics
Hp embedd system and basic oboticsHp embedd system and basic obotics
Hp embedd system and basic oboticsPallavi Bharti
 
Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)Moe Moe Myint
 
UNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONS
UNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONSUNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONS
UNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONSDr.YNM
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSDr.YNM
 
Chapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain SpecificChapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain SpecificMoe Moe Myint
 
Yuvaraj.K Resume
Yuvaraj.K ResumeYuvaraj.K Resume
Yuvaraj.K Resumeyuvaraj k
 
Introduction to Embedded System: Chapter 2 (4th portion)
Introduction to Embedded System:  Chapter 2 (4th portion)Introduction to Embedded System:  Chapter 2 (4th portion)
Introduction to Embedded System: Chapter 2 (4th portion)Moe Moe Myint
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5Premier Farnell
 

What's hot (20)

Up and running with Arduino
Up and running with Arduino Up and running with Arduino
Up and running with Arduino
 
Implementation of DSP Algorithms on FPGA
Implementation of DSP Algorithms on FPGAImplementation of DSP Algorithms on FPGA
Implementation of DSP Algorithms on FPGA
 
Authentication Issues between entities during protocol message exchange in SC...
Authentication Issues between entities during protocol message exchange in SC...Authentication Issues between entities during protocol message exchange in SC...
Authentication Issues between entities during protocol message exchange in SC...
 
PC based Oscilloscope
PC based OscilloscopePC based Oscilloscope
PC based Oscilloscope
 
chameleon chip
chameleon chipchameleon chip
chameleon chip
 
Design and implementation of multi channel frame synchronization in fpga
Design and implementation of multi channel frame synchronization in fpgaDesign and implementation of multi channel frame synchronization in fpga
Design and implementation of multi channel frame synchronization in fpga
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGA
 
Hp embedd system and basic obotics
Hp embedd system and basic oboticsHp embedd system and basic obotics
Hp embedd system and basic obotics
 
Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)
 
UNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONS
UNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONSUNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONS
UNIT-III CASE STUDIES -FPGA & CPGA ARCHITECTURES APPLICATIONS
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
 
Chapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain SpecificChapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain Specific
 
Yuvaraj.K Resume
Yuvaraj.K ResumeYuvaraj.K Resume
Yuvaraj.K Resume
 
Communication Protocols
Communication ProtocolsCommunication Protocols
Communication Protocols
 
Introduction to Embedded System: Chapter 2 (4th portion)
Introduction to Embedded System:  Chapter 2 (4th portion)Introduction to Embedded System:  Chapter 2 (4th portion)
Introduction to Embedded System: Chapter 2 (4th portion)
 
Unit VI CPLD-FPGA Architecture
Unit VI CPLD-FPGA ArchitectureUnit VI CPLD-FPGA Architecture
Unit VI CPLD-FPGA Architecture
 
DSP by FPGA
DSP by FPGADSP by FPGA
DSP by FPGA
 
FPGA In a Nutshell
FPGA In a NutshellFPGA In a Nutshell
FPGA In a Nutshell
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5
 
Embedded system
Embedded systemEmbedded system
Embedded system
 

Similar to Serial Communication Protocols Simplified

Hybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPIHybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPIHardik Manocha
 
A Survey on System-On-Chip Bus Protocols
A Survey on System-On-Chip Bus ProtocolsA Survey on System-On-Chip Bus Protocols
A Survey on System-On-Chip Bus ProtocolsIRJET Journal
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...IJMER
 
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETSOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETcseij
 
Data Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time ApplicationsData Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time Applicationsijsrd.com
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONcscpconf
 
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfA NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfSaiReddy794166
 
IRJET- Navigation Camp – Bot
IRJET-  	  Navigation Camp – BotIRJET-  	  Navigation Camp – Bot
IRJET- Navigation Camp – BotIRJET Journal
 
Resume for Embedded Engineer_1
Resume for Embedded Engineer_1Resume for Embedded Engineer_1
Resume for Embedded Engineer_1gajendra parmar
 
Communication Protocols Augmentation in VLSI Design Applications
Communication Protocols Augmentation in VLSI Design ApplicationsCommunication Protocols Augmentation in VLSI Design Applications
Communication Protocols Augmentation in VLSI Design ApplicationsIJERA Editor
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...ecwayerode
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...Ecwaytech
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...Ecwayt
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...Ecway2004
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...Ecwaytech
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...Ecwaytechnoz
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...Ecwaytechnoz
 
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKSHIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKSijngnjournal
 

Similar to Serial Communication Protocols Simplified (20)

Hybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPIHybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPI
 
A Survey on System-On-Chip Bus Protocols
A Survey on System-On-Chip Bus ProtocolsA Survey on System-On-Chip Bus Protocols
A Survey on System-On-Chip Bus Protocols
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...
 
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETSOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
 
Data Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time ApplicationsData Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time Applications
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
 
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfA NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
 
IRJET- Navigation Camp – Bot
IRJET-  	  Navigation Camp – BotIRJET-  	  Navigation Camp – Bot
IRJET- Navigation Camp – Bot
 
Ah4301185187
Ah4301185187Ah4301185187
Ah4301185187
 
Resume for Embedded Engineer_1
Resume for Embedded Engineer_1Resume for Embedded Engineer_1
Resume for Embedded Engineer_1
 
Communication Protocols Augmentation in VLSI Design Applications
Communication Protocols Augmentation in VLSI Design ApplicationsCommunication Protocols Augmentation in VLSI Design Applications
Communication Protocols Augmentation in VLSI Design Applications
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...An embedded systems laboratory to support rapid prototyping of robotics and t...
An embedded systems laboratory to support rapid prototyping of robotics and t...
 
Ens
EnsEns
Ens
 
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKSHIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
 

Serial Communication Protocols Simplified

  • 1. Abstract More and more devices are being made smart by incorporating an embedded system: a small computing platform that is programmed to know what the device should do without user input. For the embedded system to function, it needs to monitor one or more sensors. The sensor and embedded system talk through a communication protocol. For each new protocol, a significant amount of designing time is needed to make a sensor and an embedded system talk because designers have to go through datasheets and perform tests of different conditions. The purpose of the project is to set-up a template or an example code that is used to interface to devices using the communication protocols: SPI, I2C and UART to reduce designing process time for future applications. Serial communication is common method of transmitting data between a computer(master) and a peripheral device(slave) such as a programmable instrument or even another computer. Serial communication transmits data one bit at a time, sequentially, over a single communication line to a receiver. Serial is also a most popular communication protocol that is used by many devices for instrumentation. The project “Serial Bus Communication” focuses on an embedded system called the Freescale FRDM-KL25Z. Fig 1: Freescale Freedom Board, TMP102, MMA8451Q The software complier used to compose the template is the KEIL uVision5. The temperature sensor, TMP102 and the on-board accelerometer, MMA8451Q were used as slave devices to prototype the I2C code template. Another Freedom Scale board was programmed as a slave and used to prototype the SPI code template. The chip MA3238C was used to prototype the UART code template. Eronmonsele M. Omiyi, Roy Melton A/D Conversion, PWM, and Servos: An HCS12 Assembly Language Programming Exercise Department of Computer Engineering, Rochester Institute of Technology, Rochester, NY 14623 Universal Asynchronous Transmitter/Receiver (UART) The Universal Asynchronous Receiver/Transmitter (UART) controller is the key component of the serial communications subsystem of a computer. The UART takes bytes of data and transmits the individual bits in a sequential fashion. At the destination, a second UART re-assembles the bits into complete bytes. This serial transmission is used with a terminal through the “PuTTY” software. The template code was created as a project file called “Tem.” This code allows the user to output data on the terminal. Inter-Integrated Circuit (IIC/I2C) Acknowledgements Thanks to Rochester Institute of Technology Honor’s program for its continued support towards the intellectual development of its student; The Freescale Semiconductor for its continued support of the RIT Computer Engineering Program and Dr. Roy W. Melton for his mentorship. Effectiveness of The Templates Serial Peripheral Interface (SPI) Serial to Peripheral Interface (SPI) is a hardware communications protocol developed. The Serial Peripheral Interface or SPI-bus is a simple 4-wire serial communications interface used by many microcontroller peripheral chips that enables the controllers and peripheral devices to communicate with each other. A connection of two processors via SPI is just as also possible. The SPI bus, which operates at full duplex (means, signals carrying data can go in both directions simultaneously), is a synchronous type data link setup with a Master / Slave interface and can support up to 1 mega-baud or 10Mbps of speed. Both single-master and multi-master protocols are possible in SPI. But the multi-master bus is rarely used and look awkward, and are usually limited to a single slave. The I²C (Inter-Integrated Circuit) is a two-wire multi-master, multi- slave, single-ended, serial computer bus which can transmit data at a speed of about 3.4Mbit/sec. The template code was created as a project file called “I2C1.” This project combines the “Tem” project and allows the user to read the registers on the slave and display the output on the terminal. Serial Communication with the FRDM KL25Z Controller Overview To illustrate the effectiveness of this project the on-board accelerometer (MMA8451Q) was programmed for a particular function. The MMA8451Q used the I2C communication protocol so the template code for I2C was simply imported into the project and took care of the master-slave communication procedure. Because the MMA8451Q was on- board it was difficult to probe it with an oscilloscope, the UART template code was used to Debug and output the desired result to the terminal. The total design time for this project was less than one-half an hour including the time used to program the accelerometer for the desired function. Hence in a more complex design the programmer does not need to rewrite the protocols and even though the programmer chooses to rewrite, this templates serve as an example with which the programmer can work with. Fig 2: UART port, Master-Slave Connection, Template Code, Terminal Output Fig 3: TMP102, UART, Master-Multi Slave Connection, Template Code, Terminal Output Fig 4: UART, Master-Multi Slave Connection, Template Code, Terminal Output