Hello Dear forum!
I have couple of arduino's and esp wifi modules around and wanted to make myself a PC IOT Turn ON device wich lets me turn on my pc remotely via motherboard connection with the wifi esp module.
After that I can access my PC remotely via Chrome Remote Desktop.
Can someone guide me to how can I easily make this. I'm new to the world of arduino and so on I love it to bits.
I've looked around for a tutorial on this but couldn't find one.
With Regards...
Try and split the projecting into ESP to IOT resp. Arduino to PC, and search for tutorials.
Do you have documentation on that connection?
I guess the motherboard connection is the pair of pins that connects to the on switch on the front of the case.
I suggest trying an opto-isolator.
Don't forget most pc have a metal case, if you put the esp inside, it's wi-fi connection will be blocked.
Have you researched the "Wake on LAN" function your PC already has?
Yes I did but I wanted to make it remotely outside my lan
Well that is just great documentation!
So why would "Wake on LAN" not work if you already have remote access?
If it is using an ATX power supply, you just need to momentarily ground the green pin, PS-ON. I would probably do it with a relay since I have no information what the open circuit voltage is on PS-ON.
What is the point in doing it momentarily? The power will come on and go off again!
What do you imagine it will be - other than 5 V?
I was thinking of shorting the start button via IoT app on my phone but can’t figure it out with the coding
No, the power switch on the case is a momentary action and the motherboard handles it from there. Push for on, push and hold to turn off.
If you are using the ATX supply as a bench power supply, then this is true. When the PC starts, the BIOS pulls PS-ON low. This is how the OS can turn the power off- just let PS-ON float.
It probably is. I've just never had a reason to verify it and I have no information of what it should be. An optoisolator may be able to pull it low enough to start, then the OS will hold it low. Experiments needed.
That was my point. Grounding the power button on the case - which is the same as pushing the button - will turn it on or indeed, tell it to do whatever it is programmed to do to turn it off again or sleep or hibernate.
Just "flashing" the Power ON pin on the power supply and having the hardware decide that if the main power is on it should stay on and initialise, does not seem so sensible to me.
Sorry Paul, missed the "the green pin". It makes no sense when there is a well documented strategy for turning on via the power button.
Out of interest - @gifura - once it powers up ...
how will you log on?
Some useful info on “ wake in lan” which is probably the neatest solution requiring no new hardware .
As I have been pointing out.
That's the way PCs have worked for decades.
Well, that's news to me as I have never seen it done or attempted to do that!