How to turn your computer on and off remotely (Arduino project)

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 76

  • @JeremyFisher
    @JeremyFisher 3 роки тому +9

    Its a crime how underrated this channel

  • @sibizperspective
    @sibizperspective 3 місяці тому +2

    Bro source link not working Please help me

  • @TokeAboutIt
    @TokeAboutIt 3 роки тому +9

    Why is this just not something someone can buy… you solved a problem that I’m sure many people have including myself. We’re wasting so many resources just to have our data readily available at anytime; anywhere. This is just not something that everyone could both easily and safely do.

  • @einsteinx2
    @einsteinx2 Рік тому

    This is perfect! I was just thinking the other day about getting some kind of KVM for my gaming PC so I can turn it on remotely for Steam Remote Play, then I realized that no IP KVMs support HDMI 2.1 and 4k@120hz, so that was out of the question. Then I realized that I don't really need a KVM at all, just something to remotely power on or reboot the machine via some physical method. I have a bunch of microcontrollers and random electronics parts laying around and thought I could probably use an ESP chip to do this. One search later and found your project which is exactly what I wanted to do! Thanks for posting about this so others can use it! Ordering the optocouplers now, I hadn't even thought of using them, but it's a great idea to keep everything isolated! THANKS AGAIN!!

    • @noisycarlos
      @noisycarlos  Рік тому

      Glad to hear it helped!

    • @DustNappa
      @DustNappa Рік тому

      I need it for Steam link too lol

    • @noisycarlos
      @noisycarlos  Рік тому

      @@DustNappa you have to solder into the original power button, and of course the device wouldn't fit inside. But it's technically possible

    • @sibizperspective
      @sibizperspective 3 місяці тому

      @@noisycarlos please share the Circuit diagram Source link is not working *404 not found

  • @StopLossLOL
    @StopLossLOL Місяць тому

    how is this not a commercial product? subscribed.

  • @MrProngles-z9i
    @MrProngles-z9i Місяць тому +1

    Please make this a product! I need this so badly!

  • @adaneitor
    @adaneitor 3 роки тому

    Electronics channels deserves more subs

  • @ZaneDragonBorn
    @ZaneDragonBorn 11 місяців тому

    Love the guide. Planning to make this work with matter for control on google home. Maybe a guide for this?

  • @ranggaaiman1272
    @ranggaaiman1272 6 місяців тому

    what if im not using transistor or optocoupler ?

  • @domgamess
    @domgamess Рік тому

    How would one connect this to a motion sensor?

  • @tackle4826mc
    @tackle4826mc 3 роки тому +5

    Oh, thank you for the video. I think I'm gonna make one for my workstation. because I don't want to leave it on all time. And I'm too lazy to walk the the computer to turn it on :)

  • @IronShell
    @IronShell 3 роки тому +3

    Thanks for the video. I already bought everything and now waiting for the parcel to make this project for myself. And one little wish from me. Can you please make detailed photos of the board

    • @noisycarlos
      @noisycarlos  3 роки тому +1

      Hi, my mistake I forgot to do the diagram. I'll make it and post on the page with the code and parts list.

    • @IronShell
      @IronShell 3 роки тому

      @@noisycarlos hello. I'm still waiting for diagram or for the photos at least. Please

    • @noisycarlos
      @noisycarlos  3 роки тому +1

      Hi @@IronShell sorry for the delay. I just posted it to the website. Good luck, and feel free to ask questions :-)

    • @IronShell
      @IronShell 3 роки тому

      ​@@noisycarlos very big thanks for the scheme, but i got one problem with code. It's compiles but after uploading sketch the board starts pouring an error like this:
      load 0x4010f000, len 3584, room 16
      tail 0
      chksum 0xb0
      csum 0xb0
      v2843a5ac
      ~ld
      ISR not in IRAM!
      User exception (panic/abort/assert)
      Do you know something about that because I'm in stupor because of this?

    • @Zubairkhan-rb1fx
      @Zubairkhan-rb1fx 2 роки тому

      @@noisycarlos which commands is used in app to communicate?

  • @streetdogarg
    @streetdogarg 4 місяці тому

    Its... this not dangerous to the motherboard? can not be electrostatic or EMF send tru the wifi antenna and cable to the mobo? afaik can be risky but there is something that can assure this or clarify it ?

  • @tackle4826mc
    @tackle4826mc 3 роки тому +3

    And also your video is good quality and explained clearly 🙂

    • @Zubairkhan-rb1fx
      @Zubairkhan-rb1fx 2 роки тому

      Which commands is used to communicate between app and esp8266?

  • @nativocomunicaciones
    @nativocomunicaciones 2 роки тому

    Great project. Some of your links of the parts doesnt work. Can you list the type of octocouper and the resistance. Thanks in advance from Peru

    • @noisycarlos
      @noisycarlos  2 роки тому

      Thank you! The optocoupler is a PC817C or PC817. For resistors, I used 330ohms in the video. But anything between 220 to 500 ohm range should work.

  • @adriabruicortes490
    @adriabruicortes490 3 роки тому +1

    Oh man, exactly what I was looking for. Great job!

  • @Good_Schmidt
    @Good_Schmidt 5 місяців тому

    This is so cool, I have run into the same issue a few times where I have needed something from my home machine and its been turned off. Also love the "sick cable management" got me!! XD lol Great channel, got my sub! TY

  • @bogdanghita5033
    @bogdanghita5033 Рік тому

    Hello, really nice video. But i do have a quick question.
    In your diagram, you have the + Power LED from the motherboard, connected to the rest of the GND. Shouldn't the + Power LED be connected to 5D? Thanks

    • @noisycarlos
      @noisycarlos  Рік тому +1

      Looking at the diagram again, I can see it's not totally clear. The LED is actually not connected to ground, it's connected to an optocoupler (those black squares with the dot on the corner). So what happens is that when the motherboard LED is on, it 'activates' that optocoupler, which in turn connects D5 to the microcontroller's ground.
      Actually none of the motherboard connections (the LED, Power Switch, and Reset switch) go directly to the microcontroller, they all go through optocouplers, which keeps the motherboard electrically isolated from the microcontroller.

    • @bogdan90x
      @bogdan90x Рік тому +1

      @@noisycarlos I see, so actually all optocouplers from the motherboard plus the case LED are connected to GND as I see in the diagram with a black line.

    • @noisycarlos
      @noisycarlos  Рік тому +1

      @@bogdan90x yeah, on the microcontroller side, they all connect to ground on one end and the microcontroller on the other. Note that for the buttons, they're connected in one direction (so the microcontrollers control the optocoupler), and on the LED side, they're facing the opposite direction (so the motherboard controls the optocoupler, and the microcontroller just detects that.

    • @bogdan90x
      @bogdan90x Рік тому

      @@noisycarlos Yes, so your diagram is ok. The problem for me was that i did not see the proper optocoupler blowout. I thought that the pin on one side, connect to the pin on the other. But the connection is actually between pins from each side.
      I mean i understood the theory but did not understand wht the GND was on the same horizontal line as the +LED.
      So on the side of the microprocessor it does not matter where you put the + and where you put the -.
      Thank you so much for the fast replies.
      Wish you a great day/night.

  • @ComputerGuy404
    @ComputerGuy404 3 роки тому +1

    Thank you, I was able to make and prototype my own version of this project thanks to this video. It was my first ever arduino project that didn't just turn on leds. Mine is strictly for Dells with the 5 pin power/led/ connector that's used in a variety of models. There a few of these machines in my office that have the "Resume AC on power failure" feature turned on in the bios but that doesn't always work. This project will be nice for the "power stutters" in our building that shut off a few of our shared computers. A lot of our users work remotely right now due to covid and I have to go in from time to time to turn those machines back on when the power glitches. I tested my project with a few of those systems and it works flawlessly. Thanks again!

    • @noisycarlos
      @noisycarlos  3 роки тому

      That sounds great, I'm glad it helped!

  • @anthonyfuentes1179
    @anthonyfuentes1179 Місяць тому

    Brother you have to make this into a product and market it while also keeping it open source. If you can find a way to mass peoduce for cheap, youre set

  • @LukssRossi
    @LukssRossi 3 роки тому

    I dont know how to make it work outside my house my isp controls all the ports so I dont know what to do

  • @frankruss3663
    @frankruss3663 2 роки тому

    Hey bro was looking for something like this mate . Thnks a lot. I want to ask u if u have faced such issue which i face last night my pc got freezed and i opened the wifi app same like yours nodemcu was connected but it was not sending any commands , I was not getting any print statement also , in order to get it work again i had to power off and on nodemcu . IS THIS ISSUE with APP or NODEMCU or what ?? PLZ HELP . THANKS AGAIN BRO.

  • @yanhesapmustafa2588
    @yanhesapmustafa2588 11 місяців тому

    just use a servo to press the power button if burning your computer is an issue.

  • @noskill2113
    @noskill2113 3 роки тому +1

    This is way to well made to only have 40 likes you need more likes

  • @Mouta94
    @Mouta94 4 місяці тому

    Well this is exactly what I'm trying to do except I'm trying to do it with zigbee. I hope this will be easy to do. I'll give it a try

  • @fun4life931
    @fun4life931 2 роки тому

    Hey nice project. Everythings wrkng fine fr me bt the pc shuts off after 4 to 5 seconds when connecting nodemcu. All cmds work fine though. Is there something missing in ur code . The pwr btn connection seems to make the pc shut off when connected. Plz help

    • @noisycarlos
      @noisycarlos  2 роки тому

      Make sure you use the 'on' command and not the 'pressPwr' command, since that one will keep the button pressed. If that's not it, I'd check the serial monitor in the arduino IDE

    • @fun4life931
      @fun4life931 2 роки тому

      Bro in the btn i only use three of them cmnds on off reset. But d6 pin when connected gives the problem it shuts off within 4 secs. Plz help wt do u suggest.m using the exact code as urs nd same diagram. M using only three commands nothing else.

    • @fun4life931
      @fun4life931 2 роки тому

      Plz help me bro i struggled a lot and completed the project but its the only issue m facing. Plz help

    • @abdulwahidwahidwahid
      @abdulwahidwahidwahid 2 роки тому

      @@noisycarlos bro facing same problem tried everything can u suggest wts wrong here?? wt i tried:-
      tried different node mcus
      tried different pins
      m not using pressPwr command only on off reset
      PLz help bro .

    • @noisycarlos
      @noisycarlos  2 роки тому

      I'm not sure of what's happening with your computer, but you can try using an LED instead of the Optocoupler for the Power button to help you diagnose. When you send the ON command, the LED should turn on for a second or two, then turn back off. When you use the pressPwr, it should turn on and stay on until you send releasePwr

  • @FPChris
    @FPChris Рік тому +1

    I need to turn on a gaming pc from the couch.

  • @zahidpekince
    @zahidpekince 3 роки тому

    Do both devices have to be connected to the same wifi or can I turn it on away from home

    • @noisycarlos
      @noisycarlos  3 роки тому

      By default it only works in your local Wifi. However, to use over the internet you can open a port on your router and use a Dynamic DNS service like DynDNS or noip.com.

    • @basslow3343
      @basslow3343 3 роки тому

      @@noisycarlos The code is not work, can you plz help.
      TX_1:3:20: error: expected primary-expression before '

    • @ReinForceOne
      @ReinForceOne 3 роки тому

      @@basslow3343 you need to put the password / ssid in quotes const char* ssid = "test";

  • @matgaw123
    @matgaw123 2 роки тому

    Why don't use transistor

    • @amaillo
      @amaillo 2 роки тому

      Actually you can, but with optocouplers you isolate pc circuit from MCU circuit so there isn’t any interference.

  • @lilgnzxg4028
    @lilgnzxg4028 2 роки тому

    Hi, im trying to make this project using an ESP8266 module, but when I compile the code in the Arduino IDE it gives me lots of errors. Can someone help me with this? Thanks

    • @lilgnzxg4028
      @lilgnzxg4028 2 роки тому

      When I change my passwd and ssid it says "xxxx was not declared in this scope"

    • @syedshah5011
      @syedshah5011 2 роки тому

      @@lilgnzxg4028 hey did you figure it out, im planning on doing using that as well.

    • @lilgnzxg4028
      @lilgnzxg4028 2 роки тому

      @@syedshah5011 I could not do it yet

    • @lilgnzxg4028
      @lilgnzxg4028 2 роки тому

      @@syedshah5011 If you figure it out please let me know

  • @yanhesapmustafa2588
    @yanhesapmustafa2588 11 місяців тому

    nice project

  • @philipperostin
    @philipperostin 2 роки тому

    All this work for that ! You just needed a wifi relay, 12 $, set it up, plug it and done ! Even with voice control.

    • @noisycarlos
      @noisycarlos  2 роки тому +1

      That would have been easier indeed!
      It would work for the most part, however, I wanted the device to be aware if the computer was already on or off by reading the signal from the power LED. For example if I send a 'Power On' command and the computer is already on, it doesn't press the power button again (which would turn it off).

    • @philipperostin
      @philipperostin 2 роки тому

      @@noisycarlos ah ok. Well if its on it should be online, thus easy to verify and then make a condition in a routine stating that you can only do the Start command if computer is offline. But it is an interesting point.