You are on page 1of 10

Using smart-phones as

wireless remote for

home appliances
Abstract
. The aim of this study is to use NodeMCU in controlling our
appliances using our smartphones through the Blynk app, within the
range of the vicinity, for the NodeMCU and smartphones must be
connected to the same internet connection.
The NodeMCU was pre-ordered in the Shoppe application.
After gathering the materials, we made a diagram which shows how
the model will be built, then upload the codes to the NodeMCU by
using Arduino IDE software. The finished model was tested. The
result showed that the NodeMCU can control the appliances that are
plugged in the customized socket through the Blynk app installed in
the smart phone.
With the following result, the researchers accepted the Ha and
rejected Ho.
The said NodeMCU can be used to control the appliances
plugged in the customized socket through the installed Blynk app in
the smartphone.
Background of the Study
People nowadays find ways just to lessen human work and
make life easier as we know it. Us humans, we find ways to make
things easier for us so that we can carry onto our lives with less
work to do. People tend to leave their appliances running and forget
to turn it off, thus wasting a lot of electricity

Significance of the Study


The study is said to be significant such that it helps in finding
a way to lessen human work just by a single click on the smart
phone to turn off or on any appliance that is plugged in our
customized socket

Objectives

This study aims to provide an easier way to access home


appliances like lights and television, through the use of Node MCU
and smart phone, which serves as the central processing unit for the
experiment.
Methodology
Materials/Equipment
4-channel relay 5-V charger 2 meter wires
Node MCU 6 female jumper wires
4-gang socket 2 male jumper wires
General Procedure
A. Making the customized socket

Figure 1
The researches connected the node MCU to the 4-channel
relay using the 6 female jumper wires. The 2-meter wire was
then cut into 10 parts and skinned the tips in order for each
wire to be fully functional when connected. The 5-volts
adaptor was then interconnected between the node MCU and
the 4-channel relay using soldering iron and soldering led in
order for the wires to stick together and function, since the 5-
volts adaptor is the one who helps in controlling the power that
flows within the innovation. The wires being connected by the
soldering iron and soldering led in between the customized
socket, 4-channel relay, and the 5-V adaptor was covered in
electrical tape because it can be a hazard to the device. The 4-
gang outlet is connected to the 4 channel relay which serves as
the connection to all of the appliances involved in this study.
The researchers then input the required codes to the node MCU
to control the appliances plugged in the customized socket and
to connect it to the internet. The Blynk app was then
connected to the internet so that it can relay that is being
transmitted by the app to the node MCU, then the node MCU
to the customized socket to enable the appliances to turn on or
off.
B. Coding the NodeMCU
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "eQADKCQKj3Y_1630dOek2N6DLrPZEKYF";
char ssid[] = "(Internet Connection Name)";
char pass[] = "(Internet Connection Password)";
void setup() { // put your setup code here, to run once:
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);}
void loop() { //
put your main code here, to run repeatedly:
Blynk.run(D1); Blynk.run(D2); Blynk.run(D3); Blynk.run(D4);
}
Bibliography
4-Channel Relay. (2010). Retrieved from
https://www.freetronics.com.au/pages/relay4-4-channel-relay-
driver-module-quickstart-guide#.XX8ogvl96Uk

5-volts charger. (2018). Retrieved from


https://www.wired.com/2013/12/charging-devices-faq/

Male and Female Jumper Wires. (2016). Retrieved from


http://blog.sparkfuneducation.com/what-is-jumper-wire

NodeMCU. (2019) .Retrieved from


https://en.wikipedia.org/wiki/NodeMCU

Viral Science. (2018). Retrieved from


https://www.youtube.com/channel/UCyA0hVjN35YmMZLyZkES-
Pg
Conclusion
By observing the finished model, the researchers
concluded that the smart phone is able to control the appliances
plugged in the customized outlet with the help of the
NodeMCU and the 4-channel relay board, which relays the
message from the phone to the appliances involved if they
should be turned on or off.

Recommendation
We would like to recommend doing more research on the
study and seeking help and advice from teachers or anyone that has
knowledge and expertise with regards to the study. Study the
important parts and its functions to avoid confusion. Research any
related studies or innovations that could help improve the study.

The photos were taken by the researchers.


Results and discussion
The researchers conducted their first trial and got their first
result. The first result was only one outlet was working and was
cooperating with the Blynk app and performed the expected
outcome. The researchers discussed about what was wrong with the
customized socket that only one outlet was working and cooperating
with the Blynk app. Then later on found out that something was
wrong about the Blynk app preparation. The researchers found out
that the coding for the Node MCU must be changed. Then the
researchers fixed everything from coding to the Blynk app then the
results were different than the first trial, this time only one button
works for all outlet. The second trial results were discussed, the
discussion was about what was wrong about the 2nd trial, they found
out that there was something wrong about the wiring on the
customized socket.
The researchers worked on the wiring of the customized
outlet, they did one and final trial with the right wirings on the
customized outlet. The results satisfied the researchers, every button
of the Blynk app was cooperating, and all the sockets were already
controlled by one button each outlet.
Button 1 Button 2 Button 3 Button 4

First Trial Turned on Did not turn Did not turn Did not turn
but did not on on on
turn off

Second Trial Turned on Turned on Turned on Turned on


but did not but did not but did not but did not
turn off turn off turn off turn off

Third Trial Turned on Turned on Turned on Turned on


and turned and turned and turned and turned
on on on on

You might also like