loading

We all have imagined about controlling our home pc from all over the world and apps like team viewer and remote desktop helps us to fulfill it up to an extent but they do not give us all the provision, we can only control a pc that is already turned on....this tutorial helps you to remove that barrier

MATERIALS REQUIRED:

1. Arduino

2. Two relay boards or a board with two relays.

3. ESP8266( Wi-Fi module )

4.jumper wires

5. A smartphone with blank app

6. And of course , a computer

Step 1: Blynk

first setup the blank app, you install it from the play store. Now create a new project select your device(mine is arduino mega) and connection as Wi-Fi . Add two buttons and set the values as given in the picture.

Note: the values sent (0 and 1) my relay board turns on on low and off on high but if yours turn on high and turn off on low, you should interchange the values.

Step 2: Connections

Connect the Wi-Fi module ESP8266 to the arguing as

Vcc to 5v

Gnd to gnd

Tx to rx

Rx to tx

Connect the relay board as following

Relay board 1

Vcc to 5v

Gnd to gnd

I/p to pin 2

Relay board 2
Vcc to 5v

Gnd to gnd

I/p to pin 3

Step 3: Arduino Code

The arduino code is a simple basic blynk code for n ESP8266 shield you can download the blank library from their official site or you can click the link below...

Change the authtoken to that you received in your mail from blynk

And said to your Wi-Fi name and add the the password also...

https://github.com/blynkkk/blynk-library/releases/latest

Step 4: Testing

The test was ssuccessful and pictures are given below.

I will shortly upload a full video tutorial with testing.

<p>How to do the connections from arduino to the Computer ?</p><p>Can anybody explain in detail about the pin connections from arduino to the PC as the pics above are not clear.</p><p>Admin can you please upload the video for the whole procedure as it will be easy for us to understand.</p><p>Thanks in advance.</p>
<p>Please elaborate specifically the connections from the relay to the PC's power supply connections.</p>
Hi, <br>I'm using an nodemcu and getting this constant message on my computer and can't connect to the app.<br>[5001] Connecting to blynk-cloud.com:8442<br>[17602] Connecting to blynk-cloud.com:8442<br>[30709] Connecting to blynk-cloud.com:8442<br>[43919] Connecting to blynk-cloud.com:8442<br>[57026] Connecting to blynk-cloud.com:8442<br>[70031] Connecting to blynk-cloud.com:8442<br><br>Do you know how to solve it?<br>
<p>Nice one!<br>I just wonder why use Arduino when you can use the ESP8266 (especially NodeMCU) as microcontroller.<br>Am I right?</p>
Yes... You surely can use the ESP8266 itself ... But i was having some technical issues with my serial to uart converter.... My PC is not recognizing it ...even after manually installing the driver.... As soon this problem is resloved... I will put an update for the above project
<p>very smart and useful! thanks for sharing</p>

About This Instructable

5,969views

106favorites

License:

Bio: I am a high school student who is interested in making new and improved tech items. Stay tuned to this channel for more inscrutables that ... More »
More by Navaneeth Krishnan:Internet Control for Turning Computer ON/Off Using Blynk Home Automation Using Blynk Bone Conduction Headphone 
Add instructable to: