Software

Creating a sensor or peripheral with an SPI (slave) interface
Creating a sensor or peripheral with an SPI (slave) interface

Designed to interact with a 16-bit I/O expander, the firmware was ready for testing.  Though I was still waiting on parts, I wanted to make sure it would all work as expected.  What’s an impatient developer to do?  Create his own SPI slave to replace the missing part, of course! If you’ve gotten anywhere beyond…

Read more

Mystery black window workaround: Druid back in development

Months ago, I was forced to get a new laptop (thanksalot, kitty!) which uses an Intel HD Graphics 520 graphics card.  When I got around to working on druid4arduino I hit a mystery bug with the display, as described previously. In short, a nice black window that wouldn’t display anything but the void.  Development was…

Read more

Kicad: Techniques, Tips and Work-arounds
Kicad: Techniques, Tips and Work-arounds

Kicad is an cross-platform, open source, electronics design suite.  I’d toyed with it in the past, but had never made it to actually designing real projects with it until recently.  Here, I’ll go over my experience and initial impressions, and provide a few pointers and resources for anyone curious about trying it out.  We’ll tour…

Read more

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
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

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
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

Painless handling of dates, times, events and calendars on embedded systems
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

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

Using the on-board Real-Time Clock
Using the on-board Real-Time Clock

So you’re programming for a platform with a built-in RTC… cool.  Now what? Most (all?) XMEGA‘s have an on-board real-time clock, some can even be backed-up by a distinct battery (like the xmega256a3bu, shown below) which can be a real time saver (oh, the pun-anity!). The question then becomes how to best use it. I’ve…

Read more