10 Command Line Tricks I Wish I’d Always Known

One thing that Linux Guru’s and Terminal Wizards often argue is that it’s way quicker to use the command line to do anything in Linux than it is through menus and what not. While the jury is still out on this, there are a lot of things they know which do help put the […]

The 5 Best Features of ICS

Data Usage & Data Limit:

Forget 3Gwatchdog, Google have built in a data monitoring tool which is also capable of cutting you off when you’ve eaten too much data (if you want it to). It gives you information on how much you’ve used, what apps have been using it and how much and a […]

Python – Making Use of Google’s Text To Speech Translation Tool

Text to speech (tts) is a difficult task to get right and there are quite a few packages that show just how hard with their terrible tinny voices, these are also usually only limited to English, which for the larger part than most people would like to believe don’t find it very useful. Nevermind, […]

Python – Writing a ‘Fuzzy Clock’

If you want a clock that’s a little more human, there’s no better way than a ‘Fuzzy’ clock, essentially this converts the time in to a more brain friendly format such as “Twenty past Twelve” rather than 12:22.

Writing a simple fuzzy clock Source Code:



$ python fuzzytime.py It’s 25 […]

Densitron – DD-160128FC-2A – Review

Product: RGB OLED 160X128 Display
Manufacturer: Densitron
Price: £20.33 (At the time of this review.)

Datasheet: DD-160128FC-2A Datasheet | Farnell Mirror
EAGLE library: http://prusadjs.cz/eagle/OLED.lbr

The DD-160128FC-2A is a solid little screen, at around 4.3cm (from corner to corner) it’s perfect for displaying information on small mobile robots, a little serial terminal screen for desktops, wrist mounted electronics and a whole bunch more. The only issue with the design of the screen is that it doesn’t come with any mount holes, leaving the only real option of mounting this to a case or project box with glue on the back (which makes it not reusable) or sandwiching the displays edges between two layers (which could prove difficult with only a few millimetres border).

The display boasts a bright back-light thanks to the use of OLED (organic light-emitting diode) which also keep the power consumption low (3.3V input) making this an awesome little display for mobile use when a power supply isn’t available. The colours are surprisingly deep and vibrant for such a small display and there is no visible flicker from the refresh rate. The 160×128 resolution is easily enough to display around 10 lines each with 18 characters on, alternatively it would look great displaying a camera video feed or a slideshow of pictures.

An EAGLE library was created for this OLED screen which includes pin descriptions and correct sizing for those wishing to create their own PCBs for projects using this display. It can be found here.

For those wishing to use this product in conjunction with an mbed (more info here) someone (simonb, over at the mbed community) has created a driver for the “Densitron DD-160128FC-1A”, this should work perfectly well with this newer module screen and all the source code and much more information is available through the mbed website – here. This is a great library which allows you full control over colour, fills, text, individual pixels and even the orientation of the screen.

If you’d prefer not to attempt creating your own PCB and all that pesky soldering, or are not very good at soldering I strongly advise buying the breakout board for this screen (this can be found at Farnell here), it’ll allow you to develop and play around with the board much easier and it’s only around £15.

Densitron also offer a bunch of other screens with a range of sizes, resolutions and prices and due to the ease of use of their products they seem to be an ideal for hobbyists, students and anyone looking to prototype a product quickly. Check out their entire range over at Farnell – http://uk.farnell.com/densitron/

Keep tuned for more projects using this, all will include schematics and source code.

Continue reading Densitron – DD-160128FC-2A – Review

Switching Between Two Resolutions in Linux

I have a TV and my monitor connected to my PC by a VGA switch box but what’s annoying is they aren’t the same resolution. This causes problems because I can’t see what I’m doing when I have switched to TV and usually have to leave the setting manager open so that when I […]

Kinect Development – Day 1

Head over to this page if you want some tutorials on getting started with the Kinect and libfreenect, I’ll update more as time goes on and I have free time.

I’ve been meaning to grab myself an Xbox 360 Kinect for a while, not because I’m a big motion controlled game fan but for […]

FYP – Pedestrian Detection – Test 2

The latest version of my final year project, almost complete. It’s designed to be a pedestrian detection system used in reversing cameras on cars. Possibly more information to come, see here – projects/finalyearproject/

HowTo: Remove Every Other Line in Text Files – Linux

Let’s say you’ve got a text file, of any size, big or small, and you want to remove every other line of that file, well here are a few commands in Linux that allow you to do this.

Example, you want to get from this:

1 2 3 4 5 6 7 8 9 […]

Inverted Pendulum

As part of my Robotics university course we used an Inverted Pendulum rig to learn some control applications/algorithms. For extra marks we had the challenge to swing the pendulum from hanging down to an upright balancing position. Below is my first attempt which still needs a little tweaking to the values to reduce swings […]