Relay Driver Based on Arduino UNO to Bridge the Gap of The Digital Output Voltage of The Node MCU ESP32

Authors

  • Yulianto Yulianto Bina Nusantara University

DOI:

https://doi.org/10.21512/emacsjournal.v5i3.9697

Keywords:

Relay Module, Arduino UNO, Node MCU, Arduino JSON

Abstract

The IoT could control the devices that need a high current voltage to operate. The voltage control here means that the IoT could give the command to turn on and turn off the electric current by using a relay module. One of the devices that are most frequently used in many research projects is Node MCU ESP8266 and Node MCU ESP32. Those microcontrollers work with the maximum supply is 3.3-volt direct current (DC). On the other hand, the relay module commonly needs a voltage supply of 5-volt DC and the relay needs to be controlled by a single transistor to make a trig on. The relay will be active when the transistor’s basis pin is grounded into the ground, so the relay will get the current flow. However, the relay module which is controlled using Node MCU could not work properly, caused Node MCU only provides the digital out is 3-volt maximum from its digital Input Output pins (I/O). Meanwhile, the driver relay based on a single transistor needs a bias input amount of 5 volts to make the relay module active well. If the bias voltage doesn't reach 5 volts or just 3.3 volts will make the relay can't switch on properly which can result in bad contact. To overcome that problem this research proposed the driver relay based on Arduino UNO. The novel of this research is adding the Arduino UNO module between Node MCU and the relay module which has task to bridge the voltage difference between the output digital output ESP that only maximum 3.3 volt converted by Arduino to be digital output which can reach the voltage of 5 volt. The Arduino JSON library was also involved to wrap the commands that produced by Node MCU then deserialized on Arduino to parse and convert to be digital output to control the relay module.

Dimensions

Plum Analytics

Author Biography

Yulianto Yulianto, Bina Nusantara University

Computer Science Department, School of Computer Science,

References

Amoran, A. E., Oluwole, A. S., Fagorola, E. O., & Diarah, R. S. (2021). Home automated system using Bluetooth and an android application. Scientific African, 11, e00711. https://doi.org/10.1016/j.sciaf.2021.e00711

Blanchon, B. (n.d.). ArduinoJson. 2018. Retrieved November 23, 2022, from https://arduinojson.org/

Bourhis, P., Reutter, J. L., & Vrgoč, D. (2020). JSON: Data model and query languages. Information Systems, 89, 101478. https://doi.org/https://doi.org/10.1016/j.is.2019.101478

Ding, J., Nemati, M., Ranaweera, C., & Choi, J. (2020). IoT connectivity technologies and applications: A survey. IEEE Access, 8, 67646–67673. https://doi.org/10.1109/ACCESS.2020.2985932

El-Sayed, W. T., Azzouz, M. A., Zeineldin, H. H., & El-Saadany, E. F. (2021). A Harmonic Time-Current-Voltage Directional Relay for Optimal Protection Coordination of Inverter-Based Islanded Microgrids. IEEE Transactions on Smart Grid, 12(3), 1904–1917. https://doi.org/10.1109/TSG.2020.3044350

Hassan, C. A. U., Iqbal, J., Khan, M. S., Hussain, S., Akhunzada, A., Ali, M., Gani, A., Uddin, M., & Ullah, S. S. (2022). Design and Implementation of Real-Time Kitchen Monitoring and Automation System Based on Internet of Things. Energies, 15(18). https://doi.org/10.3390/en15186778

Hermanu, C., Maghfiroh, H., Santoso, H. P., Arifin, Z., & Harsito, C. (2022). Dual Mode System of Smart Home Based on Internet of Things. Journal of Robotics and Control (JRC), 3(1), 26–31. https://doi.org/10.18196/jrc.v3i1.10961

Ivanov, D., Tang, C. S., Dolgui, A., Battini, D., & Das, A. (2021). Researchers’ perspectives on Industry 4.0: multi-disciplinary analysis and opportunities for operations management. International Journal of Production Research, 59(7), 2055–2078. https://doi.org/10.1080/00207543.2020.1798035

Khan, A. U., Khan, M. E., Hasan, M., Zakri, W., Alhazmi, W., & Islam, T. (2022). An Efficient Wireless Sensor Network Based on the ESP-MESH Protocol for Indoor and Outdoor Air Quality Monitoring. Sustainability (Switzerland), 14(24). https://doi.org/10.3390/su142416630

Lee, J., Anjos, E., & Satti, S. R. (2021). SJSON: A succinct representation for JSON documents. Information Systems, 97. https://doi.org/10.1016/j.is.2020.101686

Liu, Z. H., Hammerschmidt, B., McMahon, D., Chang, H., Lu, Y., Spiegel, J., Sosa, A. C., Suresh, S., Arora, G., & Arora, V. (2020). Native JSON Datatype Support: Maturing SQL and NoSQL convergence in Oracle Database. Proceedings of the VLDB Endowment, 13(12), 3059–3071. www.scopus.com

Mironov, V., Gusarenko, A., Yusupova, N., & Smetanin, Y. (2020). Json documents processing using situation-oriented databases. Acta Polytechnica Hungarica, 17(8), 29–40. https://doi.org/10.12700/APH.17.8.2020.8.3

Nižetić, S., Šolić, P., López-de-Ipiña González-de-Artaza, D., & Patrono, L. (2020). Internet of Things (IoT): Opportunities, issues and challenges towards a smart and sustainable future. Journal of Cleaner Production, 274. https://doi.org/10.1016/j.jclepro.2020.122877

Parab, R., & Prajapati, S. (2019). IoT based relay operation. International Journal of Engineering and Advanced Technology, 9(1), 6515–6520. https://doi.org/10.35940/ijeat.A1415.109119

Perkasa, R., Wahyuni, R., Melyanti, R., Herianto, & Irawan, Y. (2021). Light control using human body temperature based on arduino uno and PIR (Passive Infrared Receiver) sensor. Journal of Robotics and Control (JRC), 2(4), 307–310. https://doi.org/10.18196/jrc.2497

Rahman, M. S., Peeri, N. C., Shrestha, N., Zaki, R., Haque, U., & Hamid, S. H. A. (2020). Defending against the Novel Coronavirus (COVID-19) outbreak: How can the Internet of Things (IoT) help to save the world? Health Policy and Technology, 9(2), 136–138. https://doi.org/10.1016/j.hlpt.2020.04.005

Shen, G., Zhang, J., Marshall, A., Peng, L., & Wang, X. (2021). Radio Frequency Fingerprint Identification for LoRa Using Deep Learning. IEEE Journal on Selected Areas in Communications, 39(8), 2604–2616. https://doi.org/10.1109/JSAC.2021.3087250

Siu, K. K. M., Ho, C. N. M., & Li, D. (2020). Design and analysis of a bidirectional hybrid DC circuit breaker using AC relays with long life time. IEEE Transactions on Power Electronics, 36(3), 2889–2900. https://doi.org/10.1109/TPEL.2020.3013612

Sun, G.-., Yun, J.-., & Cheon, M.-. (2021). Parallel Switch Configuration for High Voltage DC Switching to Secure PV Power System Safety. Transactions on Electrical and Electronic Materials, 22(1), 108–113. https://doi.org/10.1007/s42341-020-00279-9

Uguru-Okorie, D. C., Adebimpe, A. M., Oni, T. O., & Omoyemi, P. (2022). Development of an automated bitter leaf processing machine. Scientific African, 17. https://doi.org/10.1016/j.sciaf.2022.e01311

Xu, X., He, C., Xu, Z., Qi, L., Wan, S., & Bhuiyan, M. Z. A. (2020). Joint Optimization of Offloading Utility and Privacy for Edge Computing Enabled IoT. IEEE Internet of Things Journal, 7(4), 2622–2629. https://doi.org/10.1109/JIOT.2019.2944007

Yahya, O. H., Alrikabi, H. T. S., & Aljazaery, I. A. (2020). Reducing the data rate in internet of things applications by using wireless sensor network. International Journal of Online and Biomedical Engineering, 16(3), 107–116. https://doi.org/10.3991/ijoe.v16i03.13021

Zheng, T., Ardolino, M., Bacchetti, A., & Perona, M. (2021). The applications of Industry 4.0 technologies in manufacturing context: a systematic literature review. International Journal of Production Research, 59(6), 1922–1954. https://doi.org/10.1080/00207543.2020.1824085

Downloads

Published

2023-09-30

Issue

Section

Articles
Abstract 312  .
PDF downloaded 437  .