Posts with «wifi module» label

How to update esp8266 firmware

In this post, we are going to upload firmware to ESP8266 (ESP-01) . The firmware can be updated by both arduino as well as usb-ttl module.
ESP-01 is wifi SoC module and it has two GPIO pins i.e. GPIO0 AND GPIO2
For using ESP8266, we can use either AT commands using any terminal software/ esplorer ide (it supports lua programmming and AT commands) or we can use arduino library.
ESP8266 is a 8-pin SoC having two GPIO pins, it requires 3.3 volt and the current consumed by wifi module can't be attained through arduino. Therefore, if we are using arduino we need external 3.3 volt power supply.
Esp8266 wifi module can act as STA as well as AP or both


Things required:

1. USB-TTL module
2. Perfboard
3. Male and female berg strip
4. Female to female jumper wires
5. ESP-01
6. Nodemcu flasher
7. Firmware to be updated
8. Little bit of patience :)

Connections:

Make connections as given below:
ESP8266 side                                               USB-TTL module
Rx                                                                  Tx
Tx                                                                  Rx
CH_PD and Vcc                                           3.3 volt provided by the usb-ttl module
GND                                                              GND
GPIO0                                                           GND (while updating the firmware only)

Updating the firmware:

We had connected switch to GPIO0, by pressing the switch it GPIO0 will be grounded
In order to update the firmware, make the connections on perfboard. In this circuit, we are using two switches
one for GND and other for GPIO0.
Download Nodemcu flasher from the link below:
Download firmware from the link below:
Make settings as given in the picture. Browse the firmware file (ends with .bin)

Note: GPIO0 should be grounded while updating the firmware.
Vcc and CH_PD should be connected to 3.3 volt only

Check out the video:


Thanks for visiting this post.

In the meantime, do check my youtube channel:

Fun with electronics


The ESP8266 Becomes a Terrible Browser

The ESP8266 are making their way over from China and onto the benches of tinkerers around the world for astonishing web-enabled blinking LED projects and the like. [TM] thought he could do something cooler with his WiFi to UART module and decided to turn one into a web browser.

There’s no new code running on the ESP8266 – all the HTML is being pushed through an Arduino Mega, requesting data from a server (in this case our fabulous retro edition), and sending the data to the Arduino serial console. The connection is first initiated with a few AT commands to the ESP module, then connecting to the retro server and finally dumping everything received to the console.

It’s not much – HTML tags are still displayed, and images are of course out of the question. The result, however, isn’t that much different from what you would get from Lynx, meaning now the challenge is open for an Arduino port of this ancient browser.


Filed under: Arduino Hacks, wireless hacks