Monday, May 9, 2016

High Voltage Lego Man

Friday, February 5, 2016

EcoPlug Wifi Switch Hacking

I opened up an ecoplug module bought from Home Depot. They are currently on clearance for $15 Canadian each (about $12 US).

The switches can only be controlled via the app (which is pretty crap) but I have captured and dissected the communication and discovered it is essentially just a UDP packet controlling the switch state.  I was considering writing an openHab binding for it; but decided to open up the switch instead.

Home depot product page:;jsessionid=31776537145CBE2EDAF2A319018BFF47 

 They are also sold under the name Wood WiOn:

Here is the new firmware I wrote for it:

 Here is my teardown and programming video:

 Pinout Diagram: 
I confirmed the unpopulated 8 pin part was for an external adc; based on the wiring it looks like the optional power meter monitors voltage; current and power factor of the load. 

Backside of the power board; lots of depopulated parts which would be used for the optional power monitoring. 

Wednesday, March 26, 2014

Modified Rostock - Get ready to defeat the Cartesian agenda!

I've decided to build a 3d printer.  I chose the rostock delta printer as my base.  I had lots of spare large aluminum extrusion so I'm using it as frame support.

Tuesday, December 3, 2013

Roomba Bluetooth Interface

After discovering issues attempting to power my wireless router off the roomba, I decided to build a simple bluetooth interface similar to the roototh interface from sparkfun.

Since I have this weird unmutable DIY motivation; I decided to build my own interface.

The interface is pretty simple; a standard Bluetooth module; some level conversion and power supply.

Design Goals:

  • Low Cost
  • Low Profile (so it doesn't get caught on things)
  • Configurable Baud Rate (as to work with any roomba)
  • Configurable Bluetooth name (So it will show up as "Roomba" when scanning)


QTY    Description       Manufacturer    Part Number
1      Roomba Connector  Kycon           
1      Bluetooth Module  CSR             BlueCore4
1      PCB               Me              Roomba-01
1      3.3V Regulator    TI              LP2950-33
1      0.1uF Capacitor   -               -
1      10uF Pol. Cap.    -               -

I bought a cheap CSR bluetooth module from; they're about $7 each including shipping

For the connector I hacked a 7 pin mini-din I ordered from digikey; it worked pretty well.:
7-pin Mini DIN connector $3.04

Interface PCB came in aroudn $1 each (since I ordered 10)


Circuit Board:





To finish the devices I encapsulated them in Plasti-Dip; its awesome stuff and provides good protection to the circuitry.

Friday, October 25, 2013

$12 LED photography lights


I needed dimmable photography lights for a photo booth project I'm building for a friends wedding.  Pre-built lights are quite expensive so I decided to build my own.  I based the design on white LED strips which can be purchased quite economically when purchasing directly from Chinese distributors (Like

The LEDs:

I went with the largest and densest LED strips I could find.  The LED strips come in 5 meter lengths; I found for $12 (inlcuding shipping) I could get a 5M LED strip with 600 LEDs.  The leds are the 5050 size which is the largest commonly available on LED strips.  The 5M of LEDs draw 72W.

Building the Panel:

I build a quick panel out of some white hardboard and pine trim I had around from home renovation work.  I sized the panel to fit 10 50cm lengths of LEDs.  This made a nice ~60cm x 20cm panel


The strip is directly powered off of a 12V source (I used an old ATX computer power supply).  Each segment of the strip was wired to a 18 gauge power supply wire.  From here it can be connected directly to 12V or via a control circuit as I have done.


The photo booth I'm building runs on a raspberry pi embedded computer.  Attached to the raspberry pi is a PCA8685 I2C PWM driver.  Adafruit sells a nice breakout ( board to make wiring it up easy.  This way the photobooth control software can simply set the desired PWM duty cycle and be done with it.  The PWM output of the PCA8685 is connected to a mosfet which switches the LEDs on and off at the right duty cycle to set the brightness. 

Mosfet Dimmer Board:

I designed a simple four channel low-side mosfet switch board for connecting the LEDs (and other DC things) which needed control from the raspberry pi.  The hardware design is open source and can be found here:

Demo Video

Thursday, August 1, 2013

Ultra Geek Dad

I created a separate blog for the projects I do with the kids.  Check it out here:

Wednesday, June 26, 2013

CNC Machine Progress

Its been quite a while since I added information about my CNC machine, I've made a few videos describing the machine.

First run of the CNC Y axis (gantry):

Here is my first video after getting the three axis together:

First time running with a router:

A bit more progress on the machine