ZINIO logotipo
Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 48

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.

Ler Mais
United Kingdom
Future Publishing Ltd
Back issue only

nesta edição

1 minutos

Voice assistants are all the rage at the moment, what with Microsoft’s Cortana, Apple’s Siri, Google’s Home and Amazon’s Alexa all entering the market. This issue, Raspi magazine is going to show you how to create a fantastic open source equivalent that has Raspbery Pi at it’s heart. One of the great benefits of this is you’ll know exactly what data is being collected and by whom, so swipe left and have a go yourself. All you’ll need is a Raspberry Pi, a USB microphone and some speakers. Other highlights this issue include building a custom weather station and speeding up your Python code with Numba. 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 gadgets…

10 minutos
make an open source voice assistant with mycroft

Voice assistants are all the rage at the moment, what with Microsoft’s Cortana, Apple’s Siri, Google’s Home and Amazon’s Alexa all entering the market. Users are becoming more comfortable talking to a device and receiving audible instructions, in a way that’s not too dissimilar from the computer in the Star Trek franchise. However, with current concerns regarding privacy, it’s important to know what data is collected, where it’s going, and who could potentially be eavesdropping on your conversations. We don’t mean to sound paranoid, but if you’ve got an open mic in your environment it’s pretty important to know where any data might be heading; some of the larger corporations collect information about users to better target advertisements towards them. That’s why users are turning to open source alternatives. This issue…

6 minutos
kodak pi notification lamp

This month, we’ve highlighted a new project from Martin Mander, which is a little less complicated but no less classy than his 1986 Google Pi Intercom. This time another retro sale snagged Martin a 1930s Kodak table viewer that he’s adapted to display notifications and alerts using a range of LED colours on a Unicorn pHAT (from Pimoroni, see https://shop.pimoroni.com/products/unicorn-phat). The pHAT has a programmable matrix of bright LEDs and this is controlled by a Raspberry Pi Zero W, which checks for incoming Gmail instructions using a simple Python script. Where did this idea come from? I picked up this Kodak slide/negative viewer at a sale recently for £10. Normally I do a bit of research before tearing a piece apart, just for curiosity and to get a feel for its original…

9 minutos
build a weather station

Maker Life’s tagline is ‘coding for kids’; it produces pre-packaged development kits for parents, teachers and children with an aim of making coding fun and easy at low cost. We’re going to take a look at its most comprehensive kit, the Weather Station, and see just how much one can learn about the world around us from a Raspberry Pi Zero W and a bunch of sensors. This kit is a bit of a doer-upper. We’ll need to spend some time building the weather station and putting the sensors together before we can get down and dirty with any Python code. There are no soldering requirements, but the kit is moderately difficult to assemble. It seems important to Maker Life that its kits are as accessible as possible, and are therefore designed…

3 minutos
draw circuits with paint

Playing with electronics and physical computing is a very rewarding task. For a beginner though, the mess of wires and components can become very confusing quite quickly and things like soldering can be a safety concern when children are involved. Bare Conductive has taken the joy of electronics and made it far safer, easier and more versatile with their conductive paint. You can literally draw wires on paper with a paintbrush, use it for cold-soldering or a conductive adhesive and much, much more. There are not a great deal of boundaries to what you can do. Pair this paint with a microcontroller board and you could be creating interactive art, clothing and projects in no time. 01 Get your tools Paint and a paintbrush aren’t the first items that come to mind…

5 minutos
using numba to speed things up

One area that is always an issue with Python code is performance. Much of this is due to using programming techniques from other languages that simply don’t work the same way in Python. These types of issues are usually dealt with by rewriting your code in a more Pythonic form. While this is perfectly adequate in most cases, people are always keen to squeeze every last bit of performance out of their code. In these cases, you have a few different options. Here, we’ll look at one of them named Numba, which compiles your code using a JIT compiler based on additions to your code that enable you to fine-tune the JIT compiler. This has traditionally been an issue for the Raspberry Pi, since it requires the LLVM compiler and this hasn’t…