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…
Category: ESP12
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…
3rd Generation ESP
At long last – a board without bugs! Well, we decided not to bother with the little ‘85 control chip but other than that everything works – no hidden repair links. The white board in the middle is the latest and it is sporting an ESP-12e though we’ve not attempted…
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…
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…
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…
Web Sockets Web Page Part 3
For this to make sense you should look at Websockets Web Page Part 1 and Websockets Web Page Part 2 first. In this final section I add styling to the page and also change the code so that you can send a partial message i.e. {“my_input”:”Hello”} without affecting other parts…
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…
The DTR Line and ESP
Hitting an issue with ECLIPSE on the PC and the TERMINAL program. So in our little board we’re using an ATTINY85 to control the programming process for the ESP12s… I have some issues.. If you’re using GPIO as an output to a relay… this whole process can cause the relay…
Making ESP8266 Programming Easier
Updated 09 Apr 2015 – code fix: A little something here from my guest writer and friend Aidan who’s been working with me on the latest home control successes to follow after this blog! If you’ve successfully written and uploaded a piece of C code for the ESP8266 in any…
An ESP8266 for Arduino Game Changer?
(updated 2/4/2015) Here we go again – just as you thought it was safe to start coding, another game-changer comes along. This time not only do we have an Arduino IDE for the ESP8266 (which isn’t a stunningly good IDE but it’s awfully familiar to many developers) but also what…
Home Control The Next Step
As regular readers will know I’ve pretty much gotten to grips with the whole home control thing having after much research settled on a largely MQTT-based setup using the excellent new Raspberry Pi2 as a hub with Node-Red. Though it could just as easily have been any proper Linux or…
ESP826 + Pi + MQTT + Node-Red Heaven
If you’ve been following the blog you’ll note I’ve spent a lot of time getting to grips with the Raspberry Pi, Node-Red, the ESP chips using C and of course my earlier home control attempts with NETIO, the NRF24L01 boards and Arduino clones (all of which are working 24/7 –…
ESP8266 Tidy PWM
If you check out an earlier post I managed to get PWM working nicely on the ESP-12 on the otherwise unused GPIO15. Well, it was a little messy – so I’ve tidied it up with the use of a struct. Here it is.. You’ll need to make minor mode to…
ESP8266 PWM on One Output
According to the ESP8266 API – you have control over ports 12,13 and 15 for PWM. I’m interested only in using GPIO15 as I have uses for the other port bits – so I took PWM.H and removed reference to the other two ports – leaving only GPIO15. I changed…
WS2812b Success on the ESP-12
This one has been long in the making. I’ve had a fair bit of success with the little ESP-12 and it is now my favourite despite the 2mm centres. Why, because it HAS everything – lots of port bits, A/D convertor etc. why on EARTH we all went off and…