Model-driven Development for ESP-based IoT Systems

Burak Karaduman, Moharram Challenger
{"title":"Model-driven Development for ESP-based IoT Systems","authors":"Burak Karaduman, Moharram Challenger","doi":"10.1109/SERP4IoT52556.2021.00008","DOIUrl":null,"url":null,"abstract":"The large variety of low-end devices and their programming environment increases the development complexity of embedded software for the Internet of Things. Therefore, developing IoT-based systems has been found to be a complex process. As a consequence, the development of these systems becomes more error-prone, time-consuming and costly. ESP (ESP8266 and ESP32) is one of the preferred micro-controllers for education, industrial projects, and prototyping. Arduino, a well-known firmware, is used in ESP which makes it easy-to-use. However, learning the device-specific configurations, using network features, and implementing IoT applications for ESP on the Arduino platform are still burdensome and time-consuming tasks. Raising the abstraction level can help to decrease the complexity and address this problem. To this end, in this paper, a model-driven approach is proposed for the development of Arduino-based programmable ESP micro-controllers. First, a meta-model is designed for the Arduino-based ESP micro-controllers. Based on this meta-model, a Domain-specific Language (DSL) is developed to graphically represent the domain models. To gain more functionality for the language, domain rules are defined as constraints. Also, partial system codes are automatically generated from the instance models. In this way, the development of IoT systems based on ESP modules is supported by code synthesis which increases the performance and reduces the number of errors. Finally, a motion-sensitive thief detector and a servo-motor based room temperature control system are implemented to evaluate the proposed DSL.","PeriodicalId":131447,"journal":{"name":"2021 IEEE/ACM 3rd International Workshop on Software Engineering Research and Practices for the IoT (SERP4IoT)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE/ACM 3rd International Workshop on Software Engineering Research and Practices for the IoT (SERP4IoT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SERP4IoT52556.2021.00008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

The large variety of low-end devices and their programming environment increases the development complexity of embedded software for the Internet of Things. Therefore, developing IoT-based systems has been found to be a complex process. As a consequence, the development of these systems becomes more error-prone, time-consuming and costly. ESP (ESP8266 and ESP32) is one of the preferred micro-controllers for education, industrial projects, and prototyping. Arduino, a well-known firmware, is used in ESP which makes it easy-to-use. However, learning the device-specific configurations, using network features, and implementing IoT applications for ESP on the Arduino platform are still burdensome and time-consuming tasks. Raising the abstraction level can help to decrease the complexity and address this problem. To this end, in this paper, a model-driven approach is proposed for the development of Arduino-based programmable ESP micro-controllers. First, a meta-model is designed for the Arduino-based ESP micro-controllers. Based on this meta-model, a Domain-specific Language (DSL) is developed to graphically represent the domain models. To gain more functionality for the language, domain rules are defined as constraints. Also, partial system codes are automatically generated from the instance models. In this way, the development of IoT systems based on ESP modules is supported by code synthesis which increases the performance and reduces the number of errors. Finally, a motion-sensitive thief detector and a servo-motor based room temperature control system are implemented to evaluate the proposed DSL.
基于esp的物联网系统的模型驱动开发
各种各样的低端设备及其编程环境增加了物联网嵌入式软件的开发复杂性。因此,开发基于物联网的系统是一个复杂的过程。因此,这些系统的开发变得更加容易出错、耗时和昂贵。ESP (ESP8266和ESP32)是教育、工业项目和原型设计的首选微控制器之一。Arduino是一个著名的固件,在ESP中使用,使其易于使用。然而,学习特定于设备的配置,使用网络功能,以及在Arduino平台上实现ESP的物联网应用仍然是繁重而耗时的任务。提高抽象级别可以帮助降低复杂性并解决这个问题。为此,本文提出了一种基于arduino的可编程ESP微控制器的模型驱动开发方法。首先,设计了基于arduino的ESP微控制器的元模型。在此元模型的基础上,开发了一种领域特定语言(DSL)来图形化地表示领域模型。为了为语言获得更多的功能,域规则被定义为约束。此外,从实例模型自动生成部分系统代码。这样,基于ESP模块的物联网系统的开发就得到了代码合成的支持,从而提高了性能,减少了错误。最后,实现了一个动作敏感的小偷探测器和一个基于伺服电机的室温控制系统来评估所提出的DSL。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信