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.
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!!
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 :)
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 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?
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 ?
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
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
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.
@@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.
@@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.
@@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.
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!
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
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.
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
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
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.
@@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 .
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
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.
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
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).
@@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.
Its a crime how underrated this channel
Thank you!
Bro source link not working Please help me
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.
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!!
Glad to hear it helped!
I need it for Steam link too lol
@@DustNappa you have to solder into the original power button, and of course the device wouldn't fit inside. But it's technically possible
@@noisycarlos please share the Circuit diagram Source link is not working *404 not found
how is this not a commercial product? subscribed.
Please make this a product! I need this so badly!
Electronics channels deserves more subs
Love the guide. Planning to make this work with matter for control on google home. Maybe a guide for this?
what if im not using transistor or optocoupler ?
How would one connect this to a motion sensor?
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 :)
พี่แท็คคคคคคคคคคค
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
Hi, my mistake I forgot to do the diagram. I'll make it and post on the page with the code and parts list.
@@noisycarlos hello. I'm still waiting for diagram or for the photos at least. Please
Hi @@IronShell sorry for the delay. I just posted it to the website. Good luck, and feel free to ask questions :-)
@@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?
@@noisycarlos which commands is used in app to communicate?
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 ?
And also your video is good quality and explained clearly 🙂
Which commands is used to communicate between app and esp8266?
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
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.
Oh man, exactly what I was looking for. Great job!
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
Thank you! 😁
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
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.
@@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.
@@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.
@@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.
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!
That sounds great, I'm glad it helped!
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
I dont know how to make it work outside my house my isp controls all the ports so I dont know what to do
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.
just use a servo to press the power button if burning your computer is an issue.
This is way to well made to only have 40 likes you need more likes
Thank you! Hopefully soon :-)
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
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
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
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.
Plz help me bro i struggled a lot and completed the project but its the only issue m facing. Plz help
@@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 .
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
I need to turn on a gaming pc from the couch.
Do both devices have to be connected to the same wifi or can I turn it on away from home
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.
@@noisycarlos The code is not work, can you plz help.
TX_1:3:20: error: expected primary-expression before '
@@basslow3343 you need to put the password / ssid in quotes const char* ssid = "test";
Why don't use transistor
Actually you can, but with optocouplers you isolate pc circuit from MCU circuit so there isn’t any interference.
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
When I change my passwd and ssid it says "xxxx was not declared in this scope"
@@lilgnzxg4028 hey did you figure it out, im planning on doing using that as well.
@@syedshah5011 I could not do it yet
@@syedshah5011 If you figure it out please let me know
nice project
All this work for that ! You just needed a wifi relay, 12 $, set it up, plug it and done ! Even with voice control.
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).
@@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.