Tag Archives: Python

Raspberry Pi news ticker

Here’s an updated version of my weather ticker – this one gives you the BBC news headlines too! It uses a SenseHAT plug-in board atop a RaspberryPi – no soldering required, just install the SenseHAT and feedparser (‘sudo pip install … Continue reading

Posted in Raspberry Pi | Tagged , , , | Leave a comment

SenseHAT weather forecaster

Here’s a really simple scrolling weather forecast for the RaspberryPi SenseHAT. It uses the BBC Weather RSS feed, so you would replace the postcode (‘bs1′) with your own to get your local forecast. You’ll also need to install feedparser – … Continue reading

Posted in Raspberry Pi | Tagged , , | 15 Comments

RaspberryPi dice project

Here’s a simple dice (ok, die) project for the Raspberry Pi SenseHAT – it senses a shake by measuring the G-force on the accelerometer. If the G-force goes above 1.4, it generates a random number between 1 and 6 and … Continue reading

Posted in Raspberry Pi | Tagged , , | 6 Comments

Spirit level for SenseHAT

I just got myself an early Christmas present – a SenseHAT for the RaspberryPi. This is the same gizmo Tim Peake will be using on the ISS to run AstroPi experiments designed by school children, so I have the added … Continue reading

Posted in operating systems, Raspberry Pi | Tagged , , | Leave a comment

Python & Scratch Bubble sorts for KS3

Here’s a bubble sort I knocked up to help teach bubble sorts in Year 9. Before we get to this point we will have looked at Hungarian folk-dancing bubble sorts, done a bubble sort ourselves in class with human numbers … Continue reading

Posted in computers, education, ICT | Tagged , , , | 3 Comments