Tag Archives: Uncategorized

Art Showcase: Escape III

via Raspberry Pi

Hey all! It’s Rachel again. I have another amazing Art Showcase for you. This time Neil Mendoza explains how he and Anthony Goh brought these animated bird sculptures to life with the help of a Raspberry Pi, some Arduinos and lots of old mobile phone parts.

I really love this one XD – read right to the bottom if you want to see the birds in action. Over to Neil…

image00

Mobile phones are ubiquitous in today’s society, but often their use has unintended consequences, intruding into and changing social situations, distancing people in in real life by dragging them into the digital world.  They are also a massive source of electronic waste.  A few years ago this inspired Anthony Goh and me (Neil Mendoza) to create an installation that takes cast-off devices and suggests an alternate reality in which these unwanted phones and noises become something beautiful, giving them a new life by creating an experience that people can share together in person.  The Barbican recently asked commissioned us to create a new flock of birds for their awesome Digital Revolution exhibition.  Here’s a little tech breakdown of how they work.

image01

In previous versions, the birds were independent, but this time we decided to have a Raspberry Pi at the heart of the installation controlling them all.  This gave us the most flexibility to animate them independently or choreographed them together.

The exhibition is travelling so we wanted the installation to be as easy to set up as possible to so we decided to make each bird talk to the Raspberry Pi over ethernet.  This means that communications are reliable over long distances and each bird is self-contained and only needs a power and data cable connected to it.

The next challenge to overcome was to figure out how to call a bird.  In previous incarnations, each bird included a functioning mobile phone that you could call.  However, as there is no reception in the gallery, we decided to include a different era of phone junk and make people call the birds with a rotary phone from the 1940s.  The system looks something like this…

image03

To make the phone feel phoney, the receiver is connected to a serial mp3 player, controlled by an Arduino that plays the appropriate audio depending on the state of the installation, e.g. dialling tone, bird song etc.  The Arduino also reads numbers that from the rotary dial and if one of the birds’ numbers is dialled it sends it over ethernet to the Raspberry Pi.

The iBirdBrain app running on the Raspberry Pi is written in openFrameworks.  When iBirdBrain receives a number from the phone, it wakes the appropriate bird up and tells it to move randomly.  It then picks an animation created using James George’s ofxTimeline and plays it with some added randomness.  The current state of each part of the bird is sent every frame over ethernet as a three byte message:

Byte 1: Type, e.g. ‘s’ for servo

Byte 2: Data 1, e.g. servo index

Byte 3: Data 2, e.g. servo angle

image02

So the status of the app could be seen quickly without needing to SSH into the Pi we decided to use a PiTFT screen.  To begin with we rendered the OpenGL output of the app to the PiTFT screen, however as the screen runs at 20 FPS this created an unnecessary bottleneck.  In the end, we decided to set the screen up so that it would render the console output from the openFrameworks app.  After that, the app ran at a solid 60 FPS.  Outputting a '\r' character to the console goes back to the beginning of the line, so I used this to create a constantly updating console output that didn’t scroll, e.g.:

cout << ‘\r’ << statusMessage;

The birds themselves each contain an Arduino.  They speak ethernet using an ENC28J60 ethernet module and this library.  To start with I used TCP but running a TCP stack along with all the other stuff we were asking the bird to do, proved a little too much for its little brain so we moved to using UDP as it requires less memory and processor cycles.  An ID for each bird was programmed into the EEPROM of the Arduino.  That way, there only needed to be one firmware for all the birds, the birds themselves would then set all of their data, IP address, peripherals etc based on their ID.

Each bird has multiple parts that are controlled by the Arduino, servos for the wings and heads, piezo sounders, Neopixels and a screen for the face.

Escape III is on display at Digital Revolution until 14th September at the Barbican in London – I’m so excited, I’m going next week!

If you can’t make it, you can see the birds here:

Solar-powered Raspberry Pi school

via Raspberry Pi

I heard about plans for a new Indiegogo fundraiser last week. It launches today, and it really deserves your attention. (And, dare I say it, some of your money.)

Seventy-seven percent of schools in South Africa don’t have any computers – and 40% don’t even have access to electricity. United Twenty-13, a South African non-profit organisation, is looking to bootstrap a new model of solar-powered school computer lab, with the intent of scaling and reproducing the lab all over South Africa.

Taskeen Adam, one of the founders, says: “The fact that you are reading this online means that you already have more computer knowledge than the average South African public school student.” It’s a situation she and her colleagues at United Twenty-13 are making serious efforts to change, with the help of a certain small, affordable, low-power computer.

They’ve already raised sufficient funds for the lab design, for teacher training and for a prefabricated building to house it all in. But they’re looking for additional money to buy hardware (all the software they’re using is open source) – not just the Raspberry Pis and accompanying peripherals, but the expensive solar panels too.

Projects like this, democratising access to computing and access to information, are key in making improvements to local and national economies; and they’re key in empowering and changing the lives of the young people who are exposed to them. We wish the Solar Powered Raspberry Pi School project all the success in the world – you can donate to the project at their Indiegogo. If you’d like a full project brief before you consider donating, you can find that too at www.solarpoweredlearning.com.

Ben’s Raspberry Pi US Tour – August 2014

via Raspberry Pi

Ben here: I’m on the education team at the Raspberry Pi Foundation in Cambridge, UK. As part of our outreach work I’m visiting the USA next month, where I could be visiting your school or hackspace.

Manchester Raspberry Jam

Standing in front of people talking about Raspberry Pi. I’ve been known to do it.

Calling all Pi-thusiasts! I’m visiting in August and if you’d like me to visit your hackspace, speak at your school or check out your community learning space, let me know and I’ll try to fit as many visits in to my trip as possible! Whether your group wants to find out how to get started with Raspberry Pi; or whether you’re seasoned Pi hackers, I’m looking forward to meeting you.

berlin

Once I gave a talk about Raspberry Pi community in a furniture showroom while on holiday in Berlin. True story.

I’ll be arriving in New York City on 4th August and travelling from there to Salt Lake City, visiting as many places as possible on the way in under three weeks. I depart on 21st August.

usa

I’ve set up a form where you can submit your request for a visit. Many US teachers have been asking us for a taste of the sort of things we do at Picademy, for example: now’s your chance. If you’re close to the blue line in the map above, submit the location of your suggested stop and I’ll get in touch if I can fit you into my trip. (If you’re not close to the blue line, get in touch anyway, and I’ll see what I can do.)

Stem-33

The Greater Manchester STEM Raspberry Jam team

I’m very conscious that I might have used words in this post or elsewhere which I know to be spelled incorrectly differently in U.S. English. I apologise.

Picademy 3. A report of some note: and how you can be at Picademy 4

via Raspberry Pi

On Monday and Tuesday this week we ran our third Picademy - two days of free teacher training (aka CPD – it really is free, and there aren’t any catches) - and it was better than ever.

IMG_0220.resized

I told you it was fun! Picademy 3 cohort July 2014

We make Picademy available to attend for free: it’s part of our charitable mission. Teachers of all subjects – not just computing – who want to incorporate computing and electronics into their classroom, are given two days of what we think is some of the best CPD in the world. But don’t take our word for it – if you’re interested in applying for a place on the September course (you should), here’s what the Picademy 3 cohort had to say via Twitter:

Best two days of work based stuff EVER! Cannot recommend Picademy enough.

Picademy was amazing, superb CPD, networking, hands on projects, expert support when needed.

Thank you … for the best CPD, hospitality and the wonderful things we learnt.

Best goody bag ever! I feel like I’ve been to a party. Can’t wait for tomorrow’s session! I am buzzing from Picademy! Thank you to everyone for making it such an awesome experience.

Thanks … for an excellent #picademy. Great networking and workshops! Very inspiring!

I particularly liked the bit where Clive scooted around in a Little Tikes car shouting ‘Hodor!’ to himself.

All of these are completely not made up. Except one.

Lucky bags

Lots of the attendees arrived the night before and stayed in the same hotel, and it’s great to see the social side of Picademy. As well as encouraging collaboration and team work over the two days, it helps maintain the community and network of Raspberry Pi Certified Educators afterwards.

No night out would be complete without Sonic Pi leaflets

No night out would be complete without Sonic Pi leaflets

There’s always a great buzz in the Pi Towers classroom when the group first arrives and opens up their goody bags. (These bags have been certified by independent adjudicators Bag of Tricks Inc to be the best goody bags in the whole world.) But this time we had an ace up our sleeve (and B in our bonnet). Late on the previous Friday, Eben issued the command to replace the Raspberry Pi model Bs in the bags  with the as yet unreleased B+. There was much rejoicing! And this is why, one hour after the new model was announced, the good people of Picademy 3 were some of the first in the world to own and use the new model.

Lots of projects used the ever useful camera board

Lots of projects used the ever useful camera board

Day 1: filling brains with the good stuff

The first day is all about gaining experience and confidence. Workshops on Sonic Pi; physical computing; programming in Minecraft; and the Pi camera board show what can be achieved if you’re willing to have a go and to think differently, and this cohort did not disappoint. I overheard lots of comments like, “This would be perfect in the classroom…”, “The kids will love this…” and “YES! IT WORKS!” It’s an intensive but satisfying day. Teachers who had never used a Pi before were programming in Python, coding music and making LED traffic lights in Scratch. All of these new skills were preparation for the second day, or The Awesome Day of Messing About with Cool Stuff as we like to call it.

IMG_0231.resized

If it was my classroom they’d be sitting boy-girl-boy-girl. Alphabetically.

Dinner is really interesting. It’s a chance for the group to relax and chat, and to process and sort the vast amount of information that they’ve crammed into their heads during the day. So it’s an important part of the course, where ideas are shared and people start to talk about what they were going to make tomorrow. You could already see some of the projects taking shape. It’s an essential and productive hiatus, like letting meat rest after a blast in the oven or outgassing near the surface of the sea after a long dive. (I have just won a bet that I couldn’t mix cooking and diving metaphors in one sentence. Yes, Pulitzer Board: who’s laughing now?)

Day 2: TADOMAWCS

It's day 2 with Carrie Anne!

It’s day 2 with Carrie Anne!

On day 2 everyone split into groups, had a nice cup of tea, did a little happy dance of creativity and then made stuff. This is the favourite day for both the attendees and the education team. There’s no pressure to produce a specific product and everyone gets to work at their own pace and in their own comfort zone. The day is about building skills and confidence, and about sharing good practice.

IMG_0237.resized

What I particularly enjoyed this week was watching and helping those teams that kept plugging away at problems, debugging software and troubleshooting hardware, until it worked (or nearly worked!) This problem solving, creativity and perseverance is at the heart of computing in the classroom and is what makes it special. We also had inspiring talks from Eben Upton, Lance Howarth and Rachel Rayns (Google them—it’s not as if they are called John Smith or nuffin’!)

Babbage being re-purposed. I actually saw Ben Nuttall with a pair of pliers up his bum at one point,.

Babbage being re-purposed. I actually saw Ben Nuttall with a pair of pliers up his bum at one point.

There were some fantastic projects. Twitter-enabled projects were well represented, perhaps because many of the group were keen social media users, and this type of project has a huge appeal to students. One team wanted to do some robotics, so we scavenged an old robot and they repurposed it using a Pibrella—cheap and cheerful but with huge learning potential. We’ll be getting in a variety of motor boards and roboty things for future Picademies. We like robots.

Creative mode

Creative mode

This cohort has already impressed us with their continued collaboration and engagement via Twitter, our forums and their blogs. We know that some of them have gone back to school and are already changing things for the better, for instance by running CPD events, writing resources and setting up their classrooms to teach computing effectively. Thanks to you all for coming, you have earned your Raspberry Pi Certified Educator badges!

Kelly receiving her RPCE badge from Eben. It was all downhill from here.

Kelly receiving her RPCE badge from Eben. It was all downhill from here.

Picademy 4 applications now open

So it was a fantastic couple of days again and although it’s tiring for the RasPi education team at the time we never get tired of doing it. The next Picademy is in September 2014  where you are guaranteed free, world class CPD; expert support; essential skills and practical ideas to take back to your classroom. And lots of fun. (We also guarantee that you will not get: encyclopaedic PowerPoint printouts; curly, mild cheddar butties; tedious talks; or role play (well, perhaps a tiny bit of the latter. It’s the CPD law.)

Picademy 4 will look favourably on applications from teachers in the South West of England. We’re very aware of regional accessibility to training and support, and so occasionally we will focus on specific regions. So if you are a teacher in the South West, we would love to have you here. This does not mean applications are open to teachers in the South West only! Please apply wherever you are.

I cannot believe that you are still here reading my brain-drool. Apply now – and good luck!

Rickmote: Rickrolling Chromecast users

via Raspberry Pi

The Raspberry Pi is a favourite tool of security researchers, and we’ve seen a number of demonstrations of how important it is to secure your devices against attack that use it. (I got stopped in the queue for the cinema last week by someone who recognised me from this blog, and has been working in penetration testing with the Pi for a couple of years; the conversation I had with him was much more fun than the movie turned out to be.)

Bugs in commercial software are open to exploits, and I have yet to see an exploit more enjoyable than this one, which takes advantage of a bug in the way Chromecast recognises wifi.

Under normal use, the Chromecast can be sent a deauth command that disconnects it from wifi. But there’s a bug: when the media player is kicked off the local network it enters a config mode and becomes a wifi hotspot – waiting for machines nearby to connect with it and send it a new configuration.

Which is enough to make you feel let-down, and to make you cry and say goodbye, quite frankly.

This hack is the work of Dan Petro, a whitehat at security consultancy Bishop Fox. He’s using a Pi, a couple of wifi cards and a touchscreen – along with Aircrack (open-source WEP and WPA-PSK-cracking software). It takes the device about thirty seconds to connect, take over the network and get Rickrolling; and, of course, it has to be within wifi range. You can watch a video presentation from Dan that goes into much more depth about the project on YouTube.

Rachel, our Creative Producer, has a Chromecast. I plan on building a Rickmote and hiding on her balcony.

 

New product launch! Introducing Raspberry Pi Model B+

via Raspberry Pi

Meet your new favourite piece of hardware.

In the two years since we launched the current Raspberry Pi Model B, we’ve often talked about our intention to do one more hardware revision to incorporate the numerous small improvements people have been asking for. This isn’t a “Raspberry Pi 2″, but rather the final evolution of the original Raspberry Pi. Today, I’m very pleased to be able to announce the immediate availability, at $35 – it’s still the same price, of what we’re calling the Raspberry Pi Model B+.

You're a handsome devil; what's your name?

You’re a handsome devil. What’s your name? (Click to enlarge!)

The Model B+ uses the same BCM2835 application processor as the Model B. It runs the same software, and still has 512MB RAM; but James and the team have made the following key improvements:

  • More GPIO. The GPIO header has grown to 40 pins, while retaining the same pinout for the first 26 pins as the Model B.
  • More USB. We now have 4 USB 2.0 ports, compared to 2 on the Model B, and better hotplug and overcurrent behaviour.
  • Micro SD. The old friction-fit SD card socket has been replaced with a much nicer push-push micro SD version.
  • Lower power consumption. By replacing linear regulators with switching ones we’ve reduced power consumption by between 0.5W and 1W.
  • Better audio. The audio circuit incorporates a dedicated low-noise power supply.
  • Neater form factor. We’ve aligned the USB connectors with the board edge, moved composite video onto the 3.5mm jack, and added four squarely-placed mounting holes.

If you’re interested in precise measurements, or want to find out what the new GPIO does, check out the diagrams below.

Raspberry Pi B+ mechanical specs

Mechanical specs: you’ll want to look at these if you’re building cases or other housing. Click to enlarge.

Model B+ GPIO diagram

GPIO diagram – there’s a lot more to play with now! Click to enlarge.

We think you’re going to love Model B+, but to ensure continuity of supply for our industrial customers we’ll be keeping Model B in production for as long as there’s demand for it.

The B+ is available from this morning from many of the regular Raspberry Pi stockists. If you want to go direct to our two main manufacturing partners, you’ll find it at Farnell/element14/Newark here, and at RS/Allied Components here.

A few of our friends got their hands on a Model B+ on Friday, and have been playing with it over the weekend. Here’s what they had to say:

 

MagPi issue 25 – out now!

via Raspberry Pi

For your weekend reading pleasure, here’s issue 25 of the MagPi! Published just yesterday, the latest issue of everyone’s favourite free, monthly, community-produced Raspberry Pi magazine is as full of fantastic stuff as ever.

The MagPi issue25

Click to read The MagPi!

The cover story is one that’ll definitely get some attention in our house this weekend: it’s a full Python simulation of the Pocket Enigma Cipher Machine, a cleverly devised toy that demonstrates some of the principles of a real Enigma machine like the one many of you will recognise in the cover photo. Used by the German armed forces during World War II to encipher messages, these used rotating disks to achieve a sophisticated substitution cipher; the Pocket machine, and its Python simulation, use two disks to arrive at a fun, if not exactly unbreakable, cipher.

We’re delighted to see an article by Andrew Suttle, the MagPi’s youngest guest writer so far. Andrew reviews the Fish Dish, an easy-to-build add-on board aimed at beginners, which he has tested with ScratchGPIO and Python. Also aimed at beginners is a new series on learning BASIC, which opens this issue with the kind of background that has most of Pi Towers sighing wistfully and exchanging anecdotes about our childhoods.

There’s the second half of a two-part article on understanding networks and network analysis tools, an introduction to electronic measurement with Raspberry Pi and BitScope Micro, a background piece by one of the creators of the Navio autopilot shield which the many backers of its successful Indiegogo campaign will be eager to read, and — another personal favourite — a tutorial on building an iPad/iPhone control panel for Raspberry Pi with RasPiConnect, taking the wonderful MouseAir deluxe automated cat toy as its example.

As usual, there’s so much here that I can’t mention even half of the articles, tutorials and reviews you’ll find here for beginners, advanced users and everyone in between. Download your copy now!

Bare-metal Tetris duel

via Raspberry Pi

A couple of weeks ago, we featured a first-year undergraduate project from Imperial College in London: a bare-metal port of StarFox to the Raspberry Pi. It’s stupendously good; even more so when you realise that the people behind it are 18 and 19 years old.

I discovered that a second group from the very same class has another bare-metal doozy of a gaming project running on the Pi: head-to-head Tetris.

The team says you’re seeing:

- 4000 lines of documented ARM assembly code
- Optimised driver for a NES controller connected via GPIO
- Asynchronous networking for two Pis connected via GPIO
- Doubly buffered rendering logic for HDMI output
- Custom ARMv6 assembler written from scratch in C (released as binary only)

What’s in the water down in South Kensington? I don’t think we’ve seen this much assembly language since … this time last year, when we found an Imperial College bare-metal chess project.

Everything you need to replicate the Tetris setup is available on GitHub. Thanks to Han Qiao, Piotr Chabierski, Michał Sienkiewicz
and Utsav Tiwary for a really lovely piece of work.

Hamster Party Cam

via Raspberry Pi

As you may have heard, the Boardroom at Pi Towers contains a wall covered in the poster competition entries from before Christmas 2013. We hold all our meetings in this room, and even run workshops in it during Picademy. It’s also fairly common knowledge that I have a short attention span, and that on occasion when I’m in the boardroom (I’m not going to admit how often in case Lance or Eben reads this!) I find my gaze and mind wandering over to that wall and I wonder if I can make any of those imagined Raspberry Pi project ideas a reality.

One of the most striking of the posters has the catchy title of Hamster Party Cam. Upon further reading, the designer of the project, Violet, aged 6, tells us that…

Hamsters are nocturnal, which means that they sleep in the day time and come out at night. This means that when you are sleeping, your hamsters are up and about and when you are up and about, your hamsters are sleeping!

Violet makes a convincing argument. We need to know what those hamsters are doing when we are sleeping. We have our suspicions, Violet and I, that they are partying… like animals (small ones). So with my trusty Raspberry Pi, Camera Module and Pibrella, I set forth to make the project a reality.

Violet's poster in situ

Violet’s poster in situ

Hamster Party Cam is designed to avoid interfering with the habitat of hamsters, as every pet owner has a duty of care for the wellbeing of their creature. It uses a reed switch and a magnet on the hamster wheel as a trigger that when detected by the Pibrella, starts an LED disco light show, plays an mp3 (hamster dance) to a connected speaker, and takes a photo with the Pi Camera module.

hamstercam1

Hamster Party Cam setup

Not having an actual hamster to test my creation on was a bit of a hurdle, but I managed to acquire a hamster cage from Emma, our office manager, nesting material from the shredder, and a toy hamster from the internet, which Gordon lovingly named “special patrol group”. As you may have seen from twitter, the entire office ended up getting behind the project and going a little hamster mad. Liz even suggested getting a real hamster for the office as she was really unimpressed with the toy one! Here is a picture generated by the hamster party cam system:

Special Patrol caught in the act of partying with hamster party cam

Special Patrol caught in the act of partying with hamster party cam

If you would like to make a similar project to detect your pets movement and take pictures of them then take a look at our new Raspberry Pi Learning Make resource, Hamster Party Cam, here. Take it, remix it, and make it even better!

Steer a car. With cheese.

via Raspberry Pi

Building your own remote-controlled robot or car is a favourite activity for kids who are using a Pi to learn about programming and electronics.

But this is the first one we’ve encountered that interfaces with a remote control made of cheese.

We absolutely love MaKey MaKey here at Pi Towers: it’s a kit that enables you to use any conductive objects in place of keypresses or switches, and there is little more engaging when you’re a kid than being able to build inputs out of things you’re more used to eating for dinner. I think this setup is a considerable imaginative leap forward from the standard bananapiano. I am not knocking bananapianos. Bananapianos are great. But it’s the canonical MaKey MaKey project, and so many people stop there, when there’s a whole world of conductive objects out there; and a whole world of things to make them control.

Like cheese. And tiny cars.

This is the work of Conor O’Neill, who wanted to do some family electronics his kids would enjoy. You can read a great writeup of his project on his website, with all the code you’ll need, and thoughts on where he wants to take the project next.

We salute your greasy forefingers, Conor and kids.

Node.js on the Arduino Yún via the Bridge library

via Arduino Blog

ArduinoYun

Tom Igoe some days ago wrote an interesting post about Arduino Yún on his blog.  We post it here as it could be useful to the Arduino Community.

————————–

Recently, Federico Fissore added node.js to the package repository for the Arduino Yún. Here’s how you get node to communicate with the Arduino processor on the Yún via the Bridge library.

To do this, you’ll need an Arduino Yún, a microSD card, a microUSB cable and a wifi connection. You should be familiar with the basics of the Arduino Yún and node.js in order to get the most out of this post.

All of the code for this post can be found on my GitHub repository.

First you’ll need to install node on the Yún. Make sure you’ve upgraded to the current Yún software image and have connected to the internet via wifi. Then ssh into your Yún, or connect to the command line interface using the the YunSerialTerminal sketch, and issue the following commands:


$ opkg update
$ opkg install node

That’s it. Now you have node.js onboard. You can check that it’s okay by checking the version:

$ node -v

You should get the version number in reply.

Once you’ve got that working, you’ll undoubtedly want to communicate with the Yún’s Arduino processor from node. You can do this using the Bridge library. On a microSD drive, make a directory for your node scripts. I called mine /arduino/node. Then insert it into your Yún. For reference, its path from the command line is /mnt/sda1/arduino/node.

Note: The Yún automatically treats the microSD card’s /arduino/www/ directory as a public web directory. Anything you put in there will be served out as static HTML. So you may not want to put your node scripts in this directory, so they’re not visible via the browser. That’s why I created a node directory at the same level as the www directory, but outside it.

Read the complete post at this link>>

The CamJam EduKit – basic electronics for £5!

via Raspberry Pi

Liz: I wasn’t at the Cambridge Raspberry Jam this weekend: I was working in Manchester on Friday, and then became an aunt that evening (congrats Katie and Ben!). It meant I missed a special announcement: so I’ve asked Mike Horne, king of the CamJam organisers, to fill everyone in with this guest post. Over to you, Mike!

From little acorns…

We realised after the May Cambridge Raspberry Jam that we now had a good stock of workshop material, and began to think of ways to use the material away from the Jam. After all, educational material isn’t much good if it isn’t in the hands of people who might use it.

Liz Upton

Liz sells Pis at a previous CamJam. If you want to meet people from the Foundation, the CamJams are the place to be.

At the May Jam, we ran a basic electronics workshop – you know the sort of thing: LEDs, switches and buzzers…and we wondered if we could create a kit with the necessary bits and bobs. People could buy the kits, then download the worksheets and teach themselves.

Around that time, Jamie Mann from The Pi Hut came
to us with the exact same idea – use the CamJam material as the basis for kits. And so, a partnership was formed to bring the idea to fruition. Jamie was in charge of procurement and assembling the kits, Tim would write the worksheets and Mike would test them
out.

Eventually, we came up with a name and the “CamJam EduKit” was born.

CamJam EduKit

The CamJam EduKit is priced at £5 and comes with everything you need to have fun with basic electronics projects, including a project tin to keep it all in! We hope that this low price point will allow the kit to appeal to both families and education.

If it is successful, there will be more kits, the first of which is likely to use sensors to detect temperature, light levels and movement.

We hope that the CamJam EduKits will be used to further the Raspberry Pi Foundation’s educational aims and to get kids started not only with electronics but with Python programming as well.

Profits from the kits are going to be donated to the Cambridge Raspberry Jam, so we can continue to develop our educational programme.

You can buy the EduKit from The Pi Hut via the CamJam site, and you’ll find the accompanying educational material on the same page. All the material is free to download, so if you want to take a look at it beforehand, go right ahead!

Michael Horne (@recantha), Tim Richardson (@geeky_tim)
& Jamie Mann (@ThePiHut)

PiGrrl

via Raspberry Pi

Adafruit’s 3D Thursday series is getting us terribly excited every time they roll out a new project with a Pi in it. Yesterday’s was a doozy: so much so that the engineering team stood around my desk and made puppy-dog eyes and sighing sounds at me until I agreed to email LadyAda and beg a demo sample of the project from them. (She says she’s sending the pink one, Gordon, just to punish you for being so demanding.)

Meet the extraordinary PiGrrl, a home-baked Raspberry Pi clone of the Game Boy.

If you don’t think that’s the best thing ever, you’re dead inside.
As always with Adafruit projects, the PiGrrl is documented minutely; you can find a complete tutorial on their website, along with files for the 3d printer at Thingiverse. This is one of the more complicated builds we’ve featured, but we think the results speak for themselves

LadyAda says: “Woohoo!” After careful consideration, so do we.

Internet of Things toilet

via Raspberry Pi

There are many things that happen in my bathroom which I wish to keep private. But over at Instructables, member e024576 (about whom all we know is that he’s male and aged 59 – judging by the accent he uses in the video below when he runs out of loo-roll, he’s also from somewhere in the lower half of the USA) has been able to power through any bathroom-related shame to work out what toilet events can be usefully hooked up to the cloud without causing any personal embarrassment, all with the potential for making your toilet experience smoother, more environmentally friendly and less fraught with worry that the paper might have run out.

Why? Because he can.

Flushed with success

Flushed with success

I still wouldn’t use e024576′s loo, but that’s just me.

e024576 says:

How does it work? – An aquarium liquid level sensor float switch detects toilet tank level; flushing lowers the level closing the switch. A photo cell located in socket (blind hole) of the toilet paper holder spindle mounting arm detects when the spindle is removed to change out the toilet paper (letting light hits the photo cell, thus “closing the switch”).

Signals from these two sensors are sent (wirelessly – despite what the intro photo implies) via a hacked two button key fob; that is, sensor switch closure effectively pushes a button. A 315 MHz receiver module connected to a Raspberry Pi receives switch closure signals.

The Raspberry Pi, using Python API gspread, transmits the event data to Google Drive spreadsheet.

See system layout image.

How hard and how much $ ? – Assuming you already have a Raspberry Pi, and you know how to load and run Python programs, and can build basic electronic circuits – this is pretty easy & quite inexpensive (< $40) IoT (Internet of Things) project.

Why do this? – (1) To explore IoT on the cheap, and (2) because I can.

Here at Pi Towers, everybody is shouting about their own improvements to the system – which start with working out how to signal that the toilet paper is about to run out *before* it actually does. Someone who will not be named suggests encouraging the saving of water with a display that flashes “If it’s yellow, let it mellow. If it’s brown, flush it down.” And we think that electrifying the handle would be a great prank - combined with OpenCV, perhaps, so the toilet could give out worse shocks to people whom it doesn’t like. The possibilities are endless.

If, for no particular reason I can make out, you want to try to emulate this project yourself, you can find full instructions over at Instructables. Thanks e024576 – if you get in touch to let us know what your real name is, we’ll add it to this post!

The big flashing DevOps thing

via Raspberry Pi

Greg Cope mailed us a few weeks ago with a pointer to this project, which has been monitoring DevOps at the Financial Times (FT) here in the UK.

SAWS-assembly

It’s hard for everyone in the group to simultaneously maintain an overview of the health of the stack under normal circumstances. They use Nagios, a great piece of kit with one fatal flaw: Nagios emails everybody on the team every time a check changes state. Checks change state all the time, and that many emails causes the FT team to enter a state where absolutely none of them reads emails from Nagios, because they clog up their inboxes.

Silvano Dossan, who works on the team, says:

Our Nagios servers have been configured to check every important parameter, from basic disk and CPU  checks to HTTP, application, database and jconsole via Jolokia. All we need is some way to communicate clearly when a check fails.

nagios emails

The team rejected shared office displays in the form of monitors (too much text, too hard to read from a distance). They also rejected a particularly horrible idea whereby a single team member would be allotted the task of staying alert and monitoring all Nagios’ mails for the week, feeding back news of any disasters to the rest of the group. Sounds horrific.

Silvano sat back to think about exactly what they needed and didn’t need from alerts.

None of the above satisfied our needs. Something is missing. When something fails I want an alarm bell, a siren, or a flashing light that is so bright my eyes explode. A warning system that is in everyone’s face. No escape. There should be no excuse for anyone to not know when something in the stack has broken. “What do you mean you didn’t know the site was down, there is a mongoose running around the office!”

Introducing SAWS ! “Silvano’s Awesome Warning System”.

Well I did spend my evenings and weekends making this so forgive me the naming it after myself.

JAWS poster with SAWS title

Rejecting the mongoose idea, Silvano bought a strip of something called Blinkytape (having looked at their website I’m off to buy one myself when I’m done writing this): a flexible strip of 60 RGB LEDs, with a microcontroller already embedded in the strip. Using a Raspberry Pi and a lot of glue and sticky tape, he produced a perfectly simple, unmissable display to demonstrate the health of the stack.

lit led strip

Silvano says:

A good monitor system should display the health status of the stack to as many people as possible in as simple format as possible. The more people that know the health state of the stack, the better chance of someone picking it up and resolving the issue quickly.

SAWS simply shows by grouping LED’s if each Nagios server has an error. Green, orange, yellow, red and flashing red LED’s representing OK, Unknown, Warning, Critical or Critical for over 30 minutes. Blue LED’s swoosh back and forth like a Cylon to indicate the python script is running and the data is up to date.

It’s an ingenious solution: and it works. There can’t be a cleaner stack in the country, now SAWS is in place, and the team have been incredibly enthusiastic about the change. You can read more about it over at Engine Room the FT’s tech blog; and Silvano has made all the code available at GitHub.