-->
Page 1 of 1

UART to WI-FI

PostPosted: Mon Dec 12, 2016 9:51 pm
by MirkoP
Hi,
I am looking for simple wi-fi to uart solution to interface with microcontroller. I have started with pfodWifiConfig
and arduino sketch associated with it but I am having hard time to get success. My hardware is ESP-201-DEV-bw. Can anyone help me to get on right track?
Thanks

Re: UART to WI-FI

PostPosted: Fri Dec 30, 2016 1:15 am
by screwattackthis
What firmware? You just need to send the right AT commands through UART to the ESP8266.
Code: Select allAT+CWMODE=1\r\n
will put it in station (client) mode and
Code: Select allAT+CWJAP="ssid","password"\r\n
will connect to a given network.

If you are having a hard time sending/receiving through UART, make sure you have the correct baud rate. 115200 is what usually works but if you have an old enough firmware then you'll want to use 9600.

Re: UART to WI-FI

PostPosted: Fri Dec 30, 2016 7:47 pm
by gdsports
The following is a WiFi to UART bridge.

https://github.com/jeelabs/esp-link#esp ... -wrestmqtt