DOI QR코드

DOI QR Code

Framework design for efficient Arduino program development

  • Received : 2021.12.25
  • Accepted : 2022.01.03
  • Published : 2022.02.28

Abstract

Arduino is used in various places such as education, experimentation, and industry. Due to the easy accessibility of Arduino, it is often used by non-majors, and it is also used in media art and toy programs. Although Arduino is relatively easy to use compared to other devices, it is not easy to control various IoT components at the same time. Some tasks run independently of other tasks, while others run dependently. In this paper, I proposed the Arduino Task Framework to efficiently execute many tasks in these various situations. The design framework of this paper is largely composed of two types: synchronous execution and asynchronous execution. These two execution methods can be combined to create several independent and dependent execution routines. Asynchronous tasks are independently executed tasks and are managed by AsyncTaskGroup, while synchronous tasks are dependently executed tasks and are managed by SyncTaskGroup. AsyncTaskGroup instance and SyncTaskGroup instance are instances of the same Task and can be used in combination with another task. The Arduino framework proposed in this paper simplifies the program structure and can easily compose various tasks.

Keywords

References

  1. Hongyong Kim, Donggi Yoon and Seungjung Shin, "Development of Smart Multi-function Ground Resistivity Measuring Device using Arduino in Wind Farm", The Journal of The Institute of Internet, Broadcasting and Communication(JIIBC), Vol. 19, No. 6, pp.65-71, Dec. 2019. DOI: https://doi.org/10.7236/JIIBC.2019.19.6.65
  2. Donghwan Gong and Seungjung Shin, "Analysis of Arduino Timer Callback for IoT Devices", The Journal of The Institute of Internet, Broadcasting and Communication (IIBC), Vol. 18, No. 6, pp.139-143, Dec. 2018. DOI: https://doi.org/10.7236/JIIBC.2018.18.6.139
  3. Donghwan Gong, "IoT Device Testing for Efficient IoT Device Framework", The Journal of The Institute of Internet, Broadcasting and Communication(JIIBC), Vol. 12, No. 2, pp. 77-82, Mar. 2020. DOI: http://dx.doi.org/10.7236/IJIBC.2020.12.2.77
  4. Vera Suryani, Selo Sulistyo and Widyawan Widyawan, "Internet of Things (IoT) Framework for Granting Trust among Objects", Journal of Information Processing Systems, Vol. 13, No. 6, pp. 1613-1627, Dec. 2017. DOI: https://doi.org/10.3745/JIPS.03.0088
  5. Hongyong Kim and Seungjung Shin, "A Study on Smart Soil Resistance Measuring Device for Safety Characterized Ground Design in Converged Information Technology", The Journal of The Institute of Internet, Broadcasting and Communication (IIBC), Vol. 19, No. 1, pp.203-209, Feb. 2019. DOI: https://doi.org/10.7236/JIIBC.2019.19.1.203
  6. Ohseok Kwon and Keehwan Kim, "Implementation of Smart Sensor Network System Based on Open Source Hardware", The Journal of The Institute of Internet, Broadcasting and Communication (IIBC), Vol. 17, No. 1, pp.123-128, Feb. 2017. DOI: https://doi.org/10.7236/JIIBC.2017.17.1.123
  7. Seokjin Im and Heejoung Hwang, "Design and Development of Framework for Wireless Data Broadcast of XMLbased CCR Documents", The Journal of The Institute of Internet, Broadcasting and Communication (IIBC), Vol. 15, No. 5, pp.169-175, Oct. 2015. DOI: http://dx.doi.org/10.7236/JIIBC.2015.15.5.169
  8. Kyongdeck Jeon and Seungjung Shin, "Proposal for Safety Management of Formwork Construction Using IT Technology", The Journal of The Institute of Internet, Broadcasting and Communication (IIBC), Vol. 20, No. 6, pp.93-99, Dec. 2020. DOI: https://doi.org/10.7236/JIIBC.2020.20.6.93
  9. Arduino, https://www.arduino.cc/
  10. Architecture framework, https://en.wikipedia.org/wiki/Architecture_framework