LearnBlock: A Robot-Agnostic Educational Programming Tool

Pilar Bachiller*, Ivan Barbecho, Luis V. Calderita, Pablo Bustos, Luis J. Manso

*Corresponding author for this work

    Research output: Contribution to journalArticlepeer-review


    Education is evolving to prepare students for the current sociotechnical changes. An increasing effort to introduce programming and other STEM-related subjects into the core curriculum of primary and secondary education is taking place around the world. The use of robots stands out among STEM initiatives, since robots are proving to be an engaging tool for learning programming and other STEM-related contents. Block-based programming is the option chosen for most educational robotic platforms. However, many robotics kits include their own software tools, as well as their own set of programming blocks. LearnBlock, a new educational programming tool, is proposed here. Its major novelty is its loosely coupled software architecture which makes it, to the best of our knowledge, the first robot-agnostic educational tool. Robot-agnosticism is provided not only in block code, but also in generated code, unifying the translation from blocks to the final programming language. The set of blocks can be easily extended implementing additional Python functions, without modifying the core code of the tool. Moreover, LearnBlock provides an integrated educational programming environment that facilitates a progressive transition from a visual to a general-purpose programming language. To evaluate LearnBlock and demonstrate that it is platform-agnostic, several tests were conducted. Each of them consists of a program implementing a robot behaviour. The block code of each test can run on several educational robots without changes.
    Original languageEnglish
    Article number8986589
    Pages (from-to)30012-30026
    Number of pages15
    JournalIEEE Access
    Issue number1
    Early online date7 Feb 2020
    Publication statusPublished - 18 Feb 2020

    Bibliographical note

    This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see http://creativecommons.org/licenses/by/4.0/


    • Educational tool
    • learning programming
    • robot-agnostic
    • software architecture


    Dive into the research topics of 'LearnBlock: A Robot-Agnostic Educational Programming Tool'. Together they form a unique fingerprint.

    Cite this