Electrifying ideas, grounded in the field

RedBear Duo: Intro and QuickStart/HOWTO

Just got my hands on RedBear Lab‘s Duo—what promises to be a great little BLE/WiFi combo—and got some preliminary testing done.  By the end of the seven straightforward steps detailed here, you’ll know all the basics about the Duo and have your own “Arduino” code running on the device, too.  Other than my own ramblings,…

Read more

Midnight hack: going from SMT to breadboard in a bind

So it’s the middle of the night and I find myself in a jam… hm, a lot of my stories seem to start that way.  Anyhow, it’s the middle of the night and I’m badly stuck: I need to talk with a two-wire chip I have on a breakout, but the I²C communication lines need…

Read more

Painless handling of dates, times, events and calendars on embedded systems

I do not enjoy dealing with the vagaries of calendar dates and times… Actually, I pretty much hate it. It’s mostly because I have little patience for arbitrary rules and convoluted systems, and anything as old as the notion of date-times is always filled with historical cruft: half-baked rules, a bunch of incompatible, random-looking, bases…

Read more

Rick and Morty Portal Gun: Design, Implementation and Assembly
Rick & Morty Portal Gun

I love Adult Swim’s Rick and Morty so, for Halloween this year, I created my own version of Rick Sanchez’ Portal Gun–including a 3d-printed enclosure, printed circuit board, negative energy density tube/crystal thingy, wave file player and laser. Here, I’ll go over the design and construction, as well as a few lessons learned along the…

Read more

BLE Nano: Review, Tips and Workarounds
BLE Nano Review and Tips

I’ve recently had to develop an application using the BLE Nano platform. The BLE Nano is a little module built around the Nordic nRF51822 SoC, along with a minimalist set of support components  including an on-board antenna for the bluetooth wireless connection.  The Nordic itself provides all the Bluetooth low energy functionality and hosts your…

Read more

Squeezing the most out of Raphaël JS for SVG generation

A few hints about squeezing maximum performance out of Raphaël. When you want to generate dynamic SVG images using Javascript, either on a website or within a Cordova-type project on mobile devices, the Raphaël library is pretty sweet.  Raphaël has a nice, clean, API and lets you do pretty much anything graphics-related and it sticks…

Read more

BLE112 In-system Programmer

I do a lot of work with bluetooth low energy (BLE or bluetooth v4.0) and have a few different BLE modules I’ll turn to, but often end up using the Bluegiga BLE112 (as evidenced by my DIY BLE112 breakout).  It’s a great chip but one thing that can get annoying is programming the thing. Whether…

Read more

The Handicraft Router

This is a quick post to share a technique I recently invented (or, more likely, re-invented) that can be of great help when you’re trying to layout a circuit but are overloaded by possibilities: the handicraft router. In this specific case, I was trying to get the outputs from a bunch of digital potentiometers to…

Read more

The easiest way to make objects out of thin air (and a touch of PLA)

Today, I finally took the plunge and started exploring how to make 3D printing work for me. I’ve always stumbled when it came time to deal with enclosure and the mechanical aspects of my work, preferring to leave it to some other player in the process or, at best, cutting holes in a standard project…

Read more

Rectifier/Voltage Regulator module: post-mortem

Needing a modular power supply that could handle a few amps and both AC and DC input, I recently designed a circuit to perform the task.  Here I’ll go over the main points and a few lessons learned.