Add Wi-Fi to Arduino Boards for $3 with ESP8266 Wi-Fi Serial Module

There has been some buzz around ESP8266 Wi-Fi module, mostly because of its low price, and SDK availability, meaning it could become the Wi-Fi equivalent of ENC28J60 Ethernet module, and that for $5 you could potentially add Wi-Fi to your Arduino board for example. Since then, the price has come down even further, and if you are prepared to buy 5 pieces, you can now get the module for less than $3 / piece shipped, alternatively a single module costs $4, and a complete Wi-Fi + Arduino Uno (clone) kit goes for $15. A community has also been built around the chip, and a several project have been made with Arduino boards and ESP8266 module.

ESP8266_Wi-Fi_Module

The best way to find information is to go to ESP8266 community forum, as well as read the Wiki on github. There’s currently a GCC toolchain for Espressif Systems ESP8266, open source tools for working with the firmware images and serial protocol, but the (leaked) SDK needs to be officially opened, as I understand it still requires an NDA.

ESP8266 does not have to be connected to another MCU board via its serial interface, and it can be used in standalone, as it also provides two GPIOs (version 2 only) so you can use it to control relays for example. The picture above is ESP-01, which is the most common module, but there are also other form factor for example with ESP-07 that’s even smaller but would require some soldering.

There’s been several project published on the web with Arduino + ESP8622, but AFAIK no libraries have been released yet, and people simply send AT commands in their sketches. You can check ESP8266 Wifi Temperature Logger project using Sparkfun Arduino Pro Mini 328, Seeeduino wrote a short tutorial with Seeeduino3 (Arduino UNO), and James Wolf did a short demo using ESP8622 and Arduino Micro board that fetch a URL, and display the HTML code and some of HTTP data in the serial monitor.

The sketch for the demo can be found here, and he also wrote some documentation.

Thanks to onebir for the tip.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
15 Comments
oldest
newest
onebir
onebir
9 years ago

stretches? :p

onebir
onebir
9 years ago

That’s a stretch 😉

Peter Scargill
9 years ago

And none of the software actually works reliably yet. I’m blogging about this to try to help others as I and others try out different implementations of the firmware. Turning a light on and off is one thing – doing it reliably is another. While it is true that the code is available, many cannot get it to compile or do not understand or understand Linux well enough to delve in – and hence out there, there seem to be around 3 different attempts at making working firmware, as of last night, none of them has succeeded for one reason… Read more »

Paul
Paul
9 years ago

> but the (leaked) SDK needs to be officially opened, as I understand it still requires an NDA.

Why, already has been, for couple of weeks – http://bbs.espressif.com/viewforum.php?f=5 . In a sense, there’s publicly available SDK. But everything else is still “chinese” (don’t mix with Chinese) – licensing terms of SDK are not clear, too many binary blobs inside, and they managed to release 2 (randomly named) “patches” to it – instead of just making another micro release.

Paul
Paul
9 years ago

@Jean-Luc Aufranc (CNXSoft): Also, as you brought ESP8266 matter, there’s a crowdfunding campaign for currently the best available ESP8266EX module – one which actually has ADC (and lotsa others) pin broken out (the cheap modules on aliexpress do not). The campaign is crying – they shoot for $5K, which is ridiculous on its own. But they shoot to collect it in 3 months. They would get more if they just start selling it on aliexpress now, but they cunningly (dumbassly?) sell only on taobao. Then the author of campaign description (“CTO”) doesn’t know English – like completely, the read of… Read more »

Jon Smirl
9 years ago

@Paul I have it from the Espressif CEO that they are trying to go fully open source but not everyone in company understands what that means. When you throw in language issues you end up with the mess you currently see. But — the current mess is a big improvement from what it used to be like so they are making progress. Their engineers are even starting to log into http://www.esp8266.com and make comments. Huge progress has been made in creating an open source compiler/linker and not needing to get one under NDA fron Cadence.

Paul
Paul
9 years ago

Just to clarify, my comment at “05:51” above does not have any relation to Espressif, it’s about completely separate company which produces a *module*, not the chip. > Huge progress has been made in creating an open source compiler/linker and not needing to get one under NDA fron Cadence. And that progress has nothing to do with Espressif, it was done by community engineer, whose day job is Xtensa support. Espressif was quick to pick it up and release new public VM with it, which is very good of course, the point – community leads here. > I have it… Read more »

nonokunono
nonokunono
9 years ago

Official firmware at AT command 020
new firmware brings AT commands for hardware sleep mode,
(AT+CIPSTAMAC , AT+CIPAPMAC )
MAC address change for station and ap mode.

http://www.filedropper.com/at020 (just write it to address 0 )
http://wikisend.com/download/669568/at020.bin

screenshot here:
http://postimg.org/image/ywh96pk3f/cc856977/

Simos
Simos
9 years ago

You may want to update the post with the content from
http://bbs.espressif.com/viewtopic.php?f=5&t=67
(apparently official SDK on github).

drmpf
8 years ago

I have just publish an instructable for a complete Arduino Wifi Shield, 5V and 3.3V compatible with pushbutton webpage configuration for network ssid and password and IP address/portNo for <US$12.00

Very Cheap/Simple WiFi Shield for Arduino and microprocessors
http://www.instructables.com/id/CheapSimple-Wifi-Shield-for-Arduino-and-other-micr/

The project is also available at http://www.pfod.com.au

aldo
aldo
1 year ago

Hello Jean Luc, I bumped into this post from a recent (2023) post that linked to this old (2014) post.
Question: can you provide a list (like csv) of all of your post in this site cnx-software?
Containing like blog title, blog url, blog timestamp date, I really like your blog.
Can you upload it somewhere and give us a link?
I follow your blog via RSS, but I am limited to maybe 10 old posts of the past, and I follow you since only two years.
hope you read and answer.
thank you very much!

Khadas VIM4 SBC