If you came to Devoxx UK last week, quite close to the door, you’ll have come across us (Billy and me) dressed in white lab coats, talking about the Liberty Car, and giving away some beautiful new t-shirts to celebrate Liberty turning 5 years old:


Aside from perpetuating the myth that scientists all wear white lab coats all the time (we don’t) and are a bit eccentric (well, maybe), the Mad Scientists stand was a cool area of the exhibition hall where a bunch of IBMers showed off the funky projects we’ve worked on as part of our day-jobs or just for fun (or both). Many of the demos included at least one Raspberry Pi but they were all quite varied.

For example, there was the Pi-powered LED t-shirt:


And the Pi that went to the edge of space (yes, actual space):


There was the augmented reality demo (no Pi there):


So, the Liberty Car. While the Liberty Car has been around for almost as long as Liberty itself, it’s undergone some changes in the past year. It was originally conceived to show how small and fast WebSphere Liberty is. Java application servers are usually thought of as quite large beasts. Yet the Liberty Car demo shows how you can write an app (in this case, to control a toy car from your phone), stick it on a Liberty server with only the bits of Java EE that the app needs to run, and it’s perfectly happy on the constrained hardware resources of a Raspberry Pi 2 Model B.

Recently, the Liberty Car has been upgraded to talk to the cloud (in this case, IBM Bluemix) to demonstrate hybrid cloud setups. Now, instead of connecting your phone directly to the wifi on the car, you instead just visit a webpage hosted on Bluemix and drive the car from there. That webpage talks to the car via a secure gateway (think VPN) and you drive the car by tilting your phone this way and that.

If you were there, thank you for coming to talk to us despite our demo failing to cope with the multitude of WIFI access points around us. This is what you would’ve seen (thanks to Jamie Coleman for the quick video when we got back to the office):

If you want to create your own Liberty Car, you can find the original instructions here on WASdev.net and code in GitHub. If you’d like to try the hybrid cloud version that we took to Devoxx UK, the code for that (still in development) is in a branch of the GitHub repository but you’ll also need a bit of extra setup. We’ll hopefully bring you complete code and better instructions sometime soon (in the meantime, the original version should work just fine).

We had a great couple of days – we talked to many people and gave away so many t-shirts – thank you for coming to see us if you were there. And thanks Martijn for your lovely words:

Join The Discussion

Your email address will not be published. Required fields are marked *