Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 42

From the team behind Linux User & Developer magazine, RasPi is the essential guide to getting the most out of the Raspberry Pi credit-card sized computer. Packed with expert tutorials on how to design, build and code with the Raspberry Pi, this digital magazine will educate and inspire a new generation of coders and makers. What you’ll find in every issue: • Get hands-on with your Raspberry Pi – we show you the best way to code, build and create with this awesome educational computer. • Awesome RasPi projects in each issue – get inspired to create something amazing with projects big and small. • Our easy to follow step-by-step tutorials and designed for all abilities and age groups. • Need to know more about anything Raspberry Pi? You can chat with the team and get your questions answered.

United Kingdom
Future Publishing Ltd
Back issue only
Ler Mais

nesta edição

1 minutos

The Raspberry Pi’s potential for innovation in the field of education is huge. We thought we’d kick off our first issue of the new year by taking a look at one particularly innovative advance pioneered by the Imperial Robotics Society from Imperial College, London. Swipe towards the left a few times and find out how Joshua Eldon utilised Pi-powered micro-robots to teach robotic behaviour classes providing multiple systems for testing while using less space for the arenas. If that’s not enough ingenuity for you we have some more that you can do yourself, such as adding a voice-activated AI to your Google Assistant and building pyramids in Minecraft. Get inspired Discover the RasPi community’s best projects Expert advice Got a question? Get in touch and we’ll give you a hand Easy-to-follow guides Learn to make and code…

3 minutos
create 3d art pieces in minecraft using python loops

In previous issues, we started our series on Minecraft pixel art, by coding some 2D art blocks. This time we’re taking a different approach to our art, by implementing an additional axis and therefore bringing it into the third dimension. Well, technically, everything is 3D in Minecraft, but previously we built some rather convincing ‘flat’ pixel art. Now we’re taking it to the next level. We’re going to build a pyramid using while and for loops in Python. This will save us typing lots of similar lines of code. Spawning our coded creations is so much faster than placing each individual block manually in Minecraft’s Creative mode. If you’re using Minecraft Pi edition on a Raspberry Pi, no additional software is necessary. We’ve also put together a number of tools to ensure…

5 minutos
micro robots

Can you give us an overview of the micro robots projects? What’s the idea behind your micro robots? The micro robots project was formed when discussing how the Imperial Robotics Society could develop a course for teaching higher-level multi-robot behaviour. We have a very successful course introducing the basics of robotics on a small robot platform, roughly the size of an A5 sheet of paper, but robots of this size quickly become a problem if you want to control a load of them at once. The area you have to cordon off becomes prohibitive; also, generally you can only have one set that the class must share. We decided that this course would not need access to the low-level hardware, as that would have been covered in the previous course, so we…

5 minutos
raspberry pi ai

Google Assistant is a virtual personal assistant, designed to make your life easier by scheduling meetings, running searches and even displaying data. In this guide you’ll learn how to integrate Google Assistant with your Pi and run a demo which can respond to your voice commands. As the Pi doesn’t have a built in microphone, we’ve used the ReSpeaker 2-Mics Pi HAT, which is designed specifically for AI and voice applications. The ReSpeaker HAT costs just £12 and is compatible with the Pi Zero as well as the Pi 2B and 3B. However, if you have a USB microphone, you can use this instead. By default, Google Assistant only responds to commands when prompted with a hotword – “Hey Google!”. This tutorial assumes that you have a clean install of…

12 minutos
make an egg-drop game with the sense hat

Some of the most basic and repetitive games are the most fun to play. Consider Flappy Bird, noughts and crosses or even catch. This tutorial shows you how to create a simple drop-and-catch game that makes excellent use of some of the Sense HAT’s features. Start off by coding an egg – a yellow LED – to drop each second, and a basket – a brown LED – on the bottom row of LEDs. Use the Sense HAT’s accelerometer to read and relay back when you tilt your Sense HAT left or right, enabling you move the basket toward the egg. Successfully catch the egg and you play again, with a new egg being dropped from a random position… But, if you miss one, then it breaks and it’s game…

3 minutos
make a raspberry pi-based warrant canary

The warrant canary borrows its name from the unfortunate bird that was taken down mine shafts. It’s a reaction against secret requests to obtain customer’s personal data. For example, when a court order is served on a business, its owners are forbidden from alerting users that their data has been compromised. Warrant canaries cleverly slalom around this legal hurdle through regularly making a statement that they have not been subject to such a request. If they switch off their warrant canary, as Reddit did in March 2016, users will know that an external agency also has access to the data a company stores about them. The legal ramifications of this are complex and depend on where you are in the world; this tutorial is an exercise in proof-of-concept only. For this…