Archive for the ‘C’ Category

Wuthering Bytes 2014 Talk – SPI and I2C

Tuesday, August 19th, 2014


Here are the slides to the SPI and I2C talk I gave at Wuthering Bytes 2014 at Hebden Bridge, here in the UK.

OSH Camp 2012 – Flickr Group

Thursday, September 20th, 2012

There is a Flickr group for the Open Source Hardware User Group (OSHUG) and photos from this years camp have been uploaded to it. The photos below are courtesy of Carrier Detect. The group can be found at

Me speaking

Hippiegunnut interfacing to her Pi

OSHCamp 2012 Talk – Developing Linux on Embedded Devices Slides

Saturday, September 15th, 2012

Here are the slides to the talk I gave at Open Source Hardware Camp 2012 here in the UK.

DPC – Dutch PHP Conference 2010

Thursday, April 22nd, 2010

Rather belatedly I am delighted to announce that I have been accepted to speak at the Dutch PHP Conference in Amsterdam this June. DPC is the premier European PHP conference and is sponsored by iBuildings.

I will be running a tutorial Writing a PHP extension in C and speaking about Web Sevices for Consumer Devices. I look forward to seeing you there.

Capturing still images from video devices in PHP using Framegrab

Sunday, February 28th, 2010

I found I had a need to capture and process still video images from video devices using PHP so I wrote the Framegrab PECL extension. This post introduces the basics of Framegrab.

Serial IO in PHP using the DIO extension

Monday, February 15th, 2010

DIO is the Direct IO extension for PHP. I recently took over maintaining this extension and have implemented comprehensive stream support for both POSIX and Windows systems. To demonstrate the use of DIO this post will describe a PHP script that sends an SMS using a USB 3G modem.

PHP DIO Extension: Looking for beta testers

Tuesday, February 2nd, 2010

A few months ago I had a need to do some serial IO from PHP. After asking around I found out there was a PHP extension for this but it was unmaintained, unowned and out of date. To cut a long story short I ended up as the maintainer of said extension and since them I have been fixing and extending it.

The original DIO API is very basic and POSIX oriented. Serial support is not very configurable and doesn’t work at all on Window platforms. So I have been working on implementing PHP stream extensions that allow you to do raw and serial IO via streams. Anyway its ready for testing by people other than me on POSIX (Linux, OS X etc) and Windows platforms so I’m looking for beta testers.