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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call