Regular readers will know that we’ve been having some capacity issues here at tech.scargill.net with our old provider “Unlimited Hosting” who turned out to be FAR from unlimited – and if you’re reading this – we’re now up and running with a new provider – Smart Hosting – not without…
Month: June 2015
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…
ESP-13
Well, it’s looking like a good day for discovering more ESP-based boards. This time the ESP-13. APPARENTLY what sets this one apart is 16MBytes of FLASH… My question is – when will RAM be the bottleneck (personally I think it already is) – can’t add that as it is internal.…
ESP-210
Getting something new in the post is always fun (unless it’s a tax bill) and today was no exception. A little parcel arrived from Sweden this morning – an ESP-210. After carefully removing from the box… I plugged it in to my PC via it’s micro-USB connector. The right noises…
Downtime
Apologies to those of you trying to get to the blog yesterday. For reasons not yet known, the site came to a grinding halt and it took the service providers until this morning to bring it back online. It now appears to be working very quickly. Let’s hope that was…
ESP RTC Local Time
So there’s a nice project for the mathematically inclined. My ESP boards get the time (summer time and location corrected) via MQTT where that’s worked out on a more powerful Raspberry Pi. They also get dusk and dawn times. As it is possible on the ESP to get the time…
UPS for Raspberry Pi 2
Being a Sunday I was lying in bed early this morning pondering life when I was reminded that we had 2 short power cuts in a row the night before due to me overdoing the electric heaters here in our cave in Spain where we’re having a short break. The…
A new Day – A new Board
While waiting we’ve done ourselves a new board – it’s not too obvious but under that power supply / dc/dc convertor area – are three MOSFETS for PWM use and we’ve added a connector so you could stick some RGB serial LED strip straight onto a connector. GPIO16 is on…
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…
Non-Linear Brightness
On the lookout for a maths type.. I’m about to do a blog item on PWM on the ESP8266 – the reason for that is – they’ve some new code which currently isn’t 100% or I’d be writing it up now – but suffice it to say the maximum duty…
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…
Pi2 Keyboard
I’ve been using Raspberry Pi2 now for over a month and while VNC and winSCP are indispensible, when you’re having trouble with the Pi (WIFI?) there’s nothing like controlling it directly. I’ve been swapping monitors back and forth and finally gave the Pi a screen of it’s own. I took…
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…
Espressif 1.10 SDK Experience
Update 04/June/2015 I must say I cannot really gripe about support from Espressif……. I received an email this morning to ask me to use another FLASH tool – that failed – same result – code compiled under the old 1.01 SDK worked – code compiled under 1.10 SDK failed. Eventually,…