Playing with ESP8266

What I've learned about the very exciting $3 WiFi module.

Similar projects worth following

My Links:

Useful links:

GPIO Map Table (source: nodemcu api)

IO indexESP8266 pinIO indexESP8266 pin
0GPIO128GPIO0 (low=upgrade firmware)
1GPIO139GPIO2 (available)

  • Downloading and Installing NodeMCU Firmware

    Hari Wiguna01/07/2015 at 03:58 1 comment

    1. Wire up the ESP-01. To prepare it for firmware flashing, GPIO 00 should be connected to ground before you apply power to the ESP.

    2. Visit

    3. Navigate to Github to download the firmware.

    4. You can download the actual firmware binaries in pre_built. However, it's even easier if you download the flasher itself because it has the firmware included in there! Get the 32bit or 64 bit version depending on your PC's OS.

    5. Run it. Yeah, you'll get unsigned app warning.

    6. It should find your FTDI port automatically. Click Flash button and wait till you get a checkmark at bottom left.

    7. Quit the flasher app.

    8. Connect GPIO 00 to vcc (via 1K resistor if you have it, but I've connected it without a resistor also). Recycle power on the ESP. If you forget to do this, the next step will not work because it thinks that you're going to re-flash the firmware.

    9. Use some sort of a terminal program to connect to the FTDI port. I'm biased towards LUA Uploader (I wrote it :-))

    10. Write a hello world lua progam.

    11. Have fun!

  • MQTT

    Hari Wiguna01/06/2015 at 05:44 0 comments

    This is a placeholder for resources that I'm studying towards using MQTT with the ESP8266.

  • World record?

    Hari Wiguna12/25/2014 at 13:08 0 comments

    How many ESP-01s can we fit on one breadboard?

    Actually, this is a demo of ESPs talking to each other. However, I do have quite a few ESPs on the breadboard.

  • ESP8266 (2014) meets X-10 (1975)

    Hari Wiguna12/16/2014 at 07:22 0 comments

    I wanted to control A/C devices, but I didn't want to deal with high voltages. Then I remember X-10 home automation system which according to Wikipedia is 40 years old!? Probably not very practical, but it was fun!

  • WiFi I/O using ESP-03 and Shift Register

    Hari Wiguna12/13/2014 at 20:27 0 comments

  • Unlimited WiFi I/O pins for just a few dollars!?

    Hari Wiguna12/11/2014 at 06:52 0 comments

    Huge thanks to NodeMCU!
    Code and Schematic coming soon...

  • NodeMCU + NodeJS + JQuery = IoT

    Hari Wiguna11/30/2014 at 05:17 0 comments

  • NodeMCU LUA Firmware

    Hari Wiguna11/29/2014 at 16:40 0 comments
  • Talking to a remote webserver

    Hari Wiguna11/27/2014 at 06:36 0 comments

    Arduino Code

    Source: ESP8266 documentation

    AT // Returns OK
    AT+RST // Returns OK
    AT+CWMODE=1 // 1=Client, 2=Access Point, 3=Client & AP. Returns either "OK" or "no change"
    AT+CIPMUX=0 // 0=Single Channel, 1=Multi Channel. Returns OK
    AT+CIPMODE=0 // 0=Received data will be sent to serial port as +IPD,conn, len. 1=plain data stream. Returns OK
    AT+CIFSR // Returns module's IP Address followed by OK
    AT+CIPSTART="TCP","SERVER_IP",PORT_NUM // Connect to SERVER_IP to send data. Returns OK
    AT+CIPSEND=LENGTH // Prepare to send string of LENGTH bytes. Returns ">"
    Once ">" is received, send the actual data (must end with two sets of CR+LF (counted in LENGTH). Returns OK or ERROR.
    AT+CIPCLOSE // Close the connection to SERVER_IP. Returns OK or ERROR

View all 9 project logs

Enjoy this project?



myembed wrote 06/09/2015 at 00:47 point

ESP8266 NodeMcu  Dev:
ESP8266 NodeMcu  Motor:
NodeMcu Wifi Car:
WiFi Car Dev:

NodeMcu+motor shield+wifi car
is on

  Are you sure? yes | no

myembed wrote 06/09/2015 at 00:47 point

a Tutorial on CLOUD coding with NodeMCU

  Are you sure? yes | no

davedarko wrote 12/23/2014 at 10:43 point

Great to see another project of yours and quite a cool one too :) I had them for a while now but yesterday was the first time I played with them - sadly with no connection to the router but I could at least get a list of AP and communicate with the dongle. Great videos by the way, had to subscribe on youtube!

  Are you sure? yes | no

Hari Wiguna wrote 12/23/2014 at 14:02 point

Hi Dave,

The ESP8266 is fun, but it also has been frustrating sometimes. Reliability is still not there but hopefully all that is firmware. Although I've only tried the original AT-commands and NodeMCU, there's also FreeRTOS and probably more. Thanks for subscribing on YouTube. I'm working on a RubeGoldberg ESP8266 project now. Got it mostly working.

  Are you sure? yes | no

erik wrote 12/12/2014 at 14:16 point
Excellent collection of tutorials on a great little device, keep up the great work.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates