International Journal of Scientific & Technology Research

Home About Us Scope Editorial Board Blog/Latest News Contact Us
10th percentile
Powered by  Scopus
Scopus coverage:
Nov 2018 to May 2020


IJSTR >> Volume 10 - Issue 10, October 2021 Edition

International Journal of Scientific & Technology Research  
International Journal of Scientific & Technology Research

Website: http://www.ijstr.org

ISSN 2277-8616

Development Of A Freertos Based Novel Gateway For Iot Applications

[Full Text]



Giang Truong Le, Thang Viet Tran, Phuc Thinh Doan, Trong Hai Nguyen



FreeRTOS, Wireless sensor network, Internet of Things, IoT application, Sensors, Microcontroller, Web IoT.



A novel radio frequency (RF) gateway is designed and implemented by using an open-source real-time operating system for wireless communication between sensor node and server over the internet network. The proposed RF gateway consists of a Dual-core microcontroller unit, a wireless transceiver module that operates at a frequency of 433 MHz and a local user interface website configuration. By using three low-power wireless sensor nodes, we can experiment with the designed RF gateway, that is, connected to commercial environment sensors and collecting data such as water temperature sensors. The proposed RF gateway can simultaneously execute multitasking with a set of different priorities and in particular, it can collect and store measured sensor data in 30 days, and as a server transferring measurement results from nodes to an IoT dashboard by using Websocket protocols. In addition, a friendly portable interface website is designed to manage and illustrate parameters and as control wireless actuator node in offline mode. This system was implemented by using an open-source real-time operation system (FreeRTOS) and a single high-speed multicore microcontroller unit that is a promising option for most of the applications in the Internet of Things.



[1] Giang T. L., Nhat M. T., Thang V. T., IoT System for Monitoring a Large-Area Environment Sensors and Control Actuators Using Real-Time Firebase Database, 12th Intelligent Human Computer Interaction International Conference (IHCI2020), Daegu, South Korea, pp.3-20, Nov, 2020.
[2] “Document Google Firebase”, https://firebase.google.com
[3] “Document Amazone FreeRTOS”, https://aws.amazon.com/freertos/
[4] S. Verma, Y. Kawamoto, Z. M. Fadlullah, H. Nishiyama, and N. Kato, Survey on network methodologies for real-time analytics of massive IoT data and open research issues, IEEE Communications Surveys & Tutorials , vol. 19, no. 3, pp. 1457–1477, 2017.
[5] Çoban, S., Gökalp, M.O., Gökalp, Eren E., P.E., Koçyi ˘git, A., Predictive Maintenance in Healthcare Services with Big Data Technologies., In Proceedings of the 2018 IEEE 11th Conference on Service-Oriented Computing and Applications (SOCA), Paris, France., pp. 93–98, 2018
[6] Chen MJ, Duh JM, Shie RH, Weng JH, Hsu HT., Dynamic real-time monitoring of chloroform in an indoor swimming pool air using open-path Fourier transform infrared spectroscopy. Indoor Air., Vol.26(3): 457–67, 2016
[7] Internet Engineering Task Force, IETF RFC 6455: “The Web-Socket Protocol”, IETF, Orlando, Fla, USA, 2011
[8] Wan-Young C., Giang T. L., Thang V. T. and Nam H. N., Novel proximal fish freshness monitoring using batteryless smart sensor tag, Sensors and Actuators B: Chemical, Vol. 248, Sep, 2017
[9] W Tao, L Zhao, G Wang, R Liang, Review of the internet of things communication technologies in smart agriculture and challenges, Computers and Electronics in Agricultural, Elsevier, 2021
[10] Shahzad, M.K.; Cho, T.H. A Network Density-adaptive Improved CCEF Scheme for Enhanced Network Life time, Energy Efficiency, and Filtering in WSNs. Adhoc Sens. Wirel. Netw., Vol.35 , pp.129-149, 2017
[11] “Samsung Smart Things Hub”, https://www.smartthings.com/products/smartthings-hub
[12] “Open Source Brain-Computer Interface Database”, https://openbci.com/
[13] M. Di Natale, H. Zeng, P. Giusto, A. Ghosal, Understanding and Using the Controller Area Network Communication Protocol: Theory and Practice, Springer Science & Business Media, 2012
[14] “Awesome Benefits of Internet of Things (IoT) for Web and Mobile Appl Development”, https://theiotmagazine.com/
[15] Application-aware end-to-end delay and message loss estimationin Internet of Things (IoT) - MQTT-SN protocols
[16] Wolf L, Büsching F, Institute of Operating Systems and Computer Networks (eds) 17. GI/ITG KuVS Fachgespräch Sensornetze 13. & 14., Braunschweig: Technical Report. Braunschweig, 2018
[17] Rajib Mall, “Real-Time Systems: Theory and Practice”, pp. 73-74, Edition 2nd CSE.
[18] “FreeRTOS FAQ - Memory Usage, Boot Times & Context Switch Times”, https://www.freertos.org/FAQMem.html
[19] Naresh R. Shanbhag, Algorithms Transformation Techniques for Low-Power Wireless VLSI Systems Design, International Journal of Wireless Information Networks, Vol. 5, No. 2, 1998
[20] Reinder. J. Bril, Wim F. J. Verhaegh, John J. Lukkien, Extract worst-case response times of real-time task under fixed-priority scheduling with defered preemption, in proceedings 19th Euromicro Conference on Real-Time Systems (ECRTS'07), pp.4-6, Pisa, Italy, 2007
[21] C. L. Liu and James W. Layland. 1973. Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment, JACM 20, Vol.1, pp.46–61, 1973.
[22] Alessandro Ludovici 1 and Anna Calveras, A Proxy Design to Leverage the Interconnection of CoAP Wireless Sensor Networks with Web Applications, Sensors, Vol.15, pp.1217-1244, 2015
[23] “IBM Documentation: MQTT restrictions and limitations”, https://www.ibm.com/docs/en/maximo-monitor/8.4.0?topic=messaging-restrictions-limitations
[24] Renzo Mischianti, “Resoure web application design”, https://www.mischianti.org/2020/10/26/web-server-with-esp8266-and-esp32-byte-array-gzipped-pages-and-spiffs-2/
[25] Riu Mao, “HLA Compliant Real-Time Operation System Simulation, Ottawa-Carleton Institute for Electric Engineering”, Factculy of Engineering, 2002
[26] Wang, L.; Yang, Y.; Zhao, W.; Xu, L.; Lan, S. Multi-rate Network Coding for Energy-Efficient Multicast in Heterogeneous Wireless Multi-hop Networks. Adhoc Sens. Wirel. Netw., Vol.32, pp.197-219, 2016
[27] “ESP32 A feature-rich MCU with integrated Wi-Fi and
Bluetooth connectivity for a wide-range of applications”, https://www.espressif.com/en/products/socs/esp32/overview
[28] Maier, A., Sharp, A. and Vagapov. Y. (2017). Comparative analysis and practical implementation of the ESP32 microcontroller module for the Internet of Things. In: Proc. 7th IEEE Int. Conference on Internet Technologies and Applications ITA-17, Wrexham, UK, 2017