Engineering, Mathematics and Computer Science Journal (EMACS)
Vol. 5 No. 3 (2023): EMACS

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

Yulianto Yulianto (Bina Nusantara University)



Article Info

Publish Date
30 Sep 2023

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.

Copyrights © 2023






Journal Info

Abbrev

EMACS

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Engineering Industrial & Manufacturing Engineering Mathematics

Description

Engineering, MAthematics and Computer Science (EMACS) Journal invites academicians and professionals to write their ideas, concepts, new theories, or science development in the field of Information Systems, Architecture, Civil Engineering, Computer Engineering, Industrial Engineering, Food ...