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 条
  • [1] Genetic Programming-Based Code Generation for Arduino
    Ferrel, Wildor
    Alfaro, Luis
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (11) : 538 - 549
  • [2] Constraint Programming-based Column Generation
    Gualandi, Stefano
    Malucelli, Federico
    ANNALS OF OPERATIONS RESEARCH, 2013, 204 (01) : 11 - 32
  • [3] Constraint programming-based column generation
    Gualandi, Stefano
    Malucelli, Federico
    4OR-A QUARTERLY JOURNAL OF OPERATIONS RESEARCH, 2009, 7 (02): : 113 - 137
  • [4] Genetic programming-based controller design
    Sekaj, I.
    Perkacz, J.
    2007 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-10, PROCEEDINGS, 2007, : 1339 - 1343
  • [5] Constraint Programming-based Column Generation
    Stefano Gualandi
    Federico Malucelli
    Annals of Operations Research, 2013, 204 : 11 - 32
  • [6] Constraint programming-based column generation
    Stefano Gualandi
    Federico Malucelli
    4OR, 2009, 7 : 113 - 137
  • [7] A genetic programming-based classifier system
    Ahluwalia, M
    Bull, L
    GECCO-99: PROCEEDINGS OF THE GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 1999, : 11 - 18
  • [8] Genetic Programming-Based Automatic Gait Generation in Joint Space for a Quadruped Robot
    Seo, Kisung
    Hyun, Soohwan
    Goodman, Erik D.
    ADVANCED ROBOTICS, 2010, 24 (15) : 2199 - 2214
  • [9] Genetic programming-based automatic gait generation in joint space for a quadruped robot
    Department of Electronics Engineering, Seokyeong University, Jungneung-Dong 16-1, Sungbuk-Gu, Seoul 136-704, Korea, Republic of
    不详
    Adv Rob, 15 (2199-2214):
  • [10] ArIA: Arduino Code Generation Based on the CAPS
    Sharaf, Mohammad
    Muccini, Henry
    Abughazala, Moamin
    ECSA 2018: PROCEEDINGS OF THE 12TH EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE: COMPANION PROCEEDINGS, 2018,