EMW3265 ESP8266 KILLER

Erm, no, though you might think so by this headline..  https://hackaday.com/2015/07/13/new-part-day-the-esp8266-killer Read the comments – the $5 ESP8266 – where?  $2 ESP8266 more like it – less, even – http://goo.gl/VB0V9K There’s even a claim that this new single-source board (Seeed Studio) has MORE memory – well at least one variation…

Read More→

Automatic Router Selection for ESP8266

I wonder if anyone who has done this can help.  As most of you know, I program my ESP8266 devices in C.  I’ve been having some issues with weak signal recently and it would be really nice to have a list of acceptable access points and their passwords – and…

Read More→

ESP8266 Remote Access

Notice I titled that remote access as against remote programming – but that’s part of it. Years ago, having gotten sick and tired of dismantling my home control Arduinos just to upgrade the code, I purchased a couple of small units from China which I’ve just thrown in the bin.  …

Read More→

QD Tech Displays on the ESP8266

I’ve seen a number of projects using an Arduino and an ESP8266 to drive LCD displays. You may know that my home control has used a 1284-based board (MEGA type) to run a nice Thermostat display for some time now. The displays look very pretty in the right box. THIS…

Read More→

ESP8266 RAM

I recently put out a question about the RAM in the ESP8266. In a typical compile, for me I might see… Sections:Idx Name Size VMA LMA File off Algn0 .data 00000894 3ffe8000 3ffe8000 000000e0 2**4CONTENTS, ALLOC, LOAD, DATA1 .rodata 0000275c 3ffe88a0 3ffe88a0 00000980 2**4CONTENTS, ALLOC, LOAD, READONLY, DATA3 .bss 00009a80…

Read More→

BASIC for ESP8266

Don’t get me wrong, we don’t yet have a fully working interpreter, but a link appeared on my ESP8266WIFI Facebook page thanks to Michael Molinari this morning and I thought I’d give it a whirl. http://esp8266basic.com/ I grabbed the Windows loader (Windows 10 put up a SEVERE warning about this…

Read More→

RGB versus HSV

In implementing my own home control solution which you’ll find in this blog “home control 2015” the software has been and remains a work in progress – mainly because I keep finding bugs and adding new features.  I’m fairly confident that most of the bugs that have plagued me over…

Read More→

Driving me NUTS

This has been driving me mad and I’ve only just found the answer – thanks to some clues people have given me – but as many of the responses were wrong – you might well find this interesting. I have a an array of 180 bytes – for 60 serial…

Read More→

EasyTransfer for ESP8266

I’m going to describe here the transmitting side of the EasyTransfer system as used in Arduino – the reason I did this was because I wanted to ship a bunch of binary data from the ESP8266 to the Arduino where I have a nice little wall mounted LCD display –…

Read More→

ESP8266 Mesh

Here it is – the ESP8266 Mesh English doc – who will be first to get this going? http://bbs.espressif.com/viewtopic.php?f=51&t=929   The Chinese docs have been out for some time as has the mesh SDK but the English docs just came out today – have fun.

ESP8266 Arduino NetIO Server Demo

This week as regular readers know I was far away from our little home in Spain – in fact I was at MIT (Massachusetts Institute of Technology)  in Boston, helping promote ESP8266 technology (why? because I could). Along the way I met up with Ivan Grokhotkov who as some of…

Read More→

FAB11 – Boston

This coming Monday/Tuesday/Wednesday I’ll be working with Espressif CEO Swee-Ann Teo,  Jeroen Domburg, Ivan Grokkhotkov and others at FAB11 in Boston – demonstrating how to use the ESP8266 chips in home control and other applications. Heading off from Alicante (Spain) first thing in the morning tomorrow (Sunday) and arriving late…

Read More→

ESP8266 Reliability and ID

Questions for you C programming ESP8266 guys re: the ESP SDK (1.2.0) and some possibly important info on WIFI and MQTT reliability. In the SDK: wifi_station_set_hostname wifi_station_get_hostname HOST ID….  If you do an IP scan on a windows network – ESP units will coming up as IP addresses – and…

Read More→

Accessing ESP8266 Arrays in FLASH

A new challenge – the answer to which I will post in here. Accessing an ESP8266 C array in FLASH – i.e. never touching RAM until you actually access something.  One suggestion was to ensure you use 4-byte variables.. so I tried this – it compiled – the array is…

Read More→

Lua Revisited

Back in the dark ages when the ESP8266 was something new, I had a go at the nodeMCU software, essentially implementing the Lua language (or a subset of it) on the ESP8266.  At the time I was not familiar with Lua but thanks to some of the excellent resources out…

Read More→

ESP8266 Debug

So – I’ve learned quiet a lot in the past few days.. Watchdogs on the ESP8266 Since Espressif SDK 1.01 or thereabouts, watchdog timer operation seems to have changed – delays of any length even in init()  are out – or so it would seem? So I got onto Stanza…

Read More→

ESP8266 RESET

As often as not, when I reset an ESP8266 by using the system reset call in the SDK, after flashing – for example. if (strcmp(token, “id”) == 0) {                    if (isQuery) RESPONSE(“ID=%s\r\n”, sysCfg.base);                    else if (strlen(strValue)>=2){                        strcpy(sysCfg.base, strValue);                        CFG_Save();                        system_restart();                    } The unit does not come out of reset.. the…

Read More→

ESP8266 Bliss

You may have seen comments in here from Richard Burton about his bootloader. Well, I have to tell you – what a game-changer. If you look at a previous blog where I showed you how we’d moved code from the fairly normal 0x40000 starting point down to 0x20000 – freeing…

Read More→