A Model-Driven Approach for the Integration of Hardware Nodes in the IoT

  • Darwin AlulemaEmail author
  • Javier Criado
  • Luis Iribarne
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 930)


We currently live in continuous interaction with people and things, giving rise to the era of the Internet of Things (IoT). This has led the creation of new applications in diverse fields such as asset and stock tracking, transportation, electricity grids, industry automation, smart homes, agriculture or sports, among others. However, the growing number of platforms and the growing variety of end devices make application development a difficult task that requires a lot of time. A technology currently being used to solve such problems is modeling, because it can enhance the reuse of different elements to simplify developers’ work. Model-Driven Engineering (MDE) suggests a development process based on model making and transformation. For this reason, we propose a solution based on models to generate code automatically. Specifically, we focus on a Domain-Specific Language (DSL), a graphical editor and a Model to Text (M2T) transformation for hardware-node code generation. The proposed methodology automates the development process, allowing developers not to have an in-depth knowledge of all hardware and software platforms. To demonstrate this approach, a scenario for a smart home (with different sensors and actuators) has been designed, as well as an application for mobile devices, which allows system to monitor and control the scenario.


Model-Driven Engineering (MDE) Domain Specific Language (DSL) Internet of Things (IoT) Smart home 



This work has been funded by the EU ERDF and the Spanish Ministry MINECO under the AEI Projects TIN2013-41576-R and TIN2017-83964-R.


  1. 1.
    Atzori, L., Iera, A., Morabito, G.: From “smart objects” to “social objects”: the next evolutionary step of the IoT. IEEE Com. Mag. 97–105 (2014)Google Scholar
  2. 2.
    Badamasi, Y.: The working principle of an Arduino. In: 11th International Conference on Electronics, Computer and Computation (ICECCO), pp. 1–4. IEEE (2014)Google Scholar
  3. 3.
    Chmielewski, J.: Device-independent architecture for ubiquitous applications. Pers. Ubiquit. Comput. 18, 481–488 (2014)CrossRefGoogle Scholar
  4. 4.
    Criado, J., Asencio, J., Padilla, N., Iribarne, L.: Integrating cyber-physical systems in a component-based approach for smart homes. Sensors 18(7), 2156 (2018)CrossRefGoogle Scholar
  5. 5.
    Gomes, T., Lopes, P., Alves, J., Mestre, P., Cabral, J., Monteiro, J., Tavares, A.: A modeling domain-specific language for IoT-enabled operating systems. In: Annual Conference of the IEEE Industrial Electronics Society, pp. 3945–3950. IEEE (2017)Google Scholar
  6. 6.
    Gonçalo, M., Garcia, N., Pombo, N.: A survey on IoT: architectures, elements, applications, QoS, platforms and security concepts. In: Advances in Mobile Cloud Computing and Big Data in the 5G Era, vol. 22. Springer (2016)Google Scholar
  7. 7.
    Gonzalez, C., Pascual, J., Nuñez, E., García, V.: Midgar: domain-specific language to generate smart objects for an Internet of Things platform. In: Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, pp. 352–357. IEEE (2014)Google Scholar
  8. 8.
    Mesquita, J., Guimares, D., Pereira, C., Santos, F., Almeida, L.: Assessing the ESP8266 WiFi module for the Internet of Things. In: International Conference on Emerging Technologies and Factory Automation (ETFA), pp. 784–791. IEEE (2018)Google Scholar
  9. 9.
    Rodríguez, J., Cueva, J., Montenegro, C., Granados, J., González, R.: Metamodel for integration of Internet of Things, social networks, the cloud and industry 4.0. J. Ambient Intell. Human. Comput. 9(3), 709–723 (2017)Google Scholar
  10. 10.
    Li, W., Yen, C., Lin, Y., Tung, S., Huang, S.: JustIoT Internet of Things based on the firebase real time database. In: International Conference on Smart Manufacturing, Industrial and Logistics Engineering (SMILE), pp. 43–47. IEEE (2018)Google Scholar
  11. 11.
    Malavolta, I., Mostarda, L., Muccini, H., Ever, E., Doddapaneni, K., Gemikonakli, O.: A4WSN: an architecture driven modelling platform for analysing and developing WSNs. Softw. Syst. Model. 1–21 (2018)Google Scholar
  12. 12.
    Saha, S., Majumdar, A.: A review of Arduino board’s, Lilypad’s and Arduino shields. In: Devices for Integrated Circuit (DevIC), pp. 307–310. IEEE (2017)Google Scholar
  13. 13.
    Teixeira, S., Alves, B., Gonçalves, J., Filho, P., Rossetto, S.: Modeling and automatic code generation for wireless sensor network applications using model driven or business process approaches - a systematic mapping study. Syst. Softw. 132, 50–71 (2017)CrossRefGoogle Scholar
  14. 14.
    Torroja, Y., López, A., Portilla, J., Riesgo, T: A serial port based debugging tool to improve learning with Arduino. In: Conference on Design of Circuits and Integrated Systems (DCIS), pp. 1–3 (2015)Google Scholar
  15. 15.
    Yao, L., Sheng, Q., Benatallah, B., Dustdar, S., Wang, X., Shemshadi, A., Kanhere, S.: WITS: an IoT endowed computational framework for activity recognition in personalized smart homes. Computing 4, 369–385 (2018)MathSciNetCrossRefGoogle Scholar
  16. 16.
    Acceleo — The Eclipse Foundation (2018).
  17. 17.
    Arduino (2018).
  18. 18.
    Arduino Designer (2018).
  19. 19.
    Eclipse Modeling Project (2018).
  20. 20.
  21. 21.
    Sirius: The easiest way to get your own Modeling Tool (2018).

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Universidad de las Fuerzas Armadas ESPESangolquíEcuador
  2. 2.Applied Computing GroupUniversity of AlmeríaAlmeríaSpain

Personalised recommendations