Fried Desk Lamp Reborn: How to Use ESP8266 to Build Connected Devices

Some hacks are born of genius or necessity, and others from our sheer ham-fisted incompetence. This is not a story about the first kind. But it did give me an excuse to show how easy it is to design WiFi-connected devices that work the way you want them to, rather …read more

Continue reading Fried Desk Lamp Reborn: How to Use ESP8266 to Build Connected Devices

Following Pigs: Building an Injectable Livestock Tracking System

I’m often asked to design customer and employee tracking systems. There are quite a few ways to do it, and it’s an interesting intersection of engineering and ethics – what information is reasonable to collect in different contexts, anonymizing and securely storing it, and at a fundamental level whether the …read more

Continue reading Following Pigs: Building an Injectable Livestock Tracking System

Etching Large Brass Sheets is Harder Than You Think

One of my favorite ways to think of engineering is that a glass is not half empty or half full, only twice as large as it needs to be. As useful as that idea is, it also means that I rarely put any effort into the aesthetics of my projects …read more

Continue reading Etching Large Brass Sheets is Harder Than You Think

Fablab Saigon Celebrates a Belated Arduino Day

Okay, we’ve just left May and stepped into June, why are we talking about Arduino Day — traditionally a March 16th event where makers congregate and share projects? I live in Ho Chi Minh City, and the event tends to take place in mid-May, but the enthusiasm and collaborative …read more

Continue reading Fablab Saigon Celebrates a Belated Arduino Day

Schrödinger Quantum Percolator Makes Half Decent Coffee

I couldn’t decide between normal and decaffeinated coffee. So to eliminate delays in my morning routine, and decision fatigue,  I’ve designed the Schrödinger Quantum Percolator — making the state of my coffee formally undecidable until I drink it.

At its core, the Quantum Percolator contains a novel quantum event detector …read more

Continue reading Schrödinger Quantum Percolator Makes Half Decent Coffee

Yes, You Can Put IoT on the Blockchain using Python and the ESP8266

Last year, we saw quite a bit of media attention paid to blockchain startups. They raised money from the public, then most of them vanished without a trace (or product). Ethics and legality of their fundraising model aside, a few of the ideas they presented might be worth revisiting one …read more

Continue reading Yes, You Can Put IoT on the Blockchain using Python and the ESP8266

Building A Simple Python API for Internet of Things Gadgets

It’s no secret that I rather enjoy connecting things to the Internet for fun and profit. One of the tricks I’ve learned along the way is to spin up simple APIs that can be used when prototyping a project. It’s easy to do, and simple to understand so I’m happy …read more

Continue reading Building A Simple Python API for Internet of Things Gadgets

AI on Raspberry Pi with the Intel Neural Compute Stick

I’ve always been fascinated by AI and machine learning. Google TensorFlow offers tutorials and has been on my ‘to-learn’ list since it was first released, although I always seem to neglect it in favor of the shiniest new embedded platform.

Last July, I took note when Intel released the Neural Compute Stick. It looked like an oversized USB stick, and acted as an accelerator for local AI applications, especially machine vision. I thought it was a pretty neat idea: it allowed me to test out AI applications on embedded systems at a power cost of about 1W. It requires pre-trained …read more

Continue reading AI on Raspberry Pi with the Intel Neural Compute Stick

Compiling NodeMCU for the ESP32 With Support for Public-Private Key Encryption

When I began programming microcontrollers in 2003, I had picked up the Atmel STK-500 and learned assembler for their ATtiny and ATmega lines. At the time I thought it was great – the emulator and development boards were good, and I could add a microcontroller permanently to a project for a dollar. Then the ESP8266 came out.

I was pretty blown away by its features, switched platforms, except for timing-sensitive applications, and it’s been my chip of choice for a few years. A short while ago, a friend gave me an ESP32, the much faster, dual core version of the …read more

Continue reading Compiling NodeMCU for the ESP32 With Support for Public-Private Key Encryption

The Linux Throwie: A Non-Spacefaring Satellite

Throwies occupy a special place in hardware culture — a coin cell battery, LED, and a magnet that can be thrown into an inaccessible place and stick there as a little beacon of colored light. Many of us will fondly remember this as a first project. Alas, time marches inevitably on, and launching cheerful lights no longer teaches me new skills. With a nod to those simpler times, I’ve been working on the unusual idea of building a fully functional server that can be left in remote places and remain functional, like a throwie (please don’t actually throw it). It’s …read more

Continue reading The Linux Throwie: A Non-Spacefaring Satellite