The Official Raspberry Pi Projects Book - Projects_Book_v4

(singke) #1

Tutorial WALKTHROUGH


(^134) The Official Raspberry Pi Projects Book raspberrypi.org/magpi
Hack a DJ Hero turntable to simulate a harmonograph
and make intricate line art by scratching
MIKE COOK
Veteran magazine author from the old
days and writer of the Body Build series.
Co-author of Raspberry Pi for Dummies,
Raspberry Pi Projects, and Raspberry Pi
Projects for Dummies.
magpi.cc/259aT3X
MIKE’S PI BAKERY
MAKE STUNNING
SCRATCH ART
n this guide we’re going to look at hacking
an unlikely interface: we found a DJ Hero
turntable at a local charity shop going
cheap, so we had a go at seeing if it could be
interfaced with the Raspberry Pi. There are a few
versions of the turntable for different consoles,
but the one we’re using here is designed for the
Wii. This is the simplest design to interface to,
because to the Pi it simply looks like an I^2 C device.
It’s designed to plug into the auxiliary port of the
Wii controller, but here we wire it directly onto the
Piġs JPLR pins. You can cut off the end and solder
I
Harmonograph display
driven by the Raspberry Pi
Control parameters with
turntable and buttons
Control screen, drawing
depth, and saving images



DJ Hero
turntable –
Wii version
WiiChuck
Nunchuk
adapter or
similar
magpi.cc/
FeAozQ
Length of 4-way
flat ribbon cable
You’ll
Need


Free download pdf