Изменить стиль страницы

overview, 17

of PCB, 234–235

in quiet fire alarm, 125–129

in Raspberry Pi control center project, 151–154

using heatshrink, 235–237

soldering irons

caution using, 231

power consumption of, 21

selecting, 231

source code for this book, 92, 142

SparkFun Beginners Parts Kit, 224

SPI (Serial Peripheral Interface), 217

SPI library, 217

.split() function, 148

sponges, 231

state of charge (SOC), 54

Status area, Arduino IDE, 247

stepPause constant, 177

sticky attribute, 147

stoves, 11

StringVar variable, 147

stripping wires, 227–228

sudo command, 87, 156

suppliers, brick-and-mortar, 16–17, 222

surveillance. See Raspberry Pi single-board computer, using for surveillance; USB webcam; wireless surveillance system

survivors, teaming up with, 14–15

switch box, in remote door lock project, 107–108

swords, 11, 12

sys module, 92

T

tablets, using with wireless surveillance system project, 98

teaming up with survivors, 14–15

temperature alarm, 131–137

attaching temperature sensor lead to screwshield, 134

constructing, 132–134

making longer lead for TMP36, 134

materials for, 132

software for, 135–136

using, 137

temperature measurement, on multimeters, 242

TEMP_MAX constant, 146

TEMP_MIN constant, 146

theft, 15

thermocouple probe, 242

thermometer, on multimeters, 242

tilde (~), 254

time module, 92

Tk graphics library, 147

Tkinter, 146

TMP36 temperature sensor, 132–134

tools, 17, 224

traps, 12. See also trip wire alarm

treadmills, 34

trip wire alarm, 64–72

constructing, 66–71

materials for, 65–66

using, 71–72

twisting wires, 228–230

TXD pin, 150

U

United States, voltage in, 23

uploading Arduino sketches, 247–248

USB Bluetooth dongles, 149

USB power, 48–49

USB webcam, 87–96

constructing, 89–95

materials for, 88–89

using, 95–96

V

variables, creating, 250

vibration motors, 211–213, 216

voltage, 22

AC, 23–24

DC, 22–23, 238–239

generated by analog outputs, 255

voltage dividers, 54, 55

volts_var variable, 147

W

The Walking Dead (film), 7

warn function, 116

water, 10–11, 14

water wheels, 34

Watt, James, 20

watts, 20, 26

wave function, 178

weak people, 15

weapons, 11–12

weather conditions, 10

webcam projects. See USB webcam; wireless surveillance system

weights parameter, 93–94

wget utility, 185

while command, 254, 256

window_res constraint, 92–93

window_size, 93

wind turbines, 34

wing shields, 54

wire cutters (snips), 231

wireless Raspberry Pi control center, 149–156

constructing, 150–154

materials for, 150

software for, 154–156

using, 156

wireless surveillance system, 96–102

constructing, 98–102

materials for, 97–98

using, 102

wires

in Arduino Morse code beacon project, 199–201

insulating, using heatshrink, 235–237

joining

by soldering, 230, 231–233

by twisting, 228–230

stripping, 227–228

World War Z (film), 7

Z

zombies, 6–8

distracting. See Arduino flash distractor; Arduino movement and sound distractor

fighting, 11–13

population of, 8–9

types of, 6–7

whether really dead, 7–8

zombies-master.zip file, 248–249

“Zombie Special” episode of Mythbusters, 11

RESOURCES

Visit http://nostarch.com/zombies/ for resources, errata, and more information.

More no-nonsense books from

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _186.jpg
NO STARCH PRESS

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _187.jpg

ARDUINO WORKSHOP

A HAND-ON INTRODUCTION WITH 65 PROJECTS

by JOHN BOXALL

MAY 2013, 392 PP., $29.95

ISBN 978-1-59327-448-1

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _188.jpg

THE SPARKFUN GUIDE TO PROCESSING

CREATE INTERACTIVE ART WITH CODE

by DEREK RUNBERG

AUGUST 2015, 312 PP., $29.95

ISBN 978-1-59327-612-6

full color

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _189.jpg

THE SPARKFUN GUIDE TO ARDUINO

by DEREK RUNBERG and

BRIAN HUANG

SPRING 2016, 200 PP., $29.95

ISBN 978-1-59327-652-2

full color

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _190.jpg

THE MANGA GUIDE TO ELECTRICITY

by KAZUHIRO FUJITAKI, MATSUDA,

and TREND-PRO CO., LTD.

MARCH 2009, 224 PP., $19.95

ISBN 978-1-59327-197-8

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _191.jpg

JUNKYARD JAM BAND

DIY MUSICAL INSTRUMENTS AND NOISEMAKERS

by DAVID ERIK NELSON

OCTOBER 2015, 408 PP., $24.95

ISBN 978-1-59327-611-9

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _192.jpg

LEARN TO PROGRAM WITH MINECRAFT

by CRAIG RICHARDSON

WINTER 2015, 304 PP., $29.95

ISBN 978-1-59327-670-6

PHONE:

800.420.7240 OR

415.863.9900

EMAIL:

[email protected]

WEB:

WWW.NOSTARCH.COM

Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi _193.jpg