node.js v0.10 broke my udp multicast listener

I recently updated from node 0.8.xx to 0.10.xx and found out that the following code will create an exception. dgram.js:381 throw new errnoException(process._errno, ‘addMembership’); ^ Error: addMembership EBADF After some searching I found this issue, which shows that they changed bind(port,[addr]) to be asynchronous.   The solution is to change udpsock.bind(port); udpsock.addMembership(mcastAddr); to udpsock.bind(port,null,function(){   […]

Continue reading →

JST Battery Connectors

I’ve been playing with lithium polymer (LiPo) battery powered projects lately (more to come about that) but I’ve been frustrated trying to decode all the “standard” connectors people use for these.  Of particular annoyance are the JST connectors, which may refer to many different connectors. At first I thought there was only one JST connector […]

Continue reading →

AVR Studio 6.0

Edit (8/9/2014): I’ve added links to atmel studio version 6.2 UPDATE (10/23/2013): The newest installer as of  is here: AVR studio v6.1 build 2730 One thing I really hate is when you have to go through a registration process just to get “free” software.  As it turns out, Atmel doesn’t change its download locations.  So as of […]

Continue reading →

Fixing the up! 3d printer

A few weeks ago our UP! pp3dp (personal portable 3D printer) broke.  It would usually print one object while cold but fail on the first couple of layers of the second consecutive object.  Eventually it started making a bad smell so I opened it up to see this. Two of the jumpers that shunt power […]

Continue reading →

Raspberry Pi i2c/spi setup

UPDATE-UPDATE: The standard raspbian distro now comes with full support out of the box. UPDATE: adafruit now has an rpi distribution that is up-to-date and prebuilt with spi and i2c working.  you can get it here: http://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/   I just got my Raspberry Pi last week and it took me an evening to get the SPI and I2C […]

Continue reading →

First post!

Welcome to my blog.  If you’re reading this hopefully there’s more content so please read something else.  If not, this is where I plan to document most of my projects both original and not.  I also plan on putting helpful notes here for personal and public reference.

Continue reading →