Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port

This paper proposes an algorithm for 32-bit data transmission among microcontrollers through one 8-bit port. This method was motivated by a need to overcome limitations of microcontroller I/O as well as to fulfill the requirement of data transmission which is more than 10 bits. In this paper, the us...

Full description

Bibliographic Details
Main Authors: Midriem Mirdanies, Hendri Maja Saputra, Estiko Rijanto
Format: Article
Language:English
Published: Indonesian Institute of Sciences 2015-12-01
Series:Journal of Mechatronics, Electrical Power, and Vehicular Technology
Subjects:
Online Access:https://mev.lipi.go.id/mev/article/view/242
_version_ 1818332587900272640
author Midriem Mirdanies
Hendri Maja Saputra
Estiko Rijanto
author_facet Midriem Mirdanies
Hendri Maja Saputra
Estiko Rijanto
author_sort Midriem Mirdanies
collection DOAJ
description This paper proposes an algorithm for 32-bit data transmission among microcontrollers through one 8-bit port. This method was motivated by a need to overcome limitations of microcontroller I/O as well as to fulfill the requirement of data transmission which is more than 10 bits. In this paper, the use of an 8-bit port has been optimized for 32-bit data transmission using unsigned long integer, long integer, and float types. Thirty-two bit data is extracted into binary number, then sent through a series of 8-bit ports by transmitter microcontroller. At receiver microcontroller, the binary data received through 8-bit port is reconverted into 32 bits with the same data type. The algorithm has been implemented and tested using C language in ATMega32A microcontroller. Experiments have been done using two microcontrollers as well as four microcontrollers in the parallel, tree, and series connections. Based on the experiments, it is known that the data transmitted can be accurately received without data loss. Maximum transmission times among two microcontrollers for unsigned long integer, long integer, and float are 630 μs, 1,880 μs, and 7,830 μs, respectively. Maximum transmission times using four microcontrollers in parallel connection are the same as those using two microcontrollers, while in series connection are 1,930 μs for unsigned long integer, 5,640 μs for long integer, and 23,540 μs for float. The maximum transmission times of tree connection is close to those of the parallel connection. These results prove that the algorithm works well.
first_indexed 2024-12-13T13:38:07Z
format Article
id doaj.art-da759af98e6744c6843bec53c753e3c5
institution Directory Open Access Journal
issn 2087-3379
2088-6985
language English
last_indexed 2024-12-13T13:38:07Z
publishDate 2015-12-01
publisher Indonesian Institute of Sciences
record_format Article
series Journal of Mechatronics, Electrical Power, and Vehicular Technology
spelling doaj.art-da759af98e6744c6843bec53c753e3c52022-12-21T23:43:40ZengIndonesian Institute of SciencesJournal of Mechatronics, Electrical Power, and Vehicular Technology2087-33792088-69852015-12-0162758210.14203/j.mev.2015.v6.75-82147Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit PortMidriem Mirdanies0Hendri Maja Saputra1Estiko Rijanto2Research Center for Electrical Power and Mechatronics, Indonesian Institute of Sciences (LIPI)Research Center for Electrical Power and Mechatronics, Indonesian Institute of Sciences (LIPI)Research Center for Electrical Power and Mechatronics, Indonesian Institute of Sciences (LIPI)This paper proposes an algorithm for 32-bit data transmission among microcontrollers through one 8-bit port. This method was motivated by a need to overcome limitations of microcontroller I/O as well as to fulfill the requirement of data transmission which is more than 10 bits. In this paper, the use of an 8-bit port has been optimized for 32-bit data transmission using unsigned long integer, long integer, and float types. Thirty-two bit data is extracted into binary number, then sent through a series of 8-bit ports by transmitter microcontroller. At receiver microcontroller, the binary data received through 8-bit port is reconverted into 32 bits with the same data type. The algorithm has been implemented and tested using C language in ATMega32A microcontroller. Experiments have been done using two microcontrollers as well as four microcontrollers in the parallel, tree, and series connections. Based on the experiments, it is known that the data transmitted can be accurately received without data loss. Maximum transmission times among two microcontrollers for unsigned long integer, long integer, and float are 630 μs, 1,880 μs, and 7,830 μs, respectively. Maximum transmission times using four microcontrollers in parallel connection are the same as those using two microcontrollers, while in series connection are 1,930 μs for unsigned long integer, 5,640 μs for long integer, and 23,540 μs for float. The maximum transmission times of tree connection is close to those of the parallel connection. These results prove that the algorithm works well.https://mev.lipi.go.id/mev/article/view/242transmission algorithm32-bit datadata transmission8-bit portmicrocontrollerc language
spellingShingle Midriem Mirdanies
Hendri Maja Saputra
Estiko Rijanto
Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port
Journal of Mechatronics, Electrical Power, and Vehicular Technology
transmission algorithm
32-bit data
data transmission
8-bit port
microcontroller
c language
title Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port
title_full Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port
title_fullStr Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port
title_full_unstemmed Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port
title_short Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port
title_sort algorithm of 32 bit data transmission among microcontrollers through an 8 bit port
topic transmission algorithm
32-bit data
data transmission
8-bit port
microcontroller
c language
url https://mev.lipi.go.id/mev/article/view/242
work_keys_str_mv AT midriemmirdanies algorithmof32bitdatatransmissionamongmicrocontrollersthroughan8bitport
AT hendrimajasaputra algorithmof32bitdatatransmissionamongmicrocontrollersthroughan8bitport
AT estikorijanto algorithmof32bitdatatransmissionamongmicrocontrollersthroughan8bitport