EXPLORARBIBLIOTECA
Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 29

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

How much TV do you watch through an old-fashioned provider and how much do you watch online? If you’re anything like us, your viewing habits are leaning more and more towards box set binges than teatime telly. Want something that makes it easier to stream your favourite online content direct to your TV? We’ll show you how to use the Pi to do exactly that. Also this issue you’ll learn how to build an iBeacon, take night photos with the Pi NoIR camera, continue making your own version of retro game Tempest in FUZE Basic, and add multitasking functionality to your Python code. Whatever you want to do with your Pi, we’ve got you covered. Enjoy the issue! Editor Get inspired Discover the RasPi community’s best projects Expert advice Got a question? Get in touch and…

3 minutos
stream internet tv to your raspberry pi

Finding the content you’re interested in viewing can take a while. Whether you’re looking for internet TV stations, video podcasts, audio podcasts or shows syndicated online, taking the time to find and download them can be slow going, particularly if you have a busy lifestyle. You might even have no time to watch after you’ve waited for the download. Thanks to the Miro media management software, we can automate all of this, and with the software running on a Raspberry Pi, you can easily build a compact system for downloading and playing back shows that you have an interest in. We’re talking targeted TV on demand, which makes this project ideal for staying up to date with particular news and trends on a certain topic. THE PROJECT ESSENTIALS Raspbian Wheezy HDMI cable Monitor/TV…

10 minutos
capture photos at night with the pi noir camera

You are probably already familiar with the Raspberry Pi camera module. However, it is also available in the NoIR edition – ‘NoIR’ in this instance being shorthand for ‘no infrared’. Using this module, you can use the camera to take photos and video footage in the dark, similar to a night vision camera. Many of us are fortunate enough to have a wide variety of animals that visits our gardens and homes, and while we obviously see them more during the day, there are also a large number of nocturnal visitors to your garden. This tutorial shows you how to set up your camera, then add and combine an infrared light source and PIR motion sensor to trigger the camera and photograph night-time wildlife. Each photo that is captured is…

10 minutos
build an ibeacon with a bluetooth dongle

The 2002 movie ‘Minority Report’, based on the Philip K Dick novel, is set in the archetypal dystopian future, where police react to crimes before they happen and adverts are targeted at individuals. Such targeted advertising displayed ads and messages based on your identity, interests and habits. It was seen as one of many futuristic elements to the film, but fast-forward to now, and that targeted advertising is here. While it doesn’t rely on retinal identification (yet), iBeacon from Apple uses Bluetooth and an iPhone 4S or later in close proximity to trigger an app or message. Google, meanwhile, has its own version, known as Eddystone. Raspberry Pi owners can investigate this technology in more detail by setting their devices up as ‘PiBeacons’ with the addition of a low-cost Bluetooth Low-Energy…

11 minutos
code a tempest clone in fuze basic part 3

Welcome to the final episode of our FUZE BASIC tutorial. Over the last two issues we’ve built up a retro tunnel shooter game inspired by the classic Tempest. This month, we’re going to add in the last few features and tighten up our code to make this into a fully functional game. At almost 900 lines, 73MP357 is now a fairly significant program. You will need to download the full program as well as a few sound effect and music files, all of which are available to download from this issue’s FileSilo page or from fuze.co.uk/tutorials/73MP357.zip. Download and decompress the files, then save the resulting folder to your FUZE BASIC folder. This final version is exactly that: the finished article. We now have levels, enemies, explosions, music and sound effects, scoring, collision…

7 minutos
multitasking with your pi

The majority of programmers will learn single-threaded programming as their first computational model. The basic idea is that instructions for the computer are processed sequentially, one after the other. This works well enough in most situations, but you will reach a point where you need to start multitasking. The classical situation for writing multi-threaded applications is to have them run on a multi-processor machine of some persuasion. In these cases, you would have some heavy, compute-bound process running on each processor. Since your Raspberry Pi is not a huge 16-core desktop machine, you might be under the assumption that you can’t take advantage of using multiple threads of execution. This isn’t true, though. There are lots of problems that map naturally to the multiple thread model. You may also have IO…