-->
Page 1 of 2

ESP8266 as a wireless serial port ?

PostPosted: Fri Jan 19, 2018 4:38 pm
by Gadget999
I want to build a device where a button is pressed on a small box and the press event is sent to a windows application on a nearby PC

i can do it with a wireless serial port like this

Image


i recently bought a Nodemcu v3 ESP8266 board

can this board be used as a wireless serial port ?

is there another way i should be looking at the problem ?

Thanks in advance :)

Re: ESP8266 as a wireless serial port ?

PostPosted: Sat Jan 20, 2018 4:02 am
by btidey
Yes the device can be used as an interface between wireless and a serial port, but if understand your requirement then you can do this by:

Using the device to sense the switch on its GPIO and programming it to send a message over wifi to the PC when this happens. If the PC doesn't have wifi but is wired to your wifi Access point then the module will just send via the AP.

There are lots of guides around to do similar things. It does require you to get to know how to program the module.

Re: ESP8266 as a wireless serial port ?

PostPosted: Sat Jan 20, 2018 9:56 am
by Gadget999
i have had a play with the ability to switch an led on and off from a web page

can you recommend a guide to send data to a windows app ?

Re: ESP8266 as a wireless serial port ?

PostPosted: Sat Jan 20, 2018 11:28 am
by Gadget999
thanks for your advice

i will build the handcontroller using something arduino based

slightly confused the board i have is marked "Lolin" "wemos.cc" and "NodeMcu v3" - is this board a clone ?

is there a guide i can see for connecting via a serial port ?