Eurohike solid shell case accidentally for Raspberry Pi

Well would you believe it. Eurohike appear to be making a case for the Raspberry Pi, albeit accidentally. I was in Blacks today and spotted a yellow hard shell mobile phone size Eurohike Safe Case. It is sold as waterproof (I’ve not tested this) with a decent seal and a very solid snap lock clasp. It is made out of tough ABS plastic and also claims to be shockproof. Inside it has a nice foam padded compartment large enough for the Pi with SD card inserted. And for those that want to know: it is rated IP68. To find out what that means head on over to:

EurohikeCase1 EurohikeCase2
EurohikeCase3 EurohikeCase4

Priced at a respectable £15, discounted from £20 equals a bargain in my eyes. It is perfect to transport one of my Pi’s to events as it permanently has a Nokia 3310 LCD + buttons shield attached and hence I need easy access meaning one of the usual Pi cases isn’t quite what I’m after.

I’m likely going to also use it as a waterproof enclosure to mount alongside and control my Nikon AW100 waterproof camera. That is, when I have plucked up the courage to drill a hole to pass a USB cable through the Eurohike case.

Highly recommended, especially with the discount at the moment. Available over at the Blacks website.

Nokia 3310 LCD board for Raspberry Pi

I recently ordered a Nokia 3310 LCD shield from Texy. The beauty is it comes pre-assembled with 5 micro switches and the 84x48 LCD so no soldering required. The price was pretty superb too at £14 + £4 postage. I looked up the list price of just the LCD and it is about £10 hence 8 pounds extra for a fully assembled board delivered to my door is a bargain.

I have some interesting plans a-foot for this little board.

To get it up and running I needed to install WiringPi from Gordons Projects to work with Texy’s sample code. Be sure to install WiringPi for Python though else you’ll sit there confused like I did wondering what went wrong ;)


Something that is most interesting with the 3310 LCD is that it has no internal font set. Consequently you have to define all characters in hex up-front. Luckily (and VERY thoughtfully) Texy provides sample Python code to introduce the functionality of the board which includes a default fairly small font. Calling:

text(‘Hello world’)

will display the text string on-screen. One of the first things I did was to port a pretty good large font to Python from C, the latter courtesy of Petras Sadulkis. The large font takes up three rows per character meaning I had to get it to loop through each row of the array which takes me into my favourite world of multi-dimensional arrays :) (ask me sometime why I love multidimensional arrays so much...) You can see the board outputting the current time (HH-MM, using this larger font.

Here’s some code to get large text working for you for numbers and a few characters (add this into Texy’s sample code), and I apologise in advance for the gratuitous hex:

def display_largechar(char, character_position, display_on_row, font=LARGEFONT):
    gotorc(0 + display_on_row, character_position)
    for value in font[char][0]:
    gotorc(1 + display_on_row, character_position)
    for value in font[char][1]:
    gotorc(2 + display_on_row, character_position)
    for value in font[char][2]:
    lcd_data(0) # Space inbetween characters.
  except KeyError:
    pass # Ignore undefined characters.

def largetext(string, display_on_row, font=LARGEFONT):
  character_position = 0
  for char in string:
    display_largechar(char, character_position, display_on_row, font)
    character_position += 2

# Based on
  '0': [
  '1': [
  '2': [
  '3': [
  '4': [
  '5': [
  '6': [
  '7': [
  '8': [
  '9': [
  ':': [
  '+': [
  '-': [

from datetime import datetime

# clear the screen then display the time HH:MM on one row and SS:ms on another
now =

With the large font in place and the time display working I can move on to adding a stop watch, along with some configuration menus for brightness, contrast and a few other parameters. Once this is done the fun begins as I’ll be using it to remotely control my two Nikon cameras using the time and stop watch functionality to control when the Pi triggers the cameras to take a photo.

This is a great board to experiment with. It brings out the hex in all of us;) Luckily there are tools online to help out with generating hex images in case you need them: (online character generator - this is pretty nifty) (LCD Assistant: windows tool for converting monochromatic bitmaps to hex data arrays)

As you can probably tell I’m very pleased with this shield. If I was being picky I would say, as Texy notes, it “almost” fits within the credit-card form factor of the Pi, with the red board under the LCD just poking out a little. I’m hoping this can be sorted as it means the board won’t fit inside tight-fitting cases designed for the Pi. But apart from that, this shield gets a thumbs up from me.

The blog is back...

Sorry for the lack of updates over the last couple of months. I’ve some excited projects on the go at the moment. More entries here soon... in fact there will be one almost immediately.