Create your own J.A.R.V.I.S. with Jasper and the #RaspberryPi

If you’ve ever wanted to replicate Tony Stark’s J.A.R.V.I.S., you can be well on your way with this project.

Shubhro Saha and Charlie Marsh from Princeton University have developed an always-on voice-recognition-and-response system called Jasper. It recognises it’s own name and commands you give to it verbally and then speaks aloud a response.

They’ve created a lovely website for it at http://jasperproject.github.io/ where you can find out how to build your own Jasper and download the code. There is even documentation for how you can extend Jasper for your own uses – it’s all written in Python so it would be pretty simple to modify.

Find out more about Jasper here or watch their video below:

New #RaspberryPi Camera Module tutorial series

The Southend-on-Sea based “Average Man” is doing a new tutorial series on the operation of the Raspberry Pi camera module. His first tutorial is all about connecting the camera to the Pi and is ideal for anyone who has just got, or is thinking of getting, the camera. He’s even done a video of the operation (see below). You can start reading his tutorial series here

Great review of the FUZE – #RaspberryPi in a keyboard case

Drew Buddie is head of computing at the Royal Masonic School for Girls in Hertfordshire, UK.

He’s been loaned a FUZE – the black-and-red keyboard/case for the Raspberry Pi. As I’ve previously said, I’ve got a lot of time for the FUZE as it’s retro-styled and functional and gives teachers a real alternative to plugging everything in to the Pi when they want to use it.

Drew has written a glowing review of the FUZE (and has since bought one himself) so go here to read it.

#RaspberryPi Compute Module announced

This must be the ultimate in well-kept secrets.

The Raspberry Pi Foundation has today announced the launch of the Raspberry Pi Compute Module. Aimed at commerce/industry, rather than education or hobbyists, the Compute aims to give users the Raspberry Pi package of memory and main processor in a smaller form factor that can be embedded into systems rather than used standalone. Instead of an SD card, the operating system can be flashed to a 4GB eMMC that is embedded on the board.

They have also announced the (open source) Compute Module I/O Board which contains the DDR2 SODIMM socket to house the Compute module and breaks out all the pins to handy headers and ribbon cable slots. It also exposes the HDMI socket and single USB port.

What this means for hobbyists I don’t know. Clearly hobbyists will buy them, because we’re geeks and we love new tech, but I doubt it will replace the Pi in the short-medium term. For industry, there are clear benefits – form factor is small but the power of the platform is still available. What will also be interesting to see is how much of a side-industry is created for the board – more cases, I/O boards are obviously all on the cards. For existing Pi owners, it doesn’t mean anything very much as the two can’t be used together (at least not in an obvious way like the CSI camera or DSI screen) but for hobbyists it could open up a new world in experimentation with more I/O pins to latch onto.

In terms of getting hold of the new board(s), RS and Element 14 are expecting them in stock in June. They will initially be sold in batches of 100 at $30 each but I expect this will soon drift outwards to individual resellers sometime soon after at a higher price.

Read the official announcement here

Seven Segments of Pi in the classroom (Part 5)

Another guest post from Nevil Hunt, creator of the Seven Segments of Pi

FromJamboreeToCamJam_Banner

Last week I talked about some of the practical barriers to using the Raspberry Pi in the Classroom with many teachers believing they needed to upgrade their monitors to HDMI at the cost of £££ not realising that if their existing monitors support DVI all they needed was an adapter cable. Or, as is the case with many schools, they were thinking…

”Yes! …but all our monitors are VGA!”

 …all they needed was an HDMI-to-VGA Adapter!

HDMI-to-VGA

This week I will look at how I developed a more comprehensive set of Software Challenges (and ordered a couple more Raspberry Pi’s) so I could run Raspberry Pi Workshops in Schools in a Blog entitled…

”What can you do with just Seven Segments?”

In my role as a STEM Ambassador I had been asked by Kennet School in Thatcham to run a couple lessons for their GCSE Electronics pupils. When I worked for…

Panasonic_Logo

 …in Thatcham about 10 years ago I was part of the Panasonic X70 Mobile Phone …

x70_1

…design team, so I took along a number of old Panasonic X70 mobile phones for them to dismantle to help them understand the electronics inside. I asked if the school were doing anything with Raspberry Pi’s. I was told that Mel Poyda, Head of ICT was thinking about buying some. It just so happened that I used to work with Mel at 3Net, but hadn’t realised she had gone into teaching! I discussed my ideas with her and we decided to run a pilot after-school Raspberry Pi Workshop for a group of her Year 8 pupils. I ordered 2 more Raspberry Pi’s and decided their first software task would be to make the Seven Segment Display act as a Dice, a…

PiDice

The pupils had never written any software before but were keen to learn! I didn’t explain any of the syntax rules of Python, I just said “look at the starting software that counts 1,2,3 on the Seven Segment Display (See Blog Part 3) and try and work out how by copying and modifying it you can make it count to 4.”

“Now make it count to 5.”

“Now make it count to 6!”

I then gave them this example Python program to generate Random Numbers

SevenSegmentsRandom

…in which I had highlighted in yellow the lines they would need to add to their program to generate the random numbers needed for a PiDice.

The Workshop went well! Within 2 hours the 9 pupils, working in 3 groups of 3, each had a working PiDice!

At the next workshop their second software task was to make the Seven Segment Display act as a StopWatch, a…

PiStopWatch

This introduced Sound Effects

MusicalNote

(which worked after I resolved a small technical glitch which I will talk about in a later Blog entitled “Doh! There’s no sound!”)…

…and State Machines…

StateMachine

…to control the flow of the program.

This task was a bit more demanding and took two Workshops to complete!

From the PiDice they now knew how to write Python for:-

  • GPIO as Inputs
  • GPIO as Outputs
  • Time Delays
  • Random Numbers

And from the PiStopWatch they now knew how to write Python for:-

  • Sound Effects
  • State Machines

They now had the software skills needed to write their first computer game…

Figure_Eight_My_Pi_without_Graphics

Next week I will describe how I made a PCB for the Seven Segment Display creating the “Seven Segments of Pi” – possibly the simplest games console in the world! And showed the pupils…

”Soldering is fun!”

If you are interested in learning more about the Seven Segments of Pi visit my Web Site www.SevenSegmentsOfPi.com or watch the “Seven Segments of Pi” YouTube Video. You can also watch Carrie Anne Philbin playing “Figure Eight My Pi” at the CamJam, courtesy of Alex at RasPi TV.

NevilHuntPhoto_QuarterSize

Nevil Hunt

Innovations in Education