Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 38

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

This issue sees us take to the skies as we show you how to control your drone with the power of your Raspberry Pi. Currently a headline-making technology, it seems drones are rarely out the mainstream media spotlight. From near misses with passenger jets to saving species from being poached to extinction, the versatile flying gadgets can be put to a myriad of uses from the heroic to the downright nefarious. Our lead tutorial this issue offers a little taster of a Python module which enables you to program your drone with a predetermined set of flight actions such “fly forward, turn left, turn right and land”. Take a swipe to the left and get started now. Editor Get inspired Discover the RasPi community’s best projects Expert advice Got a question? Get in touch and…

9 minutos
use the raspberry pi to take control of your drone

THE PROJECT ESSENTIALS Raspberry Pi Drone Drones are becoming ever more popular and mainstream. You may already be aware that Amazon is currently working on using drones to deliver packages directly to your house within hours of you placing an order, creating a new requirement for them to be autonomous and programmable. This tutorial offers a little taster of a Python module which enables you to write and deploy programs to your drone. The API used is now a few years old (2014) and supports operation with Python 2.7. However, it offers a number of simple methods for beginners to create their own programs and spark your curiosity. The tutorial begins with a quick walkthrough on installing the required software and libraries. Then jump straight in and create a simple but inspiring program which,…

5 minutos
polapi zero

How did you come up with the idea behind designing the original PolaPi and the PolaPi Zero? I was first inspired by a couple of other camerabased development projects, named the PrintSnap and Polatherm Camera. These gave me some ideas for when I developed the original PolaPi model. I like the idea of the Polaroid camera being able to not only show the picture you just took to your friends, but to physically print the picture as well. After the original version was produced, I sat down with fellow developer Vit Hasek and discussed the possibilities of making the device smaller and more convenient. This is what started the development of the PolaPi Zero. He came with a very clever idea that I didn’t have enough time to implement in the first…

7 minutos
make a bitcoin cold store

As you’re probably aware, the cryptocurrency Bitcoin can be used to make anonymous and irreversible online payments, similar to hard cash. Bitcoin is a huge leap forward for privacy-minded people, but the fact that it’s a digital currency means that hackers often target owners of Bitcoin software wallets. In this tutorial, we’ll explore a solution using the lightweight Bitcoin Wallet Electrum on the Raspberry Pi. The Pi will host a ‘cold’ wallet which is kept offline at all times. You’ll also set up an online ‘watching’ wallet on another computer so you can see payments as they come in. Payments are only sent by generating a transaction file with your watching wallet, which you transfer manually via a USB stick to your ‘cold’ wallet to be digitally signed. As your cold wallet…

9 minutos
part 1: command the seas with sense hat battleships

The classic game of Battleships engages you to find and locate your opponent’s ships by launching torpedoes to try to sink their convoy. In part one of this two-part tutorial, you will create a version of the classic game for the Raspberry Pi Sense HAT. When completed, your program creates a random layout of enemy boats, some ammo and mostly water. Use the Sense HAT joystick to select one of 64 locations on the sea (LED matrix). Then press Enter to fire a torpedo. The program makes use of two lists: one to store the location of the enemy ships, ammo and water, and the second to track the location of your ship. When you fire a torpedo, your current position data is compared with the first list and calculates if…

3 minutos
control the player and environment in minecraft

Hooking directly into Minecraft with Python gives us many advantages, but rather than building by hand, we can use programming techniques such as loops to simplify much of the building process. In this issue’s tutorial, we will manipulate the player character’s position and the blocks around them. We use simple lines of code to replicate blocks in rows and columns, to build entire rooms out of thin air. We also teleport Steve or Alex around your world at the drop of a hat. Combining these two functions enables us to have a little fun with TNT to create our own bomber-man. As a prerequisite, we assume you’ve installed McPiFoMo, from our last two issues. McPiFoMo includes MCPiPy by ‘fleap’ and ‘bluepillRabbit’ of MCPiPy.com; the Raspberry Jam Mod, developed by Alexander Pruss;…