Low cost wifi module ESP8266
Dr_Acula
Posts: 5,484
$5 wifi module ESP8266
Some email chatter today among the Aussie forum members about this new module. All very new, not sure if anyone has one yet, several on order and on the way.
Hackaday have covered it http://hackaday.com/2014/08/26/new-chip-alert-the-esp8266-wifi-module-its-5/
More specs here https://nurdspace.nl/ESP8266
Hardware looks like SPI. Software is a work in progress - it seems people are writing code before even getting hold of the module.
I've got one on order (search ESP8266 on ebay). Possible to interface with a Propeller? Or impossible...
Some email chatter today among the Aussie forum members about this new module. All very new, not sure if anyone has one yet, several on order and on the way.
Hackaday have covered it http://hackaday.com/2014/08/26/new-chip-alert-the-esp8266-wifi-module-its-5/
More specs here https://nurdspace.nl/ESP8266
Hardware looks like SPI. Software is a work in progress - it seems people are writing code before even getting hold of the module.
I've got one on order (search ESP8266 on ebay). Possible to interface with a Propeller? Or impossible...
Comments
http://www.seeedstudio.com/depot/WiFi-Serial-Transceiver-Module-w-ESP8266-p-1994.html
very interesting device at that price point.
I have been using the TI CC3000 (I have been producing breakout boards for $24.95, photo attached) with the prop, . Considering the firmware updates that the CC3000 has gone through (a lot) to make it somewhat reliable, I can imagine the ESP8266 may have some growing pains before it or some future iteration is off-the-shelf-functional. But it does look like we will get to the ~$5 WiFI module in the not too distant future.
Nate
Here's some help with the BASIC commands.
I created a simple webserver using one of these this evening for my MMC project.
I double anyone here would have ANY problem converting it over to use Spin using the FullDuplexSerial object.
The biggest tip I can give is don't bother creating proper "HTML" headers. It'll actually cause things not work.
They are a bit power hungry. I had to find a 1amp power supply for my board instead of the 500ma unit I was using.
Jeff
Yes, they work perfectly... :-D
Argh. More toys to order.
https://onedrive.live.com/?cid=C4DDF72E6EEA3826&id=C4DDF72E6EEA3826!631
I'm thinking more along the lines of interfacing with the propeller - I'm hoping to incorporate it into my Chicken Coop controller to interface with the Spinneret.
Doc
I can say however, that I'm rather pleased with the idea that I managed to create an entire IRC client in 5k of BASIC.. Beat that Spin!
Jeff
Think I need to just walk away for a spell.
Second: What are the chances this module coupled with a Prop could accept xLights E131 data for a Christmas light controller driving the WS2811 LED strips?
1). Can this module accept incoming udp/ip data packets? (I would be surprised if it couldn't)
2). What is the fastest baud rate/spi speed this module can be set to? This may be a limiting factor in the number of pixels you can drive.
Also, these modules are limited to the 2.4 ghz wifi band. This means you will have interference from other 2.4 ghz devices which will cause periodic "glitches" in your rgb display (I know this from my own personal experience using an rn-xv wifi module).
1) Agreed, it sure should be able to accept udp/ip
2) valid points. I believe I would be looking @ 400kbaud (approx). Living in a rural area, I would mostly be concerned with my own generated interference which I could control to some extent, like my Microwave will pause my printer.
Contact me if you would like to contribute to the document.
BTW, I've contacted the manufacturer about making this document available.
Darn, wouldn't you know it, the very moment I do an English version then they release one! I will still update mine from this though as I have put in the pinout signals and will be adding more.
some english documents.
The datasheet seems to be from the manufacturer - not a community translated one.
ESP8266.com is an active forum for this chip
I have some half-working code, as in I get half of a response from the module, half of the time.
I once got it to list the IP address with this.
Usually, I'll get a response from the AT+RST, and the AT+CWMODE=1, but the AT+CWJAP usually doesn't print out anything.
That should be enough, right?
I'm now getting responses from everything but AT+CIFSR.
Thanks,
Marcus
Ahh, I didn't see this little note on the bottom of the page stating the following:
command input end use \ r \ n;
I updated my serial repeater to add the ASCII 10 character after the PST sends the 13 character. (BTW, I now know you can hit CTRL-enter to send both CR/LF?)
source: http://blog.electrodragon.com/cloud-updating-your-wi07c-esp8266-now/
Thanks,
Marcus
Now to find some time to test this out
I'm trying to condense the code for the server and client into reusable objects for other projects.
Hey localroger,
Can you share your method for sending UDP packets? I would find that rather useful.
Thanks,
Marcus
What connections other than TXD, RXD, 3v3 and GND did you use? ie were connections to RST and/or CH_PD required?
Is TXD an input on the ESP8266 board? ie it is the data to be sent over wifi (or the data received and sent to the prop/etc)
Must get this going
UTXD is the output to the Prop, URXD is the input from the Prop.
There is currently no "transparent" mode with these modules. I'm making progress with a high level object to get the basic functionality available on the Prop, but it's been a very difficult process. The communications protocol implemented in the module is very kludgy from a programmatic view. It seems to be mainly designed for a human user. And there is no "API" that I know of
Currently I'm having an issue connecting to an AP. Sometimes it will succeed with an "OK", other times it will fail with a "FAIL", and still other times it will just restart itself in the process.
I am not seeing this unit as a viable solution to any reliable non-trivial wireless network system.
Thanks,
Marcus
I'll post more details Monday, as I left it all at work a couple of hours ago. I'm knocking together some functions to sensibly deal with the echo and manage return messages and I'll put that up too.
For hookup, I just have CH_PD jumped to 3v3 other than TX, RX, 3v3, and GND. TXD on the ESP8266 is transmit FROM The ESP8266 to RX on another device. It's very easy to set up with a PropPlug since the plug is so well labeled.
P.S. Marcus, where did you get your modules? My 9600 baud units have been extremely reliable; I've set two of them up and never had a failed message or network connect. UDP even recovers gracefully when the router is power cycled. (I suspect UDP might be more reliable than TCP for a lot of reasons, which is why I use it.)