Skip to content

Tag: esp8266

Minimizing UI5 app’s footprint to run from an ESP8266

A while back, I sent this twitter message into the Twitter-verse, with the intention to blog shortly after that on how I got UI5 running on an ESP8266. I’m afraid this blog was conceived a bit later than intended, but here it is nevertheless. This blog is about squeezing a UI5 web application, including the UI5 framework into the ROM of an ESP8266 without adding any additional storage. The available memory space for the UI5 app is 3MB, while the UI5 framework alone is actually many times larger than that. But first a little bit on why I wanted this. While…

ESP8266 based Veranda Control Box

Just thought of quickly writing an update on my latest project at home in which I have built a veranda control box. At the end of fall, our local shops are trying to sell everything that has to do with gardens and summer for a relatively reasonable price. Haseenah always wanted to have a veranda in the garden, so that she could leave the pillows in the outdoor sofa without having to worry about the weather. So when the price was right we got one, but of course on one condition: I wanted to assemble it myself. So at the…

Over-the-Air ESP8266 programming using PlatformIO

There were three items on my two-do list for quite some time already: Get an ESP toolstack running on my Mac Try out PlatformIO and see if it’s nice to work with Try out video blogging (or vlogging) So, why not combined the three to-do items into one experiment? So yesterday I got my gear ready and started experimenting and recording and editing, almost all at the same time. Here’s there result: In this video I have installed an ESP toolstack using platform IO with the statements below:

Since PlatformIO version 2.7, PlatformIO doesn’t have a dependency on scons anymore, hence…

Because every house needs Wifi

Just because every house needs Wifi, I just had to squeeze an ESP8266 in the battery compartment of Haseenah​’s miniature christmas houses. Batteries have been replaced with a USB phone charger on the mains and light can be controlled through Wifi. The ESP8266 has been hot glued on a piece of experimentation board, which has been cut in such a way that it just leaves a row of holes available for some headers. Detachable cables are convenient, so that you can take the ESP out and upgrade it, or do something else with it. A header has been added for…

Arduino programming on the ESP8266

The ESP8266 has been gaining quite some popularity in the Internet of Things space. It is affordable and tiny and has multiple programming options. You can use Lua or C code to program the chip and it can virtually do anything you can also do with an Arduino. Some folks in the ESP8266 community have been debating about how great it would be if there were a third programming options. The ESP8266 should be made compatible with Arduino code! Richard Sloan and Ivan Grokhotkov eventually stepped to the plate and did the work to add the ESP8266 as a board to the Arduino…

New version of the NodeMCU board

I never really liked the NodeMCU, because the board was too fat. If you stick it into a breadboard, you’ll basically cover the entire breadboard and you’ll not be able to wire it up anymore. However, there’s a new version available now, which is an absolute blessing. On a breadboard, it still leaves a row on both sides uncovered, so that you can very easily wire it up to sensors and actuators. With this, I really like the NodeMCU to experiment with. With a price of $6, it is hardly any more expensive than a bare ESP8266 module and save…

Connecting an ESP8266 to the SAP HANA Cloud Platform

As a proof of concept, I have tried to make a very easy setup of an ESP8266 and flashed it with simple firmware that connects to WiFi and sends temperature sensor data to the new SAP HANA Cloud IoT services. The aim is to have the chip to work in an autonomous mode, meaning that there will be no brokers or bridge involved that are taking messages from the ESP8266 to send it to the SAP HANA Cloud Platform. This requires the chip to speak HTTPS though, and SSL has been a bit of the achilles heel of the chip. I…

SAP HANA Café S02E04 – Internet of Things

On May 29, SAP and The Next View organised a CodeJam on one of my favorite topics: The Internet of Things. SAP has brought the Node.js-based Tessel development boards to experiment with. Of course, the emphasis shouldn’t be on the hardware and soldering, but on connecting them to the SAP Hana Cloud. I must say, this Tessel is quite a nifty little board that’s extremely easy to program. On the other hand, I also felt powerless when it decided to reboot out of nothing, perhaps due to some very hot-off-the-press firmware? Thing is that it did play nice with the HANA Cloud…

ESP8266 programming from Eclipse

As most people developing SAP solutions are currently using Eclipse for their edge projects, I thought it would be convenient to write a blog on how to connect your Eclipse environment to the ESP8266. Step 0: Get some ESP8266 chips and connect one to your computer The ESP8266 chips can be bought from various sources. Great resources to get the chip are Ebay, AliExpress or Banggood. You can buy the bare ones, but you can also buy a development board along with it. I’d highly recommend to buy a development board, because it makes life a lot easier. Most development…

Linking the ESP8266 to a Raspberry Pi through MQTT

In my previous blog post I have tried to explain why MQTT is the right protocol for IoT scenario’s. So it would be nice if the ESP8266 would be able to leverage this protocol as well. And it does! Over on the ESP forum, Tuan PM has been working on code to allow us to use the ESP boards as an MQTT client. The forum post is here and the wiki here. To get the ESP8266 to talk to the Raspberry Pi, I flashed Tuan PM’s MQTT examples with a few changes into the ESP and installed Mosquitto on my…