RasPi Magazine 06 2015.pdf
(
29554 KB
)
Pobierz
ESIGN
D
UILD
B
CODE
Get hands-on with your Raspberry Pi
6
65
PAGES
OF PI
Program
Minecraft Pi
Plus
Welcome
Happy new year, everyone!
We’re kicking off 2015 with
a masterclass in one of the
most popular add-ons for the
Raspberry Pi – the camera module. Dave
Jones, creator of the fantastic picamera
library, shows us how to use his library to
properly control your camera, even down to
things like capturing motion and creating ring
buffers to ensure you don’t miss a trick. And
as well as revisiting a couple of last year’s
projects, we thought we’d dig deep into the
world of Minecraft Pi and show you how to
manipulate it using scripts – especially now
that this hack-focused edition of the game
comes pre-installed on all new versions of
e
n
Raspbian. Enjoy the issue – and have fun!
fun!
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 with Raspberry Pi
Deputy Editor
From the makers of
Join the conversation at…
www.twitter.com/linuxusermag
www twittercom/linuxusermag
@linuxusermag
https
https://www.facebook.com/LinuxUserUK
https //
f b k
/Li
Li
Linux U & Developer
User D l
RasP
RasPi@imagine-publishing.co.uk
R
asP
Pi@i
i
bli hi
k
RasPi@imagine p
RasPi@imagine-publishing.co.uk
Contents
Master the camera module
Motion detection and a time-travel camcorder
BrickPi Bookreader 2
Turn pages without lifting a finger
Upgrade your BigTrak
You can drive it – now fire its rocket launcher
What is the Raspberry Pi Compute Module?
Find out how this stick compares to the full board
Write scripts for Minecraft Pi
Manipulate co-ordinates and auto-generate blocks
Looking at the world a different way
Read inputs from GPIO pins and trigger functions
Talking Pi
Your questions answered and your opinions shared
Master the camera module
with the picamera library
Dave Jones walks us through how to set up and use his
pure Python Raspberry Pi camera library
“We’re
going to
build a camcorder
that stores the last 30
seconds’ worth of video”
The picamera library is a Python library
permitting easy control of the Raspberry Pi’s
camera module. It was originally created
to provide a cleaner method of controlling the camera
than running the raspistill and raspivid command-line
applications from within scripts. Since featuring on the
Raspberry Pi homepage, the library has seen several
thousand downloads and (naturally) a few bug reports –
though as of release 1.2, these should all be fixed!
The library has already played a role in a number of
fascinating projects, including time-lapse videos, motion-
sensing security cameras, stop-motion animation, and
even a handheld digital camera with Dropbox integration
controlled by a touch screen. In this article we’ll walk
through installing and using the Raspberry Pi’s camera
module via picamera, including the fundamentals of two
of the aforementioned projects: time-lapse videos and a
motion-sensing security camera.
This article assumes you are using the Raspbian
Linux distribution on your Pi, and that you are running
the X Window environment
(startx after logging in),
although picamera works
happily on any Pi-related
Linux distro (Arch, Pidora,
etc) and doesn’t require
a graphical environment,
even for the camera’s
preview. It is also assumed
you have successfully set
up your camera module
and tested it with one of
the raspistill or raspivid
applications.
“Time-lapse
videos, motion-
sensing
cameras,
stop-motion
animation, even
a handheld
digital camera”
Below
If you need a
hand setting up your
camera module,
check out the guide in
issue 2 of
RasPi
Plik z chomika:
thomaspass
Inne pliki z tego folderu:
RasPi Magazine 06 2015.pdf
(29554 KB)
RasPi Magazine 15.pdf
(22551 KB)
RasPi Magazine 14.pdf
(22195 KB)
RasPi Magazine 13.pdf
(17557 KB)
RasPi Magazine 16.pdf
(12422 KB)
Inne foldery tego chomika:
Lakka - retroarch
PiAmiga 1.5
Pimiga2
uae4all2
Zgłoś jeśli
naruszono regulamin