Genetic Programming-Based Code Generation for Arduino

被引:0
|
作者
Ferrel W. [1 ]
Alfaro L. [2 ]
机构
[1] Departamento Académico de Ingeniería Electrónica, Universidad Nacional de San Agustín de Arequipa Arequipa
[2] Departamento Académico de Ingeniería de Sistemas, Universidad Nacional de San Agustín de Arequipa Arequipa
来源
| 1600年 / Science and Information Organization卷 / 11期
关键词
Arduino based thermometer; Arduino mega board; automatic generation of programs; cooperative coevolutionary algorithm; Genetic programming; multi-objective linear genetic programming;
D O I
10.14569/IJACSA.2020.0111168
中图分类号
学科分类号
摘要
This article describes a methodology for writing the program for the Arduino board using an automatic generator of assembly language routines that works based on a cooperative coevolutionary multi-objective linear genetic programming algorithm. The methodology is described in an illustrative example that consists of the development of the program for a digital thermometer organized on a circuit formed by the Arduino Mega board, a text LCD module, and a temperature sensor. The automatic generation of a routine starts with an input-output table that can be created in a spreadsheet. The following routines have been automatically generated: initialization routine for the text LCD screen, routine for determining the temperature value, routine for converting natural binary code into unpacked two-digit BCD code, routine for displaying a symbol on the LCD screen. The application of this methodology requires basic knowledge of the assembly programming language for writing the main program and some initial configuration routines. With the application of this methodology in the illustrative example, 27% of the program lines were written manually, while the remaining 73% were generated automatically. The program, produced with the application of this methodology, preserves the advantage of assembly language programs of generating machine code much smaller than that generated by using the Arduino programming language. © 2020. All Rights Reserved.
引用
收藏
页码:538 / 549
页数:11
相关论文
共 50 条
  • [21] A Genetic Programming-Based Model for Colloid Retention in Fractures
    Yosri, Ahmed
    Siam, Ahmad
    El-Dakhakhni, Wael
    Dickson-Anderson, Sarah
    GROUNDWATER, 2019, 57 (05) : 693 - 703
  • [22] MAHATMA: a Genetic Programming-Based Tool for Protein Classification
    Tsunoda, Denise F.
    Freitas, Alex A.
    Lopes, Heitor S.
    2009 9TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS DESIGN AND APPLICATIONS, 2009, : 1136 - +
  • [23] Genetic programming-based chaotic time series modeling
    张伟
    吴智铭
    杨根科
    Journal of Zhejiang University Science, 2004, (11) : 121 - 128
  • [24] Genetic Programming-Based Machine Degradation Modeling Methodology
    Yan, Tongtong
    Wang, Dong
    IEEE Open Journal of Instrumentation and Measurement, 2022, 1
  • [25] Automating Arduino Programming: From Hardware Setups to Sample Source Code Generation
    Yusuf, Imam Nur Bani
    Jamal, Diyanah Binte Abdul
    Jiang, Lingxiao
    2023 IEEE/ACM 20TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2023, : 453 - 464
  • [26] A Genetic Programming-based Algorithm for Composing Web Services
    Mucientes, Manuel
    Lama, Manuel
    Couto, Miguel I.
    2009 9TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS DESIGN AND APPLICATIONS, 2009, : 379 - 384
  • [27] Genetic programming-based development of thermal runaway criteria
    Kummer, Alex
    Varga, Tamas
    Abonyi, Janos
    COMPUTERS & CHEMICAL ENGINEERING, 2019, 131
  • [28] Genetic programming-based chaotic time series modeling
    Zhang W.
    Wu Z.-M.
    Yang G.-K.
    Journal of Zhejiang University-SCIENCE A, 2004, 5 (11): : 1432 - 1439
  • [29] Genetic Programming-based Classification of Ferrograph Wear Particles
    Xu, Bin
    Wen, Guangrui
    Zhang, Zhifen
    Chen, Feng
    2016 13TH INTERNATIONAL CONFERENCE ON UBIQUITOUS ROBOTS AND AMBIENT INTELLIGENCE (URAI), 2016, : 842 - 847
  • [30] Genetic programming-based feature learning for question answering
    Khodadi, Iman
    Abadeh, Mohammad Saniee
    INFORMATION PROCESSING & MANAGEMENT, 2016, 52 (02) : 340 - 357