Phone Controlled Computer Starter

20,484

527

51

Posted

Introduction: Phone Controlled Computer Starter

Have you ever wanted to start your computer while you are away from home to access some files? Or maybe you wanted to start a download of a new game, so that it would be done when you got home. This project will show how to start and control your computer from anywhere in the world.

We will use a NodeMCU and the Blynk app to start the computer. After it has been turn on, the TeamViewer App will be used to control the computer.

Step 1: Parts & Programs

Parts

  • A computer to turn on
  • NodeMCU (or ESP8266)
  • Project enclosure
  • Cables
  • Optocoupler (Opto-isolator) i used "Sharp PC817"
  • Resistor 200ohm

Programs

  • Blynk App (on Phone)
  • Arduino IDE (on Computer)
  • TeamViewer (on Computer and Phone)

Step 2: TeamViewer

Download the TeamViewer software on the PC that you want to control. Create an account and add your computer to your list of computers. You can control your computer from another computer or by phone.

Step 3: TeamViewer (To Control Computer)

Also download the TeamViewer App from the store, it is free. Login and go to your computers and from there it is just to click on the computer that you want to control.

Step 4: Blynk (To Start Computer)

The Blynk App will be used to trigger the NodeMCU board that will start our computer. Download the app from the store and make an account. Create a new project and add a button to pin 4 (if you use that pin).

Step 5: Program the NodeMCU With Arduino IDE

The pictures contains most of the information in this step.

Arduino IDE

https://www.arduino.cc/en/Main/Software (Here We can download the Arduino IDE)

Blynk

https://github.com/blynkkk/blynk-library/releases (Here we can download the code library for the project)


Add the ESP8266 board to the Arduino IDE

https://github.com/esp8266/Arduino (This is the website where we find the following link)

"http://arduino.esp8266.com/stable/package_esp8266com_index.json" (We will need this link)

Step 6: Make the Hardware

solder the optocoupler as the schematics show.

Step 7: Power the NodeMCU

The board needs power and I do not want to cut open the wires on my power supply. I added a usb power plug to the back of the case to make it easy to supply the board with power.

Step 8: Connect the Wires

This part is quite easy. Dissconect the cable that goes from the power button to the motherboard and plug in one of the two cables from the NodeMCU instead. Now connect the power button cable (that you just dissconected) to the other cable from the NodeMCU board and you are done.

Remember that the current can only flow in one direction in the optocoupler so if it does not work, then you have plugged the cable in the wrong way. (This is not harmful to your computer).

Step 9: The Build in Moving Pictures

I provided a short video of the build. If you want to see a test of the build, there is some at the end of the video!

Thank you for reading my instructable!

2 People Made This Project!

Recommendations

  • Spotless Contest

    Spotless Contest
  • Space Challenge

    Space Challenge
  • Science of Cooking

    Science of Cooking
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

47 Comments

i cant use for esp standalone why ? cant upload

I guess this answer is a bit to late. But I might be able to help you now, but you will have to provide me with a bit more information about what you have done and what isn't working.

Hello and thanks for good news here, I like use alternative LiteManager software for free and fast remote control computers into local or Internet, cross-platform \ Windows, Android, Mac. It's very simple and secure. All the best!

Would it be a bad idea to use a transistor in place of the octocoupler?

Using an octocoupler allow me to power the nodeMCU from an external
power source (the 5v phone charger), while controlling the computer
connected to another power source (the computers psu). You can use a transistor with two sources of power like I did, if you connect the grond
of the power supplys together. You can also use a transistor and do it
like "kpqowieuryt" did, only use the internal power supply of the
computer. Read his comment for more info, hope this helps.

thanks. I think I'll attach the high side of the on button to the collector and and the low side to the emitter in parallel. I think it would also be a good idea to attach a digital pin to the power indicator light, then map that to a blynk virtual pin.

Awesome proyect. Thanks for the ible. Has anyone tried powering this out of the +5vsb of the pc psu?

Thanks. :) and for the power of the psu. When the power supply is turned of it still supply power. But only to the big motherboard connector and not to the common +5v that is plugged to all the other components. But if one would cut the cable connected to the "big" connector and pull the power that way it should work. I have not tried this, I don't want to modify my power supply. I suppose one could make an adapter and cut that instead and keep the powersupply out of harms way.

I was in deed refering to the 5v rail that is always powered regardless of the computer being on. I plan to try this so i will come back with my results. Thanks again

Yes, please do. I have not tried it myself, it will be fun to read the results. :)