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…
Category: ESP8266
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…
ESP8266 Test Board
I mentioned that Espressif were kind enough to send me a test board to play with – and very nice too. Not had time yet as I’m struggling with learning how to make an installer for my Node-Red package – with some great help from the guys involved with this….…
Presents from Espressif
Let me start by explaining that Espressif are makers of fine WIFI gadgets.. specifically they have spawned a whole new lease of life for IOT… by producing a marvellous little chip that contains a complete processor, memory and WIFI interface needing only a tiny FLASH memory chip and a couple…
Mosquitto and Web Sockets
This entry is about ThinkStudio (thingstud.io), Web Sockets and Mosquitto in my quest for ESP nirvana. So TODAY I was alerted to an early version of a new service which I think you might like… so check out http://www.thingstud.io/ Clarification: This is ALPHA software but already, provided they keep at…