Midriem Mirdanies
Research Center for Electrical Power and Mechatronics, Indonesian Institute of Sciences (LIPI)

Published : 2 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 2 Documents
Search

Algorithm of 32-bit Data Transmission Among Microcontrollers Through an 8-bit Port Midriem Mirdanies; Hendri Maja Saputra; Estiko Rijanto
Journal of Mechatronics, Electrical Power and Vehicular Technology Vol 6, No 2 (2015)
Publisher : National Research and Innovation Agency

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.14203/j.mev.2015.v6.75-82

Abstract

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 intobinary 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.
Data Transmission Method on a Room Condition Telemonitoring Application (IoT) Midriem Mirdanies
Lontar Komputer : Jurnal Ilmiah Teknologi Informasi Vol. 10, No. 3 December 2019
Publisher : Institute for Research and Community Services, Udayana University

Show Abstract | Download Original | Original Source | Check in Google Scholar | Full PDF (1277.945 KB) | DOI: 10.24843/LKJITI.2019.v10.i03.p05

Abstract

Data transmission system in IoT applications such as telemonitoring, using cable or wireless, requires a robust data transmission method. In this paper, a room condition telemonitoring application has been made where all data are read from raspberry pi, and sent to a pc server every minute using LAN and Wifi media, then update to a webserver. The data are sent using the method proposed in this paper which using the UDP mechanism with several improvements. Experiments have been done using LAN and Wifi, and it is found that the data can be received perfectly, although there are interferences from communication media. The average processing time on a raspberry pi is 19 ms, while the average processing time on the pc server is 5 us. In addition, the average processing speed of the transmission data from raspberry pi to a pc server until ack is received by raspberry pi using LAN media is 0.04 second, while using Wifi media is 0.08 seconds. Based on the experiments, it was found that the proposed method was successfully implemented in the room condition telemonitoring.