22.02.2017 Views

-ORIENTED

MagPi54

MagPi54

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DRUM LIKE ME<br />

Tutorial<br />

>STEP-02<br />

Ribbon cable access<br />

Cut a slot at the base of each drum to allow access to the ribbon cable.<br />

Drill two 1.5mm holes about 5mm apart (right-hand drum), then use a<br />

scalpel or sharp knife to cut between the two holes (centre drum), and<br />

clear aa an eri inall, tri aa e iece of forireie<br />

rion cale, aot cm long, an h it throgh the lot o hae<br />

made (left drum). This is a lot easier than trying to push it through from<br />

the inside of the tube.<br />

>STEP-03<br />

Fit the circuit board<br />

Strip and solder the four wires of the ribbon cable<br />

to the oar hen coer the track ie of the oar<br />

with dual-sided sticky foam, pull the ribbon cable<br />

ot, an manoere the circit oar to the centre<br />

of the drum and press down. Then place some hotmelt<br />

gle oer here the rion cale eit the<br />

drum. We could not get the glue gun into the tube,<br />

so we resorted to putting the glue on a wooden<br />

stick and transferring it to the ribbon cable – we<br />

used the wrong end of a small paintbrush for this.<br />

how ong the drum i on during py.<br />

he bufferLength vrie ontro the numer<br />

o hit event you n reord. hie it might eem<br />

ie good ide to me thi ig too ig nd you<br />

wi wte time erhing the uer nd tht wi<br />

et the py timing.<br />

Taking it further<br />

hen uing thi progrm we hve ound tht<br />

ometime the nonretime nture o the inu<br />

operting ytem ue the oion drum hit<br />

not to e reorded. hi might e improved y<br />

inreing the vue o the reitor ro the<br />

raspberrypi.org/magpi February 2017 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!