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] Genetic programming-based discovery of ranking functions for effective Web search
    Fan, WG
    Gordon, MD
    Pathak, P
    JOURNAL OF MANAGEMENT INFORMATION SYSTEMS, 2005, 21 (04) : 37 - 56
  • [22] A Genetic Programming-Based Low-Level Instructions Robot for Realtimebattle
    Romero, Juan
    Santos, Antonino
    Carballal, Adrian
    Rodriguez-Fernandez, Nereida
    Santos, Iria
    Torrente-Patino, Alvaro
    Tunas, Juan
    Machado, Penousal
    ENTROPY, 2020, 22 (12) : 1 - 21
  • [23] Genetic Programming-based Self-reconfiguration Planning for Metamorphic Robot
    Tarek Ababsa
    Noureddine Djedl
    Yves Duthen
    International Journal of Automation and Computing, 2018, 15 (04) : 431 - 442
  • [24] A genetic programming-based approach for classifying pancreatic adenocarcinoma: the SICED experience
    D'Angelo, Gianni
    Scoppettuolo, Maria Nunzia
    Cammarota, Anna Lisa
    Rosati, Alessandra
    Palmieri, Francesco
    SOFT COMPUTING, 2022, 26 (19) : 10063 - 10074
  • [25] A genetic programming-based convolutional neural network for image quality evaluations
    Chan, Kit Yan
    Lam, Hak-Keung
    Jiang, Huimin
    NEURAL COMPUTING & APPLICATIONS, 2022, 34 (18) : 15409 - 15427
  • [26] A genetic programming-based method for image classification with small training data
    Fan, Qinglan
    Bi, Ying
    Xue, Bing
    Zhang, Mengjie
    KNOWLEDGE-BASED SYSTEMS, 2024, 283
  • [27] A Simple Approach to Lifetime Learning in Genetic Programming-Based Symbolic Regression
    Azad, Raja Muhammad Atif
    Ryan, Conor
    EVOLUTIONARY COMPUTATION, 2014, 22 (02) : 287 - 317
  • [28] Genetic programming-based attenuation relationship: An application of recent earthquakes in turkey
    Cabalar, Ali Firat
    Cevik, Abdulkadir
    COMPUTERS & GEOSCIENCES, 2009, 35 (09) : 1884 - 1896
  • [29] Image object extraction using a genetic programming-based object model
    Shimizu, A
    Chang, SF
    IMAGE AND VIDEO COMMUNICATIONS AND PROCESSING 2000, 2000, 3974 : 452 - 461