Just a quick note – as a few of you have said you’ve had issues flashing ESP boards and some have worked then not worked etc… ensure you use the relevant pull ups and pull downs and the right voltages. As you know I do a LOT of work with…
Category: ESP8266
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…
Espressif SDK 1.2.0
Just today a new release of the SDK from Espressif along with a patch. I note they have brought back the watchdog controls. Tried it on our code and up to now it’s absolutely fine. Still no sign of the PWM_STOP() function I’m waiting for however. There is a one-liner…
Fab-Fest Boston August
At the start of August I will be a guest of Espressif at the 11th Fab Lab Conference and Symposium in Boston. Espressif have asked me to do a 30 minute session talking about what we’ve been doing with the ESP8266 (which, as regular readers will know is quite a…
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…
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…
More ESP8266 Woes
Updated Sunday 22/06/2015 : The thing about the ESP8266 is there is always something new to discover problems with!! So this week – The new PWM module appears to have issues and as we don’t have the source, we can’t fix them. Right now it will only do up to…
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…
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…
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…
ESP8266 SDK 1.11
Just a short one for those of you who’ve not tried the new Espressif SDK update yet (SDK 1.11). I noted a pair of commands “system_param_load” and “system_param_save_with_protect” which appear to replace the need for the load and save functions that TuanPM uses in his code in /mqtt/config.c – so…
ESP8266 Guesswork
My thanks to Richard Burton for some updates. This entry which started out as guesswork (but with a practical aim) turns out to have been not that far off – I’ve amended the text and it’s now hopefully a decent guide to memory use in the ESP8266 etc… (bear in…
The Best Laid Schemes
“The best laid schemes of mice and men”… well, there’s a lesson here. I left Spain a few weeks ago with a Raspberry Pi running the watering system and more – I had a hard drive to ensure the MYSQL database would not screw up the SD, I had checks…
ESP8266 FLASH– Something to Ponder
Update: You’ll see from the original article before the break, I was having serious problems with ESP-01 versus ESP-12 etc where code running in the 12 would simply not work on the ESP-01. Well, it turns out none of this was helped by the MAKEFILE.. You’ll often see references to…
ESP8266 Progress
There can be no doubt that I still have some way to go in terms of reliability with my test rig in Spain before putting this stuff in charge of the heating back home in the UK: Raspberry Pi 2 is on an un-interruptible supply but does not 100% recover…
Moisture Sensing Conundrums
I’ve been playing (as you’ll know if you’ve read previous blogs here) with moisture sensing. It’s easy really to do this – you just put a low voltage through a couple of bits of metal and sense the current going through. All things being equal, the more current, the wetter…
ESP-12E with Extra Pins!
Here’s the picture. £2.25 including post – what more could you want! So this is like an ESP-12 – already the best of the bunch – but with more IO – specifically 6 more IO lines… this just keeps on getting better – whatever next, built in Bluetooth?? Well that’s…
ESP8266 FLASH SIZES and SDK issues
Below you will see the MAKE file used in Windows for compiling ESP8266 code for, for example TUANPMs MQTT software which I often use as a base with the Eclipse programming environment. My code is routinely compiled and run on ESP-12 boards and some time ago when I upgraded…
A GroveStreams Node Red Node
One of the more obvious things to do with a home control system is to capture information like temperature and humidity – and to graph it. For example I spent part of my time in the UK and part of it in Spain. When I’m not in Spain it is…
External Drive for Pi2
I’ve read many articles about serious use of the Raspberry Pi and I’m now convinced that there is very little chance of mounting a Pi in a cupboard with MSQL and other write-intense programs – and expecting it seriously to last for a year or 3 because of the limited…
