可以参考下以下链接,用ESP8266建立一个web服务器,然后在web界面设置你所需要的参数,通过ESP8266传给单片机。
http://plclive.com/a/tongxinjiekou/2016/0427/466.html
可以看下这个文章