Implementing SOLID principles for IoT Arduino sensor code

Elisha Elikem Kofi Senoo, Ebenezer Akansah, Israel Mendonça, M. Aritsugi
{"title":"Implementing SOLID principles for IoT Arduino sensor code","authors":"Elisha Elikem Kofi Senoo, Ebenezer Akansah, Israel Mendonça, M. Aritsugi","doi":"10.1109/JAC-ECC56395.2022.10043950","DOIUrl":null,"url":null,"abstract":"Performance, energy efficiency, and other run-time attributes are usually prioritized by stakeholders in the embedded software industry as evaluation metrics, which often results in a trade-off of maintainability, reusability and other design-time qualities. But the need for shorter maintenance cycles is becoming more and more important, as more IoT devices and systems get adopted. Object-oriented programming (OOP) SOLID principles are well adopted practices in software development projects in achieving design-time qualities including maintainability and reusability. Despite the fact that maintainability and reusability are the design-time qualities that drive embedded software refactoring, the absence of a standard embedded software framework results in redundant and wasted development effort. In this study, we apply OOP SOLID principles to implement selected sensors to create an open-source library. This work can help beginners to quickly get started with sensors, and also help embedded software developers to build highly scalable and maintainable systems.","PeriodicalId":326002,"journal":{"name":"2022 10th International Japan-Africa Conference on Electronics, Communications, and Computations (JAC-ECC)","volume":"119 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 10th International Japan-Africa Conference on Electronics, Communications, and Computations (JAC-ECC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/JAC-ECC56395.2022.10043950","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Performance, energy efficiency, and other run-time attributes are usually prioritized by stakeholders in the embedded software industry as evaluation metrics, which often results in a trade-off of maintainability, reusability and other design-time qualities. But the need for shorter maintenance cycles is becoming more and more important, as more IoT devices and systems get adopted. Object-oriented programming (OOP) SOLID principles are well adopted practices in software development projects in achieving design-time qualities including maintainability and reusability. Despite the fact that maintainability and reusability are the design-time qualities that drive embedded software refactoring, the absence of a standard embedded software framework results in redundant and wasted development effort. In this study, we apply OOP SOLID principles to implement selected sensors to create an open-source library. This work can help beginners to quickly get started with sensors, and also help embedded software developers to build highly scalable and maintainable systems.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
实现SOLID原理的物联网Arduino传感器代码
嵌入式软件行业的涉众通常将性能、能源效率和其他运行时属性作为评估指标来优先考虑,这通常会导致在可维护性、可重用性和其他设计时质量之间进行权衡。但是,随着越来越多的物联网设备和系统被采用,缩短维护周期的需求变得越来越重要。面向对象编程(OOP) SOLID原则在软件开发项目中被很好地采用,以实现设计时的质量,包括可维护性和可重用性。尽管可维护性和可重用性是驱动嵌入式软件重构的设计时质量,但缺乏标准的嵌入式软件框架会导致冗余和浪费开发工作。在本研究中,我们应用面向对象的SOLID原理来实现选定的传感器,以创建一个开源库。这项工作可以帮助初学者快速入门传感器,也可以帮助嵌入式软件开发人员构建高度可扩展和可维护的系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Performance Analysis of a Wilkinson Power Combiner-Fed Patch Antenna for 300-GHz Arrayed Photomixers Partial Power Converter Based on Isolated Wide Input Range DC-DC Converter for Residential PV Applications Investigation on Microwave Heating Characteristic of Watery Object Buried in Soil Improving the Coupling Efficiency of the WPT System and Miniaturized Implantable Resonator using Circle Shaped Defected Ground Structure On-Edge Driving Maneuvers Detection in Challenging Environments from Smartphone Sensors
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1