PI2COM: Serial and I2C Board for the Raspberry Pi

Submitted by martyn on Sat, 30/03/2013 - 18:57

I finally succumbed and bought a Raspberry Pi. I'd been holding out for quite a while, I had a ARM based NAS box (NAS4220) that I had bought a few years back with the intention of learning a bit more about Linux on ARM and as that was the only real reason I could think of for buying it, I didn't feel the need. A need did however finally present it's self, I wanted a small device to use to do some simple temperature logging. The Pi with a custom expansion board seemed like a fun way to get there and I could have fun doing some hardware development along the way with my etch tank. The requirements would be (fairly) simple:

  • An I2C temperature sensor.
  • An I2C battery backed Real Time Clock (to make logging data worthwhile, the Pi lacks a proper RTC).
  • A transceiver for the serial port (not strictly needed for the scenario in mind, but would make the expansion board more useful).

Ford Focus have roof rack fix points

Submitted by martyn on Mon, 11/04/2011 - 14:26

Whilst looking for a set of rook racks for my 2005 Ford Focus, I discovered that there are 2 types of roof racks available, those for mounting to a set of "fixpoints" and those that can be mounted without the Fix points.  The roof bars that don't require the fix points clamp onto the roof and into the door opening and due to the limited clearance available between the door and it's frame, the clamp seems to be painted metal with no protection for the paintwork.

Lancaster LUG Poster

Submitted by martyn on Mon, 08/06/2009 - 20:35

A few years ago now, I created a poster for the Lancaster Linux User Group. At the time I was at university and I was able to get permission to wack a load of these up around the campus.

This is a small rendering of the poster:

Lancaster LUG poster

I have zipped up a larger version, rendered as a PNG and the source for anyone interested in using it as a template for their own.

5.1 Surrond Sound, Via VT1618 and Linux

Submitted by martyn on Sat, 21/02/2009 - 11:04

The Via VT1618 audio codec is used in a number of Via chipsets, including the VT8237, as found on the Via EPIA EN15000G and EN12000EG motherboards. These motherboards provide 3 audio jacks as part of the back panel I/O, Line-out, Line-in and Mic-in, however the Line-in and Mic-in connectors can also be switched in software to act as outputs, providing Rear (left and right), Center and LFE (subwoofer) channels. This seems to be marketed by Via as "Smart 5. Support" and seems to be an implementation of the "Universal Audio Jack" (UAJ). This makes it possible to drive a 5.1 surround sound system with out the need for an external decoder driven from a digital audio connection.

ArchPHP: A PHP based dynamic website for archery clubs

Submitted by martyn on Sun, 08/04/2007 - 16:04

A few years ago I was fairly involved with a university archery club. The exec of the club at the time thought it would be a cool idea to have a community website, to allow the members to keep up-to-date with club news, get club information. The site also provides members a place to keep track of the equipment they use and could keep track of their scores. This also enables the exec to see how the members are progressing, allowing them to easily see who may need more help and who is doing well (for example when needing to pick a team for inter-university shoots).

SDCC library for controlling a 16x2 LCD display from a PIC.

Submitted by martyn on Thu, 29/03/2007 - 18:03

So, you have a small LCD character display, with a Hitachi HD44780 compatible controller and a PIC. You want to control the LCD display from the PIC. There seems to be quite a bit of sample code on the web, however, it seems to either have been written or an alternative microcontroller or in assembly. Well, here's a very basic library for writing to the controller from SDCC.

Using LAMP

Submitted by martyn on Wed, 08/02/2006 - 20:27

LAMP is the name given to a program stack that is commonly used for developing dynamic web-pages. These applications being the GNU/Linux operating System, Apache webserver, MySQL database and either PHP, Perl or Python.