Monday 20 May 2013

Joshua builds 32-way Raspberry Pi cluster

Boise University PhD candidate Joshua Kiepert has built a 32-way Beowulf cluster from Raspberry Pis.

Kiepert says his research focuses on “developing a novel data sharing system for wireless sensor networks to facilitate in-network collaborative processing of sensor data.” To study that field Kipert figured he would need a decent simulator, preferably a cluster so he could simulate lots of distributed sensors. The University possesses just such a cluster, comprised of 32 nodes each packing a quad-core Intel Xeon E3-1225 CPU humming away at 3.1GHz.

That's a lovely facility and is therefore much in-demand, which meant Kiepert could not guarantee access for lengthy experiments. That got Kiepert thinking that if he had a cluster of his own he could tweak as required, and that cluster was a bit closer to the low-level hardware used in sensors, that would be a fine thing.

Kiepert's mathematical skills then did some multiplication: at $45 per Pi, including an 8GB SD card, he could acquire the raw materials for a 32-way cluster for $1500, or the same price as one Xeon-powered PC. As he contemplated the design for such a cluster, Kipert settled on Arch Linux for its tiny size. He eschewed the Pi's micro-USB port as a power source, as he felt it would complicate cabling, instead using a 5V pin on the machines' I/O headers.

USB power would also have complicated the housing for the cluster by adding weight, a problem Kiepert said was not insignificant because 32 ethernet cables were a drag on the slim and light computers.

“In order to keep the cluster size to a minimum while maintaining ease of access, the RPis were stacked in groups of eight using PCB-to-PCB standoffs with enough room in between them for a reasonable amount of air flow and component clearance,” he writes. “This configuration suited our needs for power distribution very well since it allowed for a power line to be passed vertically along each stack.”

“Using this orientation, four RPi stacks were assembled and mounted between two pieces of acrylic. This created a solid structure in which the cluster could be housed and maintain physical stability under the combined weight of 32 Ethernet cables.”

The Pis were also overclocked, using Turbo Mode, to give Kiepert the grunt needed to run his simulations.

Kiepert's now doing all his research on the cluster, writing in a lengthy (PDF) account of the build that “I have found performance perfectly acceptable for my simulation needs, and have had the luxury of customizing the cluster software to fit my requirements exactly.”

Custom software doesn't, however, mean faster performance: Kiepert admits performance of the cluster isn't stellar, even after he re-wrote simulation software for his cluster.

But the price was right: the PDF above includes a bill of materials that includes cabling, lighting and even screws needed to assemble his acrylic racks. The total came to $1967.21


Monday 13 May 2013

Raspberry Pi Won't Boot, Red Power Light Only (update)

Yesterday one of my Pi worked perfectly, but today just the red power light turns on. There is nothing through either HDMI or Composite outputs and the OK light bearly turns on.

Yesterday it worked with a 32GB SD card, Logitech wireless USB keyboard, , Amazon 5V 1.8A charger for a Kindle.

I tried re-flashing the SD card and tried a Lexar 4GB SDHC Class 2 card and neither worked. Unplugging everything but the power and SD card didn't work either.


Reading about this problem on various forums it seems to be quite common so I will need to play about with the raspberry Pi and try and find out what if if I'm able to bring it back to life.

(Update)

After much playing about and messing around plus reading the many Raspberry Pi related forums (raspberrypi.org is the best). I discovered that there were infect 2 faults with the raspberry Pi in question!!!

1) A broken SD card socket. Currently using a match stick to hold the SD card in its socket


2) The SD card that wasn't compatible but it didn't initially say on the list, the list has been updated since I initially looked.

Saturday 11 May 2013

LTE core network embedded on Raspberry Pi

The industry’s march toward commodity hardware continued apace this week, as system integrator and small cell specialist Quortus squeezed a core network with full GSM, 3G and LTE support onto a Raspberry Pi.

The company said that its aim is to take mobile core network functionality and distil it in to an application that can be run on commodity hardware, instead of the expensive heavy iron infrastructure currently used. Quortus’ flagship product, SoftCore, placed a core network with full GSM, 3G and LTE support in an application with as small a footprint as possible, in this case, the $35 Raspberry Pi.

The software mobile core application turned the Raspberry Pi into a fully functioning 3G and 4G network core and by adding a regular residential femtocell created a complete mobile network able to fully support voice calls, SMS and data over 3G and LTE.

The caveat is that this project isn’t necessarily immediately suitable for commercial use. “But it goes some way to illustrate how our software can be used to lower the costs of network deployments and can be installed on low-cost, non-proprietary hardware or even to enable a ‘virtual core’ model where an operator or MVNO can have its core network hosted by a third party,” the company said.

This is not the first such attempt to make use of a Raspberry Pi in a mobile network. Earlier this year telecoms consultancy PA Consulting crammed a GSM cellular basestation onto the three inch device.

Written by James Middleton 

Wednesday 8 May 2013

Add a Reset Switch to a Raspberry Pi

The Raspberry Pi doesn't come packed with any buttons for power or resetting, but over on Raspi.TV, they noticed that the newest Rev 2 version of the Raspberry Pi actually comes with a place to add in your own reset switch.

Generally if you want to reset the Raspberry Pi you have to either unplug it and then plug it back in, or enter a command with a keyboard. That's fine if you actually have a monitor hooked up, but if you don't, constantly unplugging it is going to wear down the connections. To add a a reset switch, you'll just need to solder on a couple of pins as described in the video above. You can then use any old PC reset switch, or just join the pins with a jumper when you have to reset it. The Raspberry Pi isn't exactly made for frequent resets, but it comes in handy on occasion. Head over to Raspi.TV for the full guide

Tuesday 7 May 2013

Raspberry Pi Won't Boot, Red Power Light Only

Yesterday one of my Pi worked perfectly, but today just the red power light turns on. There is nothing through either HDMI or Composite outputs and the OK light bearly turns on.

Yesterday it worked with a 32GB Toshiba SD card, Logitech wireless USB keyboard, , Amazon 5V 1.8A charger for a Kindle.

I tried re-flashing the SD card and tried a Lexar 4GB SDHC Class 2 card and neither worked. Unplugging everything but the power and SD card didn't work either.

Reading about this problem on various forums it seems to be quite common so I will need to play about with the raspberry Pi and try and find out what if if I'm able to bring it back to life

Sunday 5 May 2013

Firefox OS for Raspberry Pi

It has been quite some time since my last post about Firefox OS running on a Raspberry Pi, but the questions didn’t stop to come in “when will it be released”? Well, I’m sorry that it took so long (sometimes finding time is not that easy), but finally, here we are: the sources and build instructions are available!

Head over to the Firefox OS for Raspberry Pi Manual, which contains all build instructions, download links to a pre-built SD card image and much more information.

But before you start, please note the following limitations of this current release:

No input devices are supported. No mouse, no keyboard.

The screen resolution is hardcoded to 1280 x 1024 px.

The used Firefox/Gecko used is not up-to-date (it’s using revision 801ba75ac563 from 2013-01-03).

Quite some patches are required to get Gecko building, most of which were developed by Oleg Romashin. Unfortunately, they are not yet part of the official Mozilla source tree, and some of them are quite hacky. Progress to get this work upstream is tracked in bug 731498.All those patches are exported into the meta-b2g layer. A source repository for easier development will be made available soon together with instructions how to contribute to the Gecko development.


So what is all of this useful for at this point? I mainly leave this up to your imagination, but I’m using it as public info screen, displaying the weather forecast, room occupation, the next subway connections and today’s lunch menu.

All data comes from publicly available web services or is scraped from Internet pages, all client-side with no web server or anything.

I hope you find Firefox OS for Raspberry Pi as useful and exciting as I do, and please send me your comments, suggestions or (best) patches, to make it even greater!

By Philipp Wagner

Thursday 2 May 2013

Raspberry Pi 'supercomputer'

I was reading an intriguing article talking about creating a parallel 'supercomputer' at the University of Southampton using 64 Raspberry Pi computers housed in a rack made of Lego ( link to website ).

Now I had to replicate this feat in some fashion myself.

My plan is to build a 4 R,Pi supercomputer ( 3 nodes and a RaspberryPrime, this is the 4th node in the stack and will be the coordinator of the 4 worker nodes ) Something like what keith has built

I've placed an order for a NETGEAR GS108 Gigabit Ethernet Switch plus network cales, all I can do is wait. While waiting, I will read the University of Southampton's "Raspberry Pi Supercomputer "How To".
and the following links found on that site to other documents and blogs, as well as sources for the required software.

The main software image for the operating system is called Rasbpian and is a version of Debian Linux specially created for the Raspberry Pi. In addition, for parallel computing various compiler packages would have to be downloaded and installed.

Wednesday 1 May 2013

More items brought

Today I brought more bits for project #whitePi

3 x Raspberry Pi model b (used but working)
2 x clear case's (brand new)
4 x micro usb power supply
1 x wireless keyboard with trackball
1 x USB hub with 8 usbs
1 x 300mb wifi dongle

All were purchaced from good old ebay

That makes a total of 5 Raspberry Pi's

I can start building a Raspberry Pi supercomputer ( More to follow on this )

This weekend my plane is to get my working / test area set up and running but I think I might need then just a weekend but I'll see how it goes, I also need to setup my main computer and stop the kids form using it (thats why they have Ipads for). Any idea how I can fix my netbook that has decide to stop working last night? so thats more things to add to the list of things to do.

Tuesday 30 April 2013

Lack of progress and updates

Not been able to do much over the past few weeks. It's been a mixture of working nights and a 14 month old son who enjoys helping daddy dismantle things ( pulled ethernet cable out of the hub ) I know he's only trying to help .

Friday 19 April 2013

Robotic arm is now made

I will not show you how I managed to put the kit together, but here is the collage of how I put the Robotic Arm together from the start to finish!


Sunday 14 April 2013

Supercomputer built with Raspberry Pi

If you're a computational engineer, there's no question aboutwhat you do with the Raspberry Pi: you make a supercomputer cluster.

Researchers at the University of Southampton have followed their instincts and built Iridis-Pi, a tiny 64-node cluster based on the Raspberry Pi's usual Debian Wheezy distribution and linked through Ethernet. While no one would mistake any one Raspberry Pi for a powerhouse, the sheer number of networked devices gives the design both some computing grunt and 1TB worth of storage in SD cards.

Going so small also leads to some truly uncommon rackmounting -- team lead Simon Cox and his son James grouped the entire array in two towers of Lego, which likely makes it the most adorable compute cluster you'll ever see.

There's instructions to help build your own Iridis-Pi at the source link, and the best part is that it won't require a university-level budget to run.

Crafting the exact system you see here costs under £2,500, or less than a grown-up supercomputer's energy bill.


Saturday 13 April 2013

New parts for project

Today I've purchased some parts for project #whitePi, I'm not going to be buying brand new all the time in fact my goal is to purchase as much as I can on the second hand market

1 X Tiny USB 2.0 wireless Bluetooth adapter dongle

2 x Dell 17" LCD screens

2 X Dell black USB keyboards

1 X HDMI to DVI cable

Friday 12 April 2013

USB Robotic Arm kit

Flesh Based Arms are so 2008

In the future every home will have a sophisticated robot arm. You know... to do the dishes, walk the dog, and assemble Lego kits for us. But waiting for the future always takes so long, which is why I picked up the Edge Robotic Arm Kit from maplin. With a bit of tinkering, and no soldering I'll have a passable replacement for my own meaty appendage. Five axes of robotic movement are at my command. I will be able to command the gripper to open and close, wrist motion of 120 degrees, an extensive elbow range of 300 degrees, base rotation of 270 degrees, base motion of 180 degrees, vertical reach of 15 inches, horizontal reach of 12.6 inches, and lifting capacity of 100g. whew! An LED spotlight on the gripper illuminates what I intend to pickup.

I plan to run the robotic arm using the raspberry pi but right now I need to build it and get it up and running before the fun can start .

I will post with updates


Thursday 11 April 2013

What is project #whitePi

Recently I discovered the little gem that is a Raspberry Pi. A quick search on google will show the many project that you can do with a raspberry Pi.

What is a Raspberry Pi ?

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video.

So what is project #whitePi about then ?

After seeing the many project on google and YouTube I started to get excited about the possibilities off my little PC, my plan is to replicate some of the projects and thus #whitePi was born. The hash tag is being used so your able to to follow my progress on twitter.