remote control that works with Wi-Fi

 Today we are going to talk about how to make



remote control that works with Wi-Fi.

The specialty of this is that no Internet connection or other Wi-Fi network is required. That means it does not need any Internet connection or any router.

In this case, we are working within a WiFi network that we make ourselves. You can use this method to turn on/off lights, fans, control a drone, a toy car and many other things.

We need to fix this.

1) 2 ESP8266 Modules (I bought a Nodemcu and a Wemos D1 Mini)

Nodemcu :-

Wemos D1 Mini :-

2) In addition a 4 pin Push Button :-

3) A 5V 1 Channel Relay Module :-

4) A bulb

Like the Nodemcu, you can also get the Wemos D1 Mini from Scion Electronics (scionelectronics.com) with warranty.

What is this Nodemcu...

NodeMCU is a really good and affordable IoT platform. To be honest, Nodemcu is a development board based on the esp8266 Wi-Fi chip.

There are many development boards like this. NodeMCU is just one of these. That means there are ESP modules as ESP 1,2,3,4,5,6,7,8,9,10,11,12, 12E,12F and ESP32. This esp chip is the micro controller in NodeMCU.

That means when we program the arduino, just like the Atmega328 is programmed, this esp module is programmed here. In addition to the normal micro controller inside the esp, there is also the WiFi modem inside this esp chip. NodeMCU also has a chip called ESP 12E. And all these esp modules have WiFi. However, the modules we use the most are ESP-01, ESP-12 and ESP-32. Also, we are using a NodeMCU board that uses ESP-12.

Let's see what is specific about this Nodemcu.

*Operating Voltage :2.5V ~ 3.6V

*Operating Current Average value: 80 mA *Operating Temperature Range : –40°C ~ 125°C

*CPU: Tensilica L106 32-bit processor

*CPU clock speed: 80MHz

*GPIOs : 17 (PWM 4)

*Analog input pin : 1

*EEPROM : 4Kb

*WiFi Protocols : 802.11 b/g/n

I saw that many people said basic things about Nodemcu, so I am not going to say anything more.

Wemos D1 Mini is a development board that uses esp-12E as well as Nodemcu.

As in the Nodemcu, the Wemos D1 Mini Board also has the pin location in the images.

So we can program both these development boards using the Arduino IDE.

Before we work with NodeMCU, we must first install the NodeMCU board in Arduino IDE. For that first open arduinoIDE and go to File > Preferences..

After that, in the window that appears, before the Additional Boards Manager URL


Paste the said text and click OK.

From here you need the internet to do the work, now after connecting to the internet go to Tools > Boards > Boards manager.

Then select esp8266 from the Boards Manager window that opens and click the install button.

After the board is installed in this way, you can check that the NodeMCU board is installed in Tools > Boards.

After doing this, upload the two codes below. The code is described in the comments of the code.

If you bought the items mentioned before, make the Remort and the Receiver as shown in the image. Now you have a Wi Fi remote control for yourself.

Post a Comment

0 Comments