Tag Archives: RaspberryPi

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

Raspberry Pi traffic light project, part 2

In the first part of this project, we made some traffic lights out of LEDs attached to a Raspberry Pi computer, and we wrote code to make them light in sequence using the Python programming language. This was made really … Continue reading

Posted in computers, Raspberry Pi | Tagged , | 3 Comments

First physical computing project with Python on Raspberry Pi

I’m really excited about a Python library called GPIO Zero. This makes it very easy to use the Raspberry Pi’s GPIO pins to do some physical computing in the Python programming language. The GPIO pins are how you connect your … Continue reading

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

Keeping physical computing simple

I love Scratch. I think it’s actually under-rated as a way of teaching computing, even in secondary schools (KS3). I remember a long time ago someone on the BBC ‘Computer Programme’ defending BASIC with the words ‘it’s a bad workman … Continue reading

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