Post topics, source code that relate to the Arduino Platform

User avatar
By todocono
#922 Hi All,

I think it would be great to have the ESP8266 serving pages from a SD card. I have done something similar in the past with another module, check https://github.com/Wiznet/WizFiShield/t ... d/examples for a reference of what I've used before. Generally speaking, I would like to start as an AP, connect to it through any mobile and then access WAN entering the SSID and PASWD through a web page. Somehow is reproducing the native functions that a module like WIFI232 has. Ideal workflow would be:

I intend to build on my custom arduino to control some robot program -see http://multiplo.org to see my former project- . The newer version I have prototyped uses bluetooth but pairing is such a harsh that really kills the experience. There are some people that are building up nodebots with expensive modules and others that are simply connecting them with a cable. In both cases is kind of killing the purpose of an educational robot. And the combination of ESP in robotics could be a game changer.

- switch on your arduino with SD card and ESP8266
- log in into it's wifi AP (which name does it have?) with any mobile device
- enter 10.10.0.253 or something similar ( where does this get configured? )
- browse pages that are read SD card
- list discovered SSIDs, set up password for yours, connect
- control the robot locally / cloud like nodebot.js or mirobot.io

I'm not new to wifi or programming but that doesn't mean that I feel super comfortable with the ESP8266 documentation. It mentions "soft AP" as one of the highlights in it's specification, so I infer that when it mentions in the manual "AT+CWMODe=3 change the working mode to 3, AP+STA, only use the most versatile mode 3", it implies that it can behave as router and as device. Beautiful. And also that with "AT+CIPSERVER=1,9999 setup TCP server, on port 9999, 1 means enable", and also "AT+CIFSR check module IP address" it will start listening to connections at that port.

I already order some pcs and I am waiting anxiously to see how this goes. Any tips are welcome, specially if you think that I am missing the point somewhere. I don't see any AT commands specific to the AP ( http://www.electrodragon.com/w/Wi07c or http://www.seeedstudio.com/document/pdf ... Set_CN.pdf) and that makes me nervous. Having to set up a custom firmware in the chip seems to be a long shot for me at this moment.
Last edited by todocono on Fri Sep 26, 2014 12:17 pm, edited 2 times in total.
User avatar
By todocono
#934 I just discovered that among the documents in SDK (in chinese), there are some indications about customizing firmware and a very similar scheme to what I was proposing. I didn´t see in any of them mention either a SD card neither AT commands to the soft AP functions. May be some of the genius over here can throw some light :?: :?: