Home | Login

Tagged: esp8266


ESP8266 Wi07 board experiments
Getting the wi07 module working

#wifi #esp8266 #wi07 #electronics





Today I finally got custom firmware loaded and functioning on an ESP8266 board.  This time I was using the SMD (Wi07-3) version.  I should post some pictures, but I haven't programmed a ckeditor plugin to make doing that easy.  I can upload the picture, but then I have to copy and paste the file name... oops... tangent.

Anyway, I followed these instructions to get the toolchain setup.

You might want to add:

export PATH=$PWD/builds/xtensa-lx106-elf/bin:$PATH

to your .bashrc or .profile... whatever it is. 

I used the newest Espressif SDK at the time (Espressif SDK 0.9.4) so I didn't have to do any of the patch stuff.

I had to install the ESP image tool from source.  The tar had a pre-compiled version that seemed to run on my machine though.

Then I installed the ESP upload tool (different tool... same name ... grr)  sudo python2 setup.py install

I got the blinky example working, I had issues with pins being too loose in my breadboard... it's getting pretty old, it's well worn.

I wanted to try esp-httpd ever since reading about it.  I had issues with make flash and make htmlflash.

I ended up editing the make file and using these instead:

esptool.py --port $(ESPPORT) write_flash 0x00000 firmware/0x00000.bin 0x40000 firmware/0x40000.bin

esptool.py --port $(ESPPORT) write_flash 0x12000 webpages.espfs

and after that it worked!  I was able to toggle a GPIO from a CGI script running on the ESP8266 itself, and it was able to scan for nearby wifi networks and also connect.


More ESP8266 resources


So I just watched this video where CNLohr was running a mincraft server on the ESP8266!  He mentions the ESP8266 forums and I figured I should keep a handy link in the blog here to them.

#esp8266 #video

My experiences with the ESP8266 Wi07 board from electrodragon


It's hard to say no to a $4.50 wifi module

The documentation wiki was a bit out of date when I got my set (it still is 11/20/2014)...

It claims a baud rate of 57600 or 115200, but if you scroll down you can see you can manually update your firmware to a version that defaults to 9600.  Mine must've come updated because it was 9600 baud indecision

I also noticed the TX and RX pins were REVERSED, I checked and double checked.

It's also hard to tell what pins are supposed to be pulled up or down, I finally decided to glop on some solder like they show in this picture:

Which seems to work, I've read it's overkill and you only need to pull up the chip-enable or RST pin (I forget).

Anyway, I was able to send the AT commands eventually and if you search around the blog-o-sphere you'll be able to find examples for pretty much whatever you'd like to do!

I'll post here with further experiments, I'm looking to make a solar powered wifi beacon of sorts... maybe have it serve up a simple static HTML/SVG page to any HTTP GET requests from connected clients.

Just saw this page for the ESP8266: https://nurdspace.nl/ESP8266 -- seems much more informative

#esp8266 #electronics #wifi