@@ -20,13 +20,13 @@ although it's already up and running in my PC 👍 it's been great
20
20
21
21
## What is espwol?
22
22
23
- I wanted to connect to my home PC from work, which alweady has Windows RDC setup
23
+ I wanted to connect to my home PC from work, which already has Windows RDC setup
24
24
and forwarded. However, I always find myself in the situation of forgetting to
25
25
power on my PC before I leave.
26
26
27
- WoL(Wake on LAN) is definitly a valid solution, I just need to send a magic
27
+ WoL(Wake on LAN) is definitely a valid solution, I just need to send a magic
28
28
packet to my PC to turn it on but the issue is I do not have a ` Ethernet `
29
- connection to my PC, and WoL is almost imposible to do with ` WiFi cards ` .
29
+ connection to my PC, and WoL is almost impossible to do with ` WiFi cards ` .
30
30
31
31
Instead of using the ` WoL ` feature of my motherboard, ` espwol ` uses a
32
32
WiFi connected ` ESP8266 NodeMCU ` to received post requests and activates
@@ -42,7 +42,7 @@ the internet.
42
42
** However, this is not recommended if you do not have authentication
43
43
set up, which is what is in place now.**
44
44
45
- What I do is I connect through my server that has ` OVPN ` setup with proper
45
+ What I do is I connect through my server that has ` Open VPN ` setup with proper
46
46
authentication and then I can send a post request to e.g.` 192.168.0.100 ` just
47
47
like I'm at home.
48
48
@@ -59,8 +59,8 @@ curl -X POST http://192.168.0.100/push
59
59
60
60
## Hardware Design
61
61
62
- The hardware of the solution is fiarly simple consisting of only 3 components,
63
- of course, you need your jumpers, perfboards or fancy sockets if you want.
62
+ The hardware of the solution is fairly simple consisting of only 3 components,
63
+ of course, you need your jumpers, perf-boards or fancy sockets if you want.
64
64
65
65
### List of Components
66
66
@@ -76,17 +76,17 @@ the power button on your PC**
76
76
![ Fritzing Breadboard] ( ./img/breadboard.png )
77
77
![ Schematic] ( ./img/schematic.png )
78
78
79
- ### Wireing
79
+ ### Wiring
80
80
81
81
1 . ` +5V ` and ` GND ` to ` vin ` and ` GND ` pin on ESP
82
82
2 . ` pin 1 ` of ` PC817 ` to 150Ω resistor then ` D0 ` (aka ` GPIO16 ` )
83
83
3 . ` pin 2 ` of ` PC817 ` to ` GND `
84
84
4 . connect whatever connector you like for the input and output pins,
85
- i just used some standard two screw PCB termination blocks.
85
+ I just used some standard two screw PCB termination blocks.
86
86
87
87
We also need two sets of connects from the PC to the ESP
88
88
89
- 1 . Connect ` GND ` of powersupply to ` GND ` of ESP,
89
+ 1 . Connect ` GND ` of power supply to ` GND ` of ESP,
90
90
you can find a GND wire on the ` 24 pin ` ,` PCI-E ` ,` SATA ` or
91
91
any kind of wire that comes out from your PSU, it's almost always a black one.
92
92
@@ -104,15 +104,16 @@ unused `SATA` connector.
104
104
The software of this design is very simple, I just need a server that connects
105
105
to my home WiFi and listens to ` POST ` requests on a endpoint. Since I will be
106
106
running this in my local network only, I didn't implement any security features,
107
- but definitly a future TODO.
107
+ but definitely a future TODO.
108
108
109
- The server is written using [ aREST] ( https://github.com/marcoschwartz/aREST ) by @ma
110
- rcoschwartz which makes it super easy to create a endpiont to send requests.
109
+ The server is written using [ aREST] ( https://github.com/marcoschwartz/aREST )
110
+ by @marcoschwartz which makes it super easy to create a end-point
111
+ to send requests.
111
112
112
113
Theres only a couple of lines that I added to the boiler plate code of the library
113
114
to make it work.
114
115
115
- I'm using ` platform.io ` through ` VSCODE ` but you can write the script in
116
+ I'm using ` platform.io ` through ` VSCode ` but you can write the script in
116
117
` ArduinoIDE ` ; however, you you need to install the ` aREST ` library regardless.
117
118
118
119
``` c
0 commit comments