A busy few months

I know you guys love hearing about what I’m up to so here are a few fantastic events that I’ll be appearing it either running workshops or giving talks – it’d be great if you could come along and join in the fun!

Firstly, this weekend I’m taking the pi-top Champions to The National Museum of Computing and Bletchley Park museum for a weekend of training and fun – the most exciting thing about it is that on Sunday 19th the Champions will be running workshops in the National Museum of Computing, showing off exactly why we chose them – I’m so excited about this weekend and hope some of you can join and bring your kids along to what will be an incredible day of opportunities. Let us know you’re coming by signing up here!

tnmoc-logo_3

I’m really excited about the Champions day as I feel like we’re bringing together some of the best of the best when it comes to running workshops, training and all things Raspberry Pi – we’ve picked an amazing team of people for our Champions and I can’t wait to share further details with you all!

I’m looking forward to joining Nic Hughes at the London CAS conference on Saturday 25th February. Nic and I are working together with him leading a Crumble workshop and me leading a Physical Computing Raspberry Pi workshop. It’s always good fun working with Nic and we’re looking forward to inspiring some teachers to innovate their computer science classrooms.

Raspberry Pi is celebrating it’s 5th year at the Junction in Cambridge on 4th and 5th of March and I’ll be there both days and doing a talk on the importance of teaching children to code on Saturday 4th at 1.30. The birthday party is always a great fun community event and tickets can be bought here.

Throughout March and April, I’m running workshops through pi-top for a number of great charitable groups such as STEMSussex, BECSLink and London CLC which will be great fun and I’m hoping to be able to do something for International Women’s Day on 8th March.

</edit> I forgot to mention my own event – Coding Evening for Teachers, in Twickenham on Friday 24th March – tickets are here.</edit>

At the end of March, I’m VERY excited to be attending three incredible events – first up, the NAACE conference in Leicester (28th-29th March), where I’m running not one, but TWO break out sessions – one for pi-top and one talking about the amazing Active Lit as a tool for writing text adventures. Looking at the speaker list, I have a feeling this is going to be a very exciting event and it seems that the people at NAACE are really determined to make it a very successful couple of days.

Next up is PiWars in Cambridge – I’ve always been a big fan of Mike Horne and Tim Richardson, especially their really helpful CamJam EduKits for teaching physical computing with Raspberry Pi so I was incredibly honoured to be asked by them to be a judge at PiWars, an event so popular it’s had to extend to cover two days instead of just one! The blurb for the event describes it as:

logo-v2-rgb-sm

Pi Wars is a challenge-based robotics competition in which Raspberry Pi-controlled robots are created by teams and then compete in various non-destructive challenges to earn points. There are prizes awarded at the end of the day. Last year, we had teams from schools, families and groups of hobbyists and 30 of these teams competed for a full day of robot fun and games! Pi Wars takes place in Cambridge, UK and is open to anyone from around the world. It is run by the same team that organises the Cambridge Raspberry Jam.

How much fun does that sound? There are still spectator tickets available if you want to bring your children or even your class up to inspire them to create their own robots and one of the two days is dedicated entirely to schools and youth groups!

Following on the heels of PiWars is ATI 2017 in Malvern. Primarily an Apple event, this year ATI has extended to include some more general computer science skills, particularly Raspberry Pi and the lovely Joe Moretti asked me to suggest some workshops. I feel like a bit of an interloper seeing my name surrounded by some of the big names in Apple Education, but I’m really excited about offering some Physical computing and Minecraft hacking information for some teachers, most of whom will be completely new to Raspberry Pi and then entire Pi ecosystem. ATI looks like n exciting event and I know that the other presenters are all incredibly inspiring so I’m really glad to be part of the team – there are still tickets available and it’s worth going along just to meet people like Joe, Mark Anderson, Catherine Jessey and Jon Neale, all of whom I’ve seen present before and know are incredibly inspiring!

c4n_svmwaaa5kgf-jpg_large
Photo credit – Mark Anderson @ICTEvangelist/ATI event page

You’d think that’d be enough events, but no… in May, I’ve been invited by the STEM Centre in York to run a ‘Scratch Roadshow‘ taking sessions to Truro, Bristol, Swindon and Reading. This will be an intro to Scratch for primary school teachers who want to build their confidence a little – the best thing about it is that there is a bursary which makes the training completely free so it’s well worth letting your local primary school know if you think they could do with a boost!

Anyway, there are more events later in the year, but that will do for now! I hope you can come along to some of these events and please do come over and say hi – I love meeting you all ‘IRL’. And remember – if you can’t come to any of these events but are still interested in the type of training I can do, please drop me an email cat@crossover.solutions – I offer workshops and CPD training bespoke to your school or group’s needs!

 

Shakey Sense Hat Cat

After Sunday’s coding session, I set the boys the task of making our Scratch Sense Hat Cat Shake, just like Carrie Anne’s Interactive Pixel Pet.

The first thing the boys did was to figure out how to use some of the sensors on the SenseHat – remember how in my other post, I said it was good practice to run the basic broadcast command before you do anything.

screen-shot-2017-02-12-at-19-33-46

We had found some code from Albert’s GitHub page, however, when we tried to select the sensor value for accelerometer, we only had a few choices as shown below.

screen-shot-2017-02-14-at-12-40-30

screen-shot-2017-02-14-at-12-35-53

Luckily, after trying a few things, I suggested that we hit the green flag to check that the GPIO pins were on and that Scratch knew we had a SenseHat attached. When we next checked the sensing options a while heap of new options appeared, including the accelerometer (sorry, I forgot to screenshot it).

The boys had great fun playing with the sensors, but couldn’t quite figure out how to get the ‘shake’ function working so they went back to the original code for Interactive Pixel Pet.

x, y, z = sense.get_accelerometer_raw().values()

while x<2 and y<2 and z<2:      
    x, y, z = sense.get_accelerometer_raw().values()

This is what they come up with:

screen-shot-2017-02-14-at-12-49-01

A job well done, if I do say so!

Now, I’m sure some of you have spotted that I could neaten up my code by removing the ‘ledbackground’ line and that ‘clearleds’ would be better suited to the end of the repeat loop as that would leave me with a completely blank neopixel array at the end of the animation sequence, but otherwise I’m pleased with our work in recreating the pixel pet for Scratch.

I look forward to trying out some of the other sensors using Scratch in the future!

 

Sense Hat Cat using Scratch

So, I absolutely LOVE the Interactive Pixel Pet activity from the Raspberry Pi website, and while I was playing with the Sense Hat the other day, I realised it was possible to imitate it using Scratch. So far I’ve only got it running as an animation, so next step is to get the shake function working as we’ve just figured out how easy it is to use the other sensors on the hat using Scratch.

I had a play and managed to get a very cool dancing cat on my LED matrix – I’m not going to lie, I was super excited and may have run around showing everyone in a slightly excited manner. Fortunately, my colleagues were also excited, although their contributions of dancing ‘poo emojis’ weren’t quite what I had in mind.

screen-shot-2017-02-12-at-19-33-04

Here’s a bit of background on the Sense Hat… for those of you who don’t already know, the Sense Hat was created by the Raspberry Pi Foundation and launched as Astro Pi – a competition to get your pupils’ code into space. It has an 8×8 neopixel array, a mini joystick and a load of amazing sensors like humidity, pressure, gyroscope and accelerometer.

So, the first thing you always need to remember when using Scratch GPIO is that you have to turn on the GPIO server on and, if you’re using a hat, you’ll need to let it know which hat it is by using the command “set AddOn to”.

screen-shot-2017-02-12-at-19-33-46

This is pretty important for anything using the SenseHat and it’s good practice to run it before you go any further in your code as by running it, Scratch will realise you have access to all of the sensors on the hat and allow you to access them through the drop down menu in the blue ‘sensor value’ block.

Firstly you will need to delete the Scratch Cat so that you can draw you own sprite.

screen-shot-2017-02-12-at-19-34-06

In the paint editor, you need to zoom right in as far as you can and select the smallest brush size.

screen-shot-2017-02-12-at-19-34-36

You have four squares in total to draw your image – I’ve shown this here by making the area black (you don’t need to do this, but it can help as ‘black’ represents the neopixel being turned off).

screen-shot-2017-02-12-at-19-35-16

Now you can draw your image – you have exactly 64 pixels to draw with and, as you may have guessed, one pixel on the screen represents one neopixel on the sense hat. By the way, a neopixel is a very bright LED which can be any colour depending on the mix of red green and blue. The lighter your colour, the brighter it will appear on your neopixels so try to avoid dark browns and blues etc.

screen-shot-2017-02-12-at-19-35-42

Next you need to create a second image – you need to use the duplicate command to create a second version of your image.

screen-shot-2017-02-12-at-19-36-05

Then click on the costumes tab to be able to edit it a little bit so that you can make your second sprite slightly different, thus giving the appearance of animation.

screen-shot-2017-02-12-at-20-04-20

Finally, you need some simple Scratch code to get your image moving – I’ve put a couple of broadcast commands in here to clear the SenseHat before you start and to make sure that the background is black (so turned off).

screen-shot-2017-02-12-at-19-36-38

You can experiment if you want by changing the background colour, although this will only make a difference if your sprite is ‘backgroundless’ (but you have to make sure it’s still only 8 pixels/2 squares wide).

screen-shot-2017-02-12-at-20-11-12

I’ve had great fun recreating this project in Scratch and I’ve set Stuart and Kirk on a mission to figure out the ‘shake’ control too so hopefully I can add an update soon.

<edit> Kirk and Stuart have successfully managed to get shake working and are now celebrating with chocolate cake

img_0908

</edit>

Part two of this project can be found here.

All thanks to Albert Hickey for his advice with this project – he is a Scratch and SenseHat guru!!

Watch this space for some more projects using Scratch soon!

Etcher -the BEST tool ever for burning OS to SD cards

A couple of years ago, I wrote a post about burning SD cards on a mac… but I’m not gonna lie, I found it quite difficult to do. You can imagine my delight, when someone at work suggested I try Etcher near the end of last year. What a fantastic app for making burning SDcards easy!

Just a reminder – when you’re using a Raspberry Pi, you need to install an operating system on your microSD card. Most Pi users install Raspbian, however, I’ve been using pi-topOS a lot for work. Installing an OS usually requires wiping the SD card manually then using clumsy software or even accessing the command line to install the new OS. Whereas with Etcher, you get clear feedback on process in a very easy, visual way.

Etcher is available for Windows, Mac and Linux, it is free to download and easy to install.

Screen Shot 2017-01-31 at 14.57.50.png

On my old MBA I had a lovely SD card slot so it was REALLY simple for me to use – literally I downloaded the latest version of Raspbian or pi-topOS, put the SD card in, select the downloaded file (no need to extract the file, just use it as is), select the SD card and Flash!

Check out this gif from the Etcher website – it really is that simple!

product.gif

So… one peril I found was in my own stupidity.. I nearly flashed my USB stick instead of the SD card, only noticing at the last minute that the drive I’d selected was too big to be an 8GB SD card…

I’m sure you can turn it off, but Etcher automatically verifies the SD cards its burning, which does double the time it takes the burn an image. However, I found it used very little processor power and I quite often had SD cards burning in the background while I got on with my other work, which meant that by the end of the day I’d burnt a fair few SD cards to be workshop ready (I’m OCD, I like things to be prepared).

Seriously, I can’t fault Etcher, it has a fantastic interface, it’s easy to use, you don’t need to pre-wipe the SD cards, you just pop them in a burn away – so, so easy!

Good luck and enjoy!! Now… how do I burn SD cards on my new MBP??

 

A Strange Experience – Being on the Other Side

Since I’ve been working for pi-top, I’ve experienced being on the other side of the EdTech system and it’s certainly been a bit of an eye-opener

I’ve tested various products over the years and found problems and complaints, bugs and surprises, delights and nightmares, but it has been a really interesting experience for me being a producer of content rather than just a consumer.

Firstly, I thought it would be really easy to implement all of the things on my ‘want’ list – it turns out that it’s nowhere near as easy to just ‘add a button that prints out all of the users’ or ‘add a widget that allows the teacher to find out the answer’. All of these things require thought, tweaking of the UI (user interface) and lots of code.

I’ve learnt that things that seem obvious to me are not necessarily useful or even acknowledged by other users.

I’ve learnt that a developer can spend two weeks working overtime to completely overhaul the interface and I’ve not even noticed a difference (sorry).

I’ve discovered that it’s really important to make it clear what the delete button does… and I definitely didn’t accidentally delete a huge chunk of a resource which, thankfully, had been backed up.

I’ve found out that it’s really, really important to get more than one opinion and that relying on mine alone is not enough.

I’ve learnt that developers can’t write resources for beginners even though they really, really mean the best and want to help.

I’ve learnt that even someone like me can make things too difficult for beginners and it’s important to have someone who is truly a novice to try things out.

I’ve found out that sometimes developers just want to sit and watch you use the interface whilst giving them a running commentary so they can figure out what needs to be done next.

I’ve learnt that creating good quality content takes time, creating interfaces takes time and editing information takes time.

I’ve discovered that ‘popping over to ask a quick question’ is akin to tossing an hour’s worth of work into the bin for a developer and it’s better to contact them over Slack.

I’ve found out that developers don’t read emails…

Above all, I’ve learnt that being this side of the interface is HARD WORK and although we sometimes get frustrated with developers bringing out software that doesn’t do exactly what we want it to do, it’s not through lack of trying. It’s pretty important to give developers constructive feedback explaining exactly what doesn’t work as you’d expect and what you’d like it to do instead rather than getting cross and frustrated with it. Communication is vital to ensuring that a product is the best it can be.

Finally, I’ve learnt that pi-topCODER is going to be an incredible resource when we’re done with it and I’m proud to have been part of the team working on it, even if I sometimes feel like I don’t really know anything compared to the people making it!

Picademy Take 3 & 4

My picademy training was over two years ago now, but the experience remains one of the most inspiring two days of my life. As I’ve said so many times before, it literally changed my life. So, you can imagine my delight when I was invited to Glasgow Picademy, this time as a trainer.

I got to spend four days with two sets of trainees and see them go through the same life-changing experience I did.

So, the format for those of you who don’t already know – first of all attendees are talked through the benefit of Pi and then it’s straight to work learning some basics of physical computing. Unlike my picademy years ago, this time all of the cohort stayed in one room for their workshops.

I was really lucky that I got to run the first workshop as I love talking about the benefits of physical computing – I love demonstrating the power of Scratch and introducing some simple Python, especially to complete beginners.

Over the course of the day the attendees took part in workshops learning about Minecraft hacking, Sonic Pi, PiCamera and finishing up with a look at the fantastic Pimoroni Explorer Hat and some motors to make spiny things. The last challenge for the day was a mini hackathon challenge where they had 30 minutes to create something cool with their spiny motors and it was great fun seeing all that they had achieved.

As was normal, a few people felt a little overwhelmed and exhausted after the first day and it was our job to let them know that it was perfectly normal and that day 2 was their chance to become comfortable with their new skills. Just a note of reassurance here, we’ve all felt it, that feeling of never being able to understand or keep up. In fact, there were a few times that I felt it while helping out as a mentor. Don’t worry, we all feel like that!

The first day ended with a meal in a local restaurant for all attendees and mentors – just a chance to unwind and relax – the first week, we played a game of ‘learn everyone’s name’, but the second week I was determined to know them all by the end of the first session, much to everyone’s bewilderment.

So, day 2 – the challenge! Attendees are invited to work independently or in teams to make something using what they’ve learnt. Some people choose to develop their personal skills, while others are determined to come up with projects that can be used in their classrooms and both weeks I was overwhelmed by the super projects people came up with.

First, however, we were invited to talk to the attendees about something we were passionate about – in the case of James Robinson, this was Skycademy and HAB with pi, Marc Scott talked passionately about open source and Laura Sach talked about the importance of the Pi community. I was even given the chance to discuss my coding inititive, Coding Evening for teachers. It is always lovely to hear people talk about their passions and this is a lovely part of the training as it gives the attendees the opportunity to glean some insight into us as mentors and see another side of us.

Down to the projects. I’m afraid I can’t remember all of the projects, but I can say with absolute certainity that they were all superb and inspiring. In the first week, a whole table came together to create a giant group of mostly primary school teachers who were really keen to do some work with Scratch. They came up with an excellent ‘my Town’ activity that could be built in primary schools with KS2 pupils and then brought to younger pupils so that they could use the set up as a BeeBot or Sphero map. I particularly liked the way this team worked together to inspire and support each other.

Another project which stood out was a Minecraft music mat to help inspire children with learning difficulties to want to learn – I just loved that this project was so inclusive.

A pair of primary school teachers in the first week decided to independently use Python to create a Santa photo booth and what I liked about this was that they didn’t really know any Python before they started, but that didn’t stop them from giving it a go!

In the second week some teachers used Scratch to make a flood defense scheme to tie in with the Geography curriculum in Scotland which has a huge focus on environmental issues and projects and I was impressed with the cross curricular aspect of this.

Another impressive project was a back-to-basics Minecraft resources where pupils were given complete code to auto build a house in Minecraft and were then asked to identify where they could make changes in the code to alter the output. I loved this idea as I think really basic starting points for Python are few and far between and I would defintely like to see more from this project. Other Minecraft projects included a ‘yellow brick (gold block) road’ and a Hadouken Sense Hat control game.

Projects were really broad for the both groups and showed a lot of inspiration and excitement – from photographing twitter buttons to doorbells that check who is ringing them, all of the projects were well thought out and generally quite easy to apply to the classroom. I don’t think  anyone who has attended Picademy could deny the power of project based learning after spending time exploring Pi.

There were some hilarious moments over both sets of picademies, including some innuendo (mostly unintended), some incredible successes, some moments where, in spite of failure, we all had a good laugh and even some moments where I felt like I was able to contribute and help people with their code. I will add that, perhaps my favourite moment from the entire four days was when, at the end of the two days, I was asked by an attendee whether I would get an award “for being the most enthusiastic trainer” for the two days… I feel like I must have done *something* good to receive that response!

I really hope I get invited back to Picademy, as this was a fantastic experience and I can’t wait to see where they are going next in the country – fingers crossed there will be some more courses a bit further south in the future! Please keep an eye out for future Picademies and take the time to apply as this is an experience NOT to be missed!

Thanks, as always, to the Raspberry Pi Foundation for offering such amazing training and thank you too, to Google Garage for supporting them in bringing Picademy to locations they might otherwise not have been able to. Keep up the good work!

 

CAS Conference 2016 – workshop links

I will do a proper write up soon, but for those who were in my workshop, here is a downloadable version of the two worksheets, plus a link to the prezi and links to the resources that I showed you!
Scratch workshop – Python

Scratch workshop – pi-top

Prezi – Scratch-ing the Surface of GPIO

pi-top

Pi-Stop (traffic lights)

Pimoroni Flotilla

CamJam EduKit 1 (plus free worksheets)

CamJam EduKit 3 (robotics kit – plus free worksheets)

Astro-Pi Sense Hat Kit (as sent to the ISS)

I think that was all of the things that I shared with you, but please let me know if there was anything else you wanted further information about!

Cat