EXPLORARBIBLIOTECA
Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 39

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.

País:
United Kingdom
Língua:
English
Editora:
Future Publishing Ltd
Periodicidade:
Back issue only
Ler Mais

nesta edição

1 minutos
welcome

Reggae legend Bob Marley was once quoted as saying, “One good thing about music, when it hits you, you feel no pain”. While we’d hate to contradict the musical genius of Jamaica we’d wager he never had to endure “Let it Go” from Frozen 10 times in succession while on a car journey with his six year old daughter. No, probably not. Instant access to good, and painless, music is the topic of our lead tutorial this issue where we show you how to put the Pimoroni pHAT DAC together with a Pi Zero to create a networked hi-fi. A high-quality networked hifi, no less, that takes advantage of the UK’s online radio stations. Other highlights include a look at a Macintosh classic made from Lego and the final part of…

3 minutos
build your own networked hi-fi

We will show you how to create a high-quality networked music player that takes advantage of the UK’s online radio stations, Linux’s popular Music Player Daemon, and a responsive web-server to control it all. The full-sized Raspberry Pis have two builtin audio outputs: audio over HDMI cable and a 3.5mm headphone jack that can suffer interference and noise. The Pi Zero itself has no audio jacks but Pimoroni has come to the rescue and built a high-quality DAC (digital audio converter) using the same chip as the Hi-Fi berry (PCM5102A). 01 Soldering the headers The pHAT DAC comes with a 40-pin header, which you will need to solder. We consider a flux pen, worklamp and thin gauge 60/40 solder essential for this. An optional RCA jack can also be bought fairly easily…

5 minutos
lego macintosh classic

What inspires your projects? Pretty much all of my side projects are born from scratching an itch. In the past, that has been mostly software – starting with a blogging software called s9y in the early 2000s and more recently an iOS fitness tracking app called Gym Hero [...]. The LEGO Macintosh classic was my first hardware project, and it started because I live in Berlin and take the bicycle to work. I wanted to have a little display in the kitchen that tells me what the weather would be like. I purchased two small displays and a Raspberry Pi and made them display the carbon dioxide level in the living room and the current temperature on my patio. I then realised that this doesn’t help me much in the morning…

3 minutos
use python to code new creations in minecraft

Sometimes, Minecraft can seem far more than just a game. It’s an incredibly creative tool and with the use of Redstone and Command Blocks you can produce some amazing worlds. We’re taking things a step further by enabling you to plug Python code directly into Minecraft. What you do with it is completely up to your imagination! MCPiPy was developed by ‘fleap’ and ‘bluepillRabbit’ of https://mcpipy.wordpress.com, to connect MineCraft Pi Edition with Python on the Raspberry Pi, using open APIs. However, with the use of Forge we have put together a package that enables the use of Python in retail Minecraft. We’re using Raspberry Jam developed by Alexander Pruss, a Forge mod for Minecraft which implements most of the Raspberry Juice/Pi API. 01 Replace your .minecraft directory Backup .minecraft in your home directory.…

8 minutos
part 2: command the seas with sense hat battleships

The final part of our series on creating the classic game of Battleships using a Sense HAT on a Raspberry Pi In the first part of this tutorial [see last issue] you started to build the classic game of Battleships, coding the features such as deploying ships, firing torpedoes and keeping a running total of your score. In part two, you will begin by installing a small program which enables you to easily create animations to play across the Sense HAT’s LED matrix. These can be used to introduce the game, display a game over message or update the player wherever your game requires it. The tutorial then completes the main mechanics of the gameplay before setting up the code for deploying the game. Begin by introducing the game with a range of…

7 minutos
the art of infrared photos

Although we can’t see it, infrared is all around us. If our eyes were sensitive to it, therefore, we’d be able to see the world in a different way and we can speculate that we might see some things in totally unknown colours. Even though it’s invisible to our eyes, glass lenses are able to focus infrared (IR) and the CCDs in cameras are sensitive to it, so digital cameras have all that’s needed to take IR photographs. As we’re about to see, things aren’t quite that simple with an ordinary camera, but the Raspberry Pi’s NoIR provides an ideal solution. Before delving into IR photography, though, it’s worth considering why we might you want to shoot in IR. First of all, conventional IR photography is black and white, which has…