Pat Deegan

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.

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

Reliable 3G connections with Huawei E182E/E173s on Raspberry Pi

I just finished a project for which I we needed to connect a raspberry pi to a distant server, over a 3G connection.  The module was to be autonomous–it would be powered on demand and needed to reboot into a consistently usable state to perform its duties. Creating a shield (or “HAT” in Pi terminology)…

Read more

Why (and how) you should start using XMEGAs

I love the Arduino platform, especially for prototyping, and have been playing with the Atmel ATmega chips for a long while.  Once you’ve designed your project, some of the smaller derivatives (like the Ardweeny I’ve mentioned before) are cheap enough to leave embedded everywhere and, in any case, you can always move from an Arduino…

Read more

SerialUI and Druid4Arduino updated

SerialUI, the Arduino serial/terminal user interface, and Druid4Arduino, the automatic GUI for SerialUI-enabled devices, have both been updated and are available for download. SerialUI SerialUI has been expanded to include new functionality, the most important of which are: A “user-presence” callback.  You can now specify a function which will be periodically executed while a user…

Read more