Electrifying ideas, grounded in the field

Druid4Arduino: developments and mystery bug

The vagaries of life and a few real clients got in the way of druid2 development until recently.  I was all set to get going when the angry and fickle 4-legged god I live with changed my plans a bit… Thanks, kittie.  I’d been thinking of a new laptop anyway and managed to get one…

Read more

Druid2: the quest for beta testers

Hallo all… An updated, more powerful and much improved versions of druid and SerialUI are on their way in the coming weeks.  I’m looking for a few people who’d be willing to act as beta testers for the new versions–the more hardware, and platforms, you have access to, the better but any supported combination should…

Read more

Transmitting mounds of data in realtime over Bluetooth Low Energy

My client needed to receive a relatively large amount of data on a mobile device, from an embedded system, and process it in near-realtime.   The simplest method for communication with a whole host of mobile devices is to go over bluetooth low energy, but this protocol’s main concern is more about power conservation than throughput. …

Read more

Turning complex waveforms into usable values–VRMS, Power, Torque… how to do it and why it works

After this tutorial, you’ll know “in your bones” how to deal with the weirder stuff, when it comes to time-dependent values. It’s easy to find formulas to plug into to for simple cases, like a steady DC voltage or nice sine waves with known peak values but what happens when things aren’t so straightforward?  Say…

Read more

Finding a messy signal’s period and frequency, the easy way

I’ve recently had to determining the frequency of some arbitrary repeating signal, from a stream of sampled values. In a simple universe, you could just wait for a specific value to come in–say the peak value–or monitor for the zero crossing or somesuch. However, the particulars in this case included the fact that, in addition…

Read more

Getting the Hantek DSO-2090 working with Linux

Received a Hantek DSO-2090 USB oscilloscope today and put it through a few paces.  Here are the results and my impressions from using the device a bit, as well as a few tips for working with it under Linux. The first thing to note is that, in terms of DSOs, this thing is dirt cheap…

Read more

NanoKeys Released

As promised, the NanoKeys library has been made public and is now available on it’s own project page! One noteworthy change is a modification to the key send/key clear algorithm that allows for much quicker transmission of key strokes and a snappier user experience.  Here’s a short clip of the new functionality in action: And…

Read more

Announcing NanoKeys: turning a BLE Nano into an HID Keyboard, the easy way

I’m finishing up the docs for NanoKeys, a small BLE Nano (and probably any mbed BLE API supported devices) library that gives you an easy way to create a bluetooth low energy keyboard that you can pair with using any mobile device. The project page, code and documentation will be up shortly (in the projects…

Read more

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