Vibrating Wristband Alert

Welcome to thisĀ first post on my blog. Over the years I have enjoyed following and using the work of many others across the Internet, so have decided to contribute my efforts to the community as well.

I have always had a passionate interest in electronics (refer to About), but these days it is very much a hobby. So, if you look around my site, you will noticeĀ placeholders for projects that I still plan to writeĀ up – sometime in between work and family life.

The Concept

I was motivated to develop a vibrating wristband communication device after reading “Enchanted Objects” by MIT Media Labā€™s David Rose. In the book, he imagines a future based not around the ā€œcold slab of glassā€ of our smartphone screen, but instead on “technology that can enhance our five senses and optimize our physical abilities – by accommodating and responding to the way we already operate in the worldā€.

IMG_3926s

As I planned my device, I drew up the following wish-list:

  1. The device should communicate with us in an immediate way that bypasses our usually overworkedĀ visual sense.
  2. The device should have multipleĀ vibrating actuators to be able to deliver a richer message than can be achieved by using ā€œMorse codeā€ like on-off pulses toĀ a single actuator.
  3. It should use Wi-Fi to connect directly to other devices over the internet. This is in contrast to almost any other similar device either available orĀ being proposed. Of course, the use of Wi-Fi instead of BLEĀ doesĀ mean a higher power consumption. But for this proof of concept, I wanted a device that was a ā€œfirst class citizenā€, not requiring tethering to a smartphone or other device. The power issue could be dealt with later, hopefully with sleep modes, advancing technology, etc.
  4. In keeping with the Internet of Things (IoT) ethos of ubiquity, the device needed to be low cost. This is particularly important for the wristband, because it is explicitly designed as a single function device, not to be all-in-one and consequentlyĀ complex-to-use as seems to be the current trend.

The ESP8266

The technology requiredĀ to make this possible (at least from a hobbyist perspective) only became available late last year, in the form of the ESP8266. This remarkable module is tiny, has built in Wi-Fi, a programmable CPU able to control GPIO pins, and costs only about 3 dollars (including free shipping from China!)

ESP8266

The drawback is that documentation is scarce – although this situation is gradually improving due to a few intrepid developers out there (refer links for details). It also does not run Linux like some other development boards, which means that you have a limited choice of development options (at least currently).

I initially started coding the wristband using Lua, which becomes possible by flashing the ESP8266 with the NodeMcu firmware, using ESPlorer. Although certainly an easy way to get started, in my case the results were flaky. I was constantly getting module resets, and wasnā€™t sure why. Memory also seemed to run out quite quickly. However, I may not have persevered enough, or the environment may have improved since then. So donā€™t let meĀ put you off tryingĀ –Ā here is a link to downloadĀ myĀ wristband_luaĀ code.

As a result, with some trepidation, I moved onto using the Unofficial Development Kit by Mikhail Grigorev, which turned out be an excellent piece of work. It does require that you develop your code in C, which may not be to everyoneā€™s taste. In my case, it is my preferred development language and so, quite a few hours later, I had ported across my wristbandĀ code into the ā€œesphttpdā€ example provided in his SDK.

To my delight, this proved to be stable. Also, the serial bit-banging loops were running 250x times faster as measured on an oscilloscope ā€“ not essential for my application, but nonetheless satisfying.

The First Prototype

The main objective was to find out how the multiple vibrating actuators would actually feel when on your arm. Was this a feasible approach to communicate a variety of different messages?

IMG_3877mAs you may have noticed from the picture at the topĀ of this post, itĀ is not likely to win any product design awards. Having said that, it moved my personal construction techniques into new territory. There is nothing quite like using a microscope toĀ solder together SMD partsĀ across a free blank areaĀ of the PCB when afterwards you can hardly see that there is anything there.

I am working on a second prototype that will both look and work better, based on what I have learnt out of this.

Take a look atĀ aĀ FULL write-upĀ of how I built this first prototype, including aĀ video at the end. You can also get thereĀ from under the Projects Menu.