Some thoughts on Node Red variables

In learning how to use Node-Red I’ve changed my coding countless times as I’ve found better ways to do things. Please note that in 2017, the way I use global variables here is out of date. It still works but for example context.global.fred=1 is now written as global.set(“fred”,1). Read this…

Read More

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

Cheap ESP8266 NodeMCU

Seems like a good offer from Banggood – from their China warehouse (the EU warehouse is for some reason more expensive) http://www.banggood.com/NodeMcu-Lua-ESP-12E-WIFI-Development-Board-p-985891.html?utm_source=google&utm_medium=cpc&utm_campaign=Celc-ad-KI-Unbeat-ESP12E&utm_content=hazel&utm_design=27&gclid=CJyo17OZ9MgCFc-6GwoddIgJbA And while we’re on – a new board.. http://www.espert.co/

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