Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 33

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

With Robot Wars back on our screens, why not try building your own Pi-powered android? In this issue of RasPi we’ll show how to make and program a robot with a Raspberry Pi Zero, which you can then control with a gamepad. If you want to go one step further, you can also make it autonomous, so that it can dodge obstacles by itself. However, we make no guarantees that it would be able to avoid Sir Killalot in the arena for long! Also this issue, you can find out how to turn a Raspberry Pi into a router and a baby monitor, as well as combine it with code, and get involved with Berryconda to leave Raspbian Python modules behind. We also find out how the Pi is being…

6 minutos
build an explorer phat robot

Here is everything you need to know to make your own Raspberry Pi robot. To start, we break down a robot into all its component parts and give you an insider’s perspective on batteries, motors, input controllers and more. THE PROJECT ESSENTIALS We sourced most of these components from Pimoroni for around £35. We assume you already have your Raspberry Pi Zero, microSD card and few AA batteries in the back of a drawer. • £15.00 Polulu Zumo chassis • £10.00 Explorer pHAT • £10.00 2x Metal-gear motors • £2.00 Battery UBEC (eBay) 01 What exactly is a ‘robot’? A robot is considered to be any machine that can perform a task or series of tasks, either autonomously once programmed or with direct instruction. Robots come in many shapes and sizes – they can be used for manufacturing,…

7 minutos
build an explorer phat robot

THE PROJECT ESSENTIALS Article’s Github repository (https://github.com/alexellis/zumopi) Raspberry Pi Zero microSD Card All other kit is listed in step 1 In part one, we read Wikipedia’s definition of a robot as a machine capable of carrying out a series of actions automatically (paraphrased). We then gave an overview of all the considerations you may have for your build, from the chassis to the motors to the sensors you may want to add for autonomous tasks. In this section, we invite you to join us as we build our own model robot. If you follow along, you should have everything to get you started, especially if this is new territory for you. We are going to build your explorer robot from scratch running through each step needed, including soldering and putting all the pieces in place.…

9 minutos
control your creation

THE PROJECT ESSENTIALS Article’s Github repository (http://github.com/alexellis/zumopi) Explorer Robot as built in part two Genuine Wiimote (optional) This tutorial builds the software to control your explorer robot so you can let it loose in the living room, the office or even in the garden. We will put together a program to drive the robot from a console, letting you type in WASD as if in a computer game. This gives you a chance to get comfortable with how the robot moves and how the code is put together. We will then go on to integrate a Nintendo Wiimote controller, which makes for a much more natural controller than a keyboard. The code will be written in Python, which is pre-installed on Raspbian, and wherever possible will be compatible with both Python 2 and 3. The…

8 minutos
add autonomous features

THE PROJECT ESSENTIALS Article’s Github repository (https://github.com/alexellis/zumopi) Explorer Robot as built in part two Wi-Fi dongle Ultrasonic sensor 2x analog light sensors Take your robot to the next level and add self-driving capabilities through sensors and a feedback loop. We start off by looking at open versus closed loops for control, then create a simple obstacle-avoiding behaviour. Once our robot can avoid walls, we will add a second behaviour to follow a light source such as a torch being shone at the left or right side of the robot. The programs are only a starting point for you to adapt and tailor to your needs. The light-following program could be adapted into a line-following behaviour with the use of two infrared LEDs. The examples will be written in Python, which is preinstalled on Raspbian. Wherever possible, the examples…

4 minutos
producing clean water

Jessica Mabin is a PhD student in Physics and Astronomy at Cardiff University. She has been looking at different ways to use science to help solve global, wider issues. Could you tell us a little about what photocatalysts are and your drive for the project? One in ten people don’t have access to clean drinking water; including some of the most remote parts of the world. The water crisis has been named as the number one global risk based on impact to society, as quoted by the World Economic Forum in January 2015 [the WTF also rated it the third greatest threat for 2017]. This is a pressing issue and therefore has a wealth of potential research implications for both large-scale treatment plants and small-scale handheld filtration units to consider. Although these…