IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 04 Issue: 01 | Jan-2015, Available @ http://www.ijret.org 88
PROTOCOL CONVERTER (UART, I2C, MANCHESTER PROTOCOLS
TO USB)
Shilpa Kanse1
, Bhalerao Mayuri2
, Bhosale Abhilasha3
, Kardile Nilam4
1
Professor, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India
2
Student, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India
3
Student, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India
4
Student, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India
Abstract
Abstract now a day’s many industries are using different types of protocols to show data on computer. For this purpose different
modules are used which increases the hardware complexity and cost. This project (PROTOCOL CONVERTER) is helpful to
overcome these problem different types of protocols such as Manchester, UART and I2Cconverted to the USB format which is
compatible to the laptops which is the major application .By using different components such as PIC microcontroller 18F452,
LCD, Personal computer, Max 232, DB9 connector.
Keywords::USB (universal serial bus)1, UART(universal asynchronous receiver/transmitter2), I2C (Inter-Integrated
Circuit3), Manchester4.
--------------------------------------------------------------------***----------------------------------------------------------------------
1. INTRODUCTION
In many automation industries different types of protocols
are used to show data on computer. For this purpose
different modules are used which increases the hardware
complexity.
To reduce complexity the data in the different forms can
converted into USB (universal serial bus), which is
compatible to laptops.
Laptops doesn’t have serial port, different type of data
formats is not applicable so for compatibility to the laptop
USB is provided, because it has different data rates ( high
speed 480Mbps,medium speed 12Mbps and Low speed is
1.5Mbps).
This module can be divided into two stages, generator and
converter circuitry. First is the generator circuitry which
produces different data in the different format like I2C,
Manchester, and UART. Second part is protocol converter
circuitry which converts this different data formats into a
USB formats.
2. PROTOCOL DESCRIPTION
2.1 USB
Universal Serial Bus (USB) is an industry standard that
defines the cables, connectors and communications
protocols used in a bus for connection, communication, and
power supply between computers and electronic
devices.USB has Effectively replaced a variety of earlier
interfaces, such as serial and parallel ports, as well as
separate chargers for portable devices[3]. USB input output
formats are shown in figure2.1.1.
FIELD SYNC PID DATA CRC EOP
Fig.2.1.1 USB Frame format
2.2 I2C (Inter-Integrated Circuit):
[3]Today, at the low end of the communication protocols,
we find I2C (for ‘Inter-Integrated Circuit’, protocol). This
protocol is well-suited for communications between
integrated circuits, for slow communication with on-board
peripherals.
I2C bus input output formats are shown in figure2.2.2.
START DATA ACK STOP
Fig.2.2.1 I2C bus Frame format
[1]Virtually any number of slaves and any number of
masters can be connected onto these 2 signal lines and
communicate between each other using a protocol that
defines: – 7-bits slave addresses: each device connected to
the bus has got such a unique address;
– Data divided into 8-bit bytes
– A few control bits for controlling the communication start,
end, direction and for an acknowledgment mechanism.
The data rate has to be chosen between 100 kbps, 400 kbps
and 3.4 Mbps, respectively called standard mode, fast mode
and high speed mode.
2.3 Manchester
In telecommunication and data storage, Manchester coding
(also known as Phase Encoding, or PE) is a line code in
which the encoding of each data bit has at least one
transition and occupies the same time. Manchester input
output waveforms are shown in figure2.3.1.
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 04 Issue: 01 | Jan-2015, Available @ http://www.ijret.org 89
Fig.2.3.1 Manchester Input output waveform
2.4 UART (Universal Asynchronous
Receiver/Transmitter)
A universal asynchronous receiver/transmitter, abbreviated
UART, is a piece of computer hardware that translates data
between parallel and serial forms. UARTs are commonly
used in conjunction with communication standards such as
EIA, RS-232, RS-422 or RS-485. A UART is usually an
individual (or part of an) integrated circuit used for serial
communications over a computer or peripheral device serial
port. UARTs are now commonly included in
microcontrollers.USB input output formats are shown in
figure2.4.1.
START DATA STOP
Fig.2.4.1 UART Frame format
UART frame format consist of,
One start bit and one stop bit.
-parity is odd.
- 8-bit data (message bit)
3. THE REASON FOR USING PIC
CONTROLLER
In this paper we are using PIC controller 18F458 to
implement protocol converter
PIC controller has inbuilt 32 Kbytes of flash program
memory. It has SRAM 1536 bytes and EEPROM 256 bytes
data memory.
PIC controller has 10 bit A/D converter (8 input channels).
It has programmable brownout reset and low voltage detect.
[5]
4. MAX 232
[5]MAX 232 is an IC, which converts signals 4 from an RS-
232 serial port to suitable signals. The MAX232 is a dual
receiver/driver. The drivers provide a maximum voltage 0 to
+5V.
5. BLOCK DIAGRAM
Fig 5.1 Block Diagram of generator
Fig 5.2 Block Diagram of converter
LCD
Crystal
UART
Manual
Reset
Power
Supply
PIC
microcontroller
I2C out
DB9
connector
Max
232
Manchester out
Manual
Reset
PIC microcontroller
Power Supply
USB out
Crystal
LCD
UART
Manchester in
I2C in
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 04 Issue: 01 | Jan-2015, Available @ http://www.ijret.org 90
6. SYSTEM ARCHITETURE
Fig 6.1 system architecture
In this system two PIC controllers are used. Selected PIC
controller has inbuilt 32 Kbytes of flash program memory.
This module can be divided into two stages, generator and
converter circuitry. First is the generator circuitry which
produces different data in the different format like I2C,
Manchester, and UART. Second part is protocol converter
circuitry which converts this different data formats into a
USB format. The data is taken from computer and send to
PIC controller of generator circuitry and then required data
format is send to another controller of converter circuitry.
This system is compatible to laptops. Laptop doesn’t have a
serial port. This system is also useful in an automobile
industry.
7. CONCLUSION
This study proposed the design of a low cost protocol
converter because of reduced hardware complexity. This is
capable of receiving different data formats (Manchester,
UART, and I2C) and converts data into USB format for
notebook computer.
REFERENCES
[1]. Design and implementation of CAN-USB Converter
Based on ARM7 Serial Protocol API, By Wei-Chih Hsu,
Shih-Tsung Liu, In 2012.
[2]. www.ieee xplorer.org
[3]. I2C-USB Bridge Guide, by Petro Kobluk, Valeriy
Kyrynyuk, September 13, 2006.
[4]. 8051 Microcontroller, byMazidi.
[5]. www.datasheets.com

More Related Content

PDF
scada
PDF
FPGA based synchronous multi-channel PWM generator for humanoid robot
PDF
Mobile robotic platform to gathering real time sensory data in wireless perso...
PDF
An automatic wave probe reference setting mechanism
PDF
An automatic wave probe reference setting mechanism in a high speed towing tank
PDF
Development and Application of a Failure Monitoring System by Using the Vibra...
PDF
Codec Scheme for Power Optimization in VLSI Interconnects
PDF
Internet enebled data acquisition and device control
scada
FPGA based synchronous multi-channel PWM generator for humanoid robot
Mobile robotic platform to gathering real time sensory data in wireless perso...
An automatic wave probe reference setting mechanism
An automatic wave probe reference setting mechanism in a high speed towing tank
Development and Application of a Failure Monitoring System by Using the Vibra...
Codec Scheme for Power Optimization in VLSI Interconnects
Internet enebled data acquisition and device control

What's hot (19)

PDF
Application of Microcontroller in Transmitter Section of Wireless System
DOCX
Thesis on Solar Based Hecto Robotic Vehicle
PDF
Development of Distributed Mains Monitoring and Switching System for Indus Co...
PDF
Implementation and Controlling of Electrical Appliances by using Bluetooth
PDF
5x7 matrix led display
PDF
E044081720
PDF
Overview of the Functionalities of 4G Routers
PDF
Design and Implementation of a Stand-Alone Remote Terminal Unit
PDF
IRJET- Multiple Load Controller for Industry using ARM Cortex
PDF
Magicus clock
PDF
Smard card123
DOC
Industrial training report of embedded system and robotics
PDF
Advertising Display System using LED and Graphical LED
PDF
Power house automation using wireless communication
PDF
D041121722
PDF
Over view of Microprocessor 8085 and its application
PDF
Development of Smart Plug and Energy Price Forecasting Technique to Reduce Pe...
PDF
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
PDF
Ig3314081417
Application of Microcontroller in Transmitter Section of Wireless System
Thesis on Solar Based Hecto Robotic Vehicle
Development of Distributed Mains Monitoring and Switching System for Indus Co...
Implementation and Controlling of Electrical Appliances by using Bluetooth
5x7 matrix led display
E044081720
Overview of the Functionalities of 4G Routers
Design and Implementation of a Stand-Alone Remote Terminal Unit
IRJET- Multiple Load Controller for Industry using ARM Cortex
Magicus clock
Smard card123
Industrial training report of embedded system and robotics
Advertising Display System using LED and Graphical LED
Power house automation using wireless communication
D041121722
Over view of Microprocessor 8085 and its application
Development of Smart Plug and Energy Price Forecasting Technique to Reduce Pe...
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
Ig3314081417
Ad

Similar to Protocol converter (uart, i2 c, manchester protocols to usb) (20)

PDF
Internet enebled data acquisition and device control
PDF
Implementation of usb transceiver macrocell interface
PDF
Implementation of usb transceiver macrocell interface
PDF
Gsm or x10 based scada system for industrial automation
PDF
Gsm or x10 based scada system for industrial
PDF
Master slave autonomous surveillance bot for military applications
PDF
A remote monitoring system for a three phase 10-kva switchable distribution t...
PDF
A remote monitoring system for a three phase 10-kva switchable distribution t...
PDF
Design, development and implementation of novel idea
PDF
Voice enabled speed control of ac motor
PDF
Voice enabled speed control of ac motor
PDF
A010610109
PDF
Td ams processing for vlsi implementation of ldpc decoder
PDF
Td ams processing for vlsi implementation of ldpc decoder
PDF
Hand gesture based wheel chair with obstacle detection,wireless & gps tec...
PDF
Implementation and analysis of power reduction in 2 to 4 decoder design using...
PDF
Design and Verification of the UART and SPI protocol using UVM
PDF
Comparative analysis of lector and stack technique to reduce the leakage curr...
PDF
Design of area and power efficient half adder using transmission gate
PDF
The development of supervisory system for electricity control in smgg, guntur...
Internet enebled data acquisition and device control
Implementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interface
Gsm or x10 based scada system for industrial automation
Gsm or x10 based scada system for industrial
Master slave autonomous surveillance bot for military applications
A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...
Design, development and implementation of novel idea
Voice enabled speed control of ac motor
Voice enabled speed control of ac motor
A010610109
Td ams processing for vlsi implementation of ldpc decoder
Td ams processing for vlsi implementation of ldpc decoder
Hand gesture based wheel chair with obstacle detection,wireless & gps tec...
Implementation and analysis of power reduction in 2 to 4 decoder design using...
Design and Verification of the UART and SPI protocol using UVM
Comparative analysis of lector and stack technique to reduce the leakage curr...
Design of area and power efficient half adder using transmission gate
The development of supervisory system for electricity control in smgg, guntur...
Ad

More from eSAT Journals (20)

PDF
Mechanical properties of hybrid fiber reinforced concrete for pavements
PDF
Material management in construction – a case study
PDF
Managing drought short term strategies in semi arid regions a case study
PDF
Life cycle cost analysis of overlay for an urban road in bangalore
PDF
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
PDF
Laboratory investigation of expansive soil stabilized with natural inorganic ...
PDF
Influence of reinforcement on the behavior of hollow concrete block masonry p...
PDF
Influence of compaction energy on soil stabilized with chemical stabilizer
PDF
Geographical information system (gis) for water resources management
PDF
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
PDF
Factors influencing compressive strength of geopolymer concrete
PDF
Experimental investigation on circular hollow steel columns in filled with li...
PDF
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
PDF
Evaluation of punching shear in flat slabs
PDF
Evaluation of performance of intake tower dam for recent earthquake in india
PDF
Evaluation of operational efficiency of urban road network using travel time ...
PDF
Estimation of surface runoff in nallur amanikere watershed using scs cn method
PDF
Estimation of morphometric parameters and runoff using rs & gis techniques
PDF
Effect of variation of plastic hinge length on the results of non linear anal...
PDF
Effect of use of recycled materials on indirect tensile strength of asphalt c...
Mechanical properties of hybrid fiber reinforced concrete for pavements
Material management in construction – a case study
Managing drought short term strategies in semi arid regions a case study
Life cycle cost analysis of overlay for an urban road in bangalore
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
Laboratory investigation of expansive soil stabilized with natural inorganic ...
Influence of reinforcement on the behavior of hollow concrete block masonry p...
Influence of compaction energy on soil stabilized with chemical stabilizer
Geographical information system (gis) for water resources management
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
Factors influencing compressive strength of geopolymer concrete
Experimental investigation on circular hollow steel columns in filled with li...
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
Evaluation of punching shear in flat slabs
Evaluation of performance of intake tower dam for recent earthquake in india
Evaluation of operational efficiency of urban road network using travel time ...
Estimation of surface runoff in nallur amanikere watershed using scs cn method
Estimation of morphometric parameters and runoff using rs & gis techniques
Effect of variation of plastic hinge length on the results of non linear anal...
Effect of use of recycled materials on indirect tensile strength of asphalt c...

Recently uploaded (20)

PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
Design Guidelines and solutions for Plastics parts
PDF
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
PDF
Applications of Equal_Area_Criterion.pdf
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
PPTX
Petroleum Refining & Petrochemicals.pptx
PPTX
mechattonicsand iotwith sensor and actuator
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
First part_B-Image Processing - 1 of 2).pdf
PDF
Computer organization and architecuture Digital Notes....pdf
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PDF
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
PPTX
CyberSecurity Mobile and Wireless Devices
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Soil Improvement Techniques Note - Rabbi
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
distributed database system" (DDBS) is often used to refer to both the distri...
Design Guidelines and solutions for Plastics parts
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
Applications of Equal_Area_Criterion.pdf
Information Storage and Retrieval Techniques Unit III
Management Information system : MIS-e-Business Systems.pptx
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
Petroleum Refining & Petrochemicals.pptx
mechattonicsand iotwith sensor and actuator
Abrasive, erosive and cavitation wear.pdf
First part_B-Image Processing - 1 of 2).pdf
Computer organization and architecuture Digital Notes....pdf
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
CyberSecurity Mobile and Wireless Devices

Protocol converter (uart, i2 c, manchester protocols to usb)

  • 1. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 04 Issue: 01 | Jan-2015, Available @ http://www.ijret.org 88 PROTOCOL CONVERTER (UART, I2C, MANCHESTER PROTOCOLS TO USB) Shilpa Kanse1 , Bhalerao Mayuri2 , Bhosale Abhilasha3 , Kardile Nilam4 1 Professor, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India 2 Student, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India 3 Student, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India 4 Student, electronics telecommunication, RSCOE, tathwade, pune-33, Maharashtra, India Abstract Abstract now a day’s many industries are using different types of protocols to show data on computer. For this purpose different modules are used which increases the hardware complexity and cost. This project (PROTOCOL CONVERTER) is helpful to overcome these problem different types of protocols such as Manchester, UART and I2Cconverted to the USB format which is compatible to the laptops which is the major application .By using different components such as PIC microcontroller 18F452, LCD, Personal computer, Max 232, DB9 connector. Keywords::USB (universal serial bus)1, UART(universal asynchronous receiver/transmitter2), I2C (Inter-Integrated Circuit3), Manchester4. --------------------------------------------------------------------***---------------------------------------------------------------------- 1. INTRODUCTION In many automation industries different types of protocols are used to show data on computer. For this purpose different modules are used which increases the hardware complexity. To reduce complexity the data in the different forms can converted into USB (universal serial bus), which is compatible to laptops. Laptops doesn’t have serial port, different type of data formats is not applicable so for compatibility to the laptop USB is provided, because it has different data rates ( high speed 480Mbps,medium speed 12Mbps and Low speed is 1.5Mbps). This module can be divided into two stages, generator and converter circuitry. First is the generator circuitry which produces different data in the different format like I2C, Manchester, and UART. Second part is protocol converter circuitry which converts this different data formats into a USB formats. 2. PROTOCOL DESCRIPTION 2.1 USB Universal Serial Bus (USB) is an industry standard that defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices.USB has Effectively replaced a variety of earlier interfaces, such as serial and parallel ports, as well as separate chargers for portable devices[3]. USB input output formats are shown in figure2.1.1. FIELD SYNC PID DATA CRC EOP Fig.2.1.1 USB Frame format 2.2 I2C (Inter-Integrated Circuit): [3]Today, at the low end of the communication protocols, we find I2C (for ‘Inter-Integrated Circuit’, protocol). This protocol is well-suited for communications between integrated circuits, for slow communication with on-board peripherals. I2C bus input output formats are shown in figure2.2.2. START DATA ACK STOP Fig.2.2.1 I2C bus Frame format [1]Virtually any number of slaves and any number of masters can be connected onto these 2 signal lines and communicate between each other using a protocol that defines: – 7-bits slave addresses: each device connected to the bus has got such a unique address; – Data divided into 8-bit bytes – A few control bits for controlling the communication start, end, direction and for an acknowledgment mechanism. The data rate has to be chosen between 100 kbps, 400 kbps and 3.4 Mbps, respectively called standard mode, fast mode and high speed mode. 2.3 Manchester In telecommunication and data storage, Manchester coding (also known as Phase Encoding, or PE) is a line code in which the encoding of each data bit has at least one transition and occupies the same time. Manchester input output waveforms are shown in figure2.3.1.
  • 2. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 04 Issue: 01 | Jan-2015, Available @ http://www.ijret.org 89 Fig.2.3.1 Manchester Input output waveform 2.4 UART (Universal Asynchronous Receiver/Transmitter) A universal asynchronous receiver/transmitter, abbreviated UART, is a piece of computer hardware that translates data between parallel and serial forms. UARTs are commonly used in conjunction with communication standards such as EIA, RS-232, RS-422 or RS-485. A UART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. UARTs are now commonly included in microcontrollers.USB input output formats are shown in figure2.4.1. START DATA STOP Fig.2.4.1 UART Frame format UART frame format consist of, One start bit and one stop bit. -parity is odd. - 8-bit data (message bit) 3. THE REASON FOR USING PIC CONTROLLER In this paper we are using PIC controller 18F458 to implement protocol converter PIC controller has inbuilt 32 Kbytes of flash program memory. It has SRAM 1536 bytes and EEPROM 256 bytes data memory. PIC controller has 10 bit A/D converter (8 input channels). It has programmable brownout reset and low voltage detect. [5] 4. MAX 232 [5]MAX 232 is an IC, which converts signals 4 from an RS- 232 serial port to suitable signals. The MAX232 is a dual receiver/driver. The drivers provide a maximum voltage 0 to +5V. 5. BLOCK DIAGRAM Fig 5.1 Block Diagram of generator Fig 5.2 Block Diagram of converter LCD Crystal UART Manual Reset Power Supply PIC microcontroller I2C out DB9 connector Max 232 Manchester out Manual Reset PIC microcontroller Power Supply USB out Crystal LCD UART Manchester in I2C in
  • 3. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 04 Issue: 01 | Jan-2015, Available @ http://www.ijret.org 90 6. SYSTEM ARCHITETURE Fig 6.1 system architecture In this system two PIC controllers are used. Selected PIC controller has inbuilt 32 Kbytes of flash program memory. This module can be divided into two stages, generator and converter circuitry. First is the generator circuitry which produces different data in the different format like I2C, Manchester, and UART. Second part is protocol converter circuitry which converts this different data formats into a USB format. The data is taken from computer and send to PIC controller of generator circuitry and then required data format is send to another controller of converter circuitry. This system is compatible to laptops. Laptop doesn’t have a serial port. This system is also useful in an automobile industry. 7. CONCLUSION This study proposed the design of a low cost protocol converter because of reduced hardware complexity. This is capable of receiving different data formats (Manchester, UART, and I2C) and converts data into USB format for notebook computer. REFERENCES [1]. Design and implementation of CAN-USB Converter Based on ARM7 Serial Protocol API, By Wei-Chih Hsu, Shih-Tsung Liu, In 2012. [2]. www.ieee xplorer.org [3]. I2C-USB Bridge Guide, by Petro Kobluk, Valeriy Kyrynyuk, September 13, 2006. [4]. 8051 Microcontroller, byMazidi. [5]. www.datasheets.com