gapBetweenRepeats constant, 202
general purpose input and output (GPIO) connector, 83, 90
generators
bicycle generator project, 34–43
gasoline, 43
GitHub, 92
glasses, 14
GND pin, 150, 151
go bags, 14
GPIO (general purpose input and output) connector, 83, 90
GPIO pin identification template, 90
grenades, 12
grills, 11
group survival, 14–15
grouping code into functions, 257–259
guns, 11, 12
H
hair dryer, power consumption of, 21
handguns, 12
haptic communicator, 209–220
constructing, 212–217
materials for, 211–212
software for, 217–220
using, 220
hci0 interface, 155
health, 13–14
heat detectors. See PIR (passive infrared) detector
heating, 11, 21
heatshrink, 132, 235–237
Hell of the Living Dead (film), 7
HFE range, on multimeters, 242
high impedance, 190
high-voltage AC, 23–24
home, security level of, 9–10
horn. See trip wire alarm
hospitals, 14
hunting knifes, 12
I
ICSP (InCircuit Serial Programming) header, 244
if command, 219, 252, 256
ifconfig command, 100
Imperial College Robotics Society, 184
incendiary bombs, 12
InCircuit Serial Programming (ICSP) header, 244
input and output pins, Arduino microcontroller board, 244–245
installing
Arduino IDE, 245–247
Arduino sketches, 248–249
insulating
soldered connection, 232
wires, using heatshrink, 235–237
int variable, 250
inverters, for converting DC to AC, 24, 49
IP addresses, 100–102
iron bars, 12
J
joining wires
by soldering, 230, 231–233
by twisting, 228–230
Joule, James, 20
joules, 20
K
k constant, 59
killing, of zombies, 11–13
knifes, 12, 14
L
lamps, in Arduino Morse code beacon project, 200–201
LAN (local area network), 99
laptop computers
advantages of Raspberry Pi over, 82
lithium batteries for, 24, 25
power consumption of, 21, 82
lastFlashTime variable, 204
LCD display shields, 54
lead-acid batteries. See car batteries
lead-free solder, 231
leads, 223
“Learn Arduino” series, 261
LED light bulb, power consumption of, 21
LED lighting, 49–53
constructing, 50–52
materials for, 50
using, 52–53
led variable, 250
ledPin constant, 202
LEDs, of Arduino microcontroller board, 244, 247, 260
LiPo (lithium polymer) batteries, 24, 25
LiquidCrystal library, 58
listenMode function, 219, 220
lithium polymer (LiPo) batteries, 24, 25
local area network (LAN), 99
locks. See remote door lock
logical comparisons, 256–257
logical operators, 257
loop function, 252, 258
in Arduino flash distractor project, 167
in Arduino FM radio frequency hopper project, 195
in Arduino Morse code beacon project, 203
main discussion, 249, 250
in haptic communicator project, 219
low-voltage DC, 22–23
lsusb command, 91
Lundin, Cody, 10
M
mA (milliamps), 22
MAC address, 155
magnetic field, alternators and, 36
magnets, in door sensor project, 113, 116, 117
makeNoise function, 178, 179
Maplin Electronics, 222
maxMessageLen constant, 202
maxServoAngle constant, 177
maxTemp constant, 136
measuring
DC current, 239–240
DC voltage, 238–239
resistance, 240–241
mechanical construction, 17
message character array, 203
message variable, 202
metal oxide semiconductor field effect transistors (MOSFETs), 199
micro SD card, for Raspberry Pi, 86
microswitches
identifying terminals of, 68
obtaining, 66–67
projects using. See trip wire alarm
microwave, obtaining microswitch from, 66–67
milliamps (mA), 22
mine shafts, 12
minServoAngle constant, 177
MirfHardwareSpiDriver library, 217
Mirf library, 217
Molotov cocktails, 12
monitor.py program, 91, 95
monitors, computer
power consumption of, 21, 83
used with USB webcam project, 83, 86
monocrystalline silicon solar panels, 26
Morse code, 196–207, 210
MOSFETs (metal oxide semiconductor fild effect transistors), 199
multimeters, 237–242
bells and whistles, 242
continuity testing, 241–242
measuring DC current, 239–240
measuring DC voltage, 238–239
measuring resistance, 240–241
MUTE notifiation, 60
Mythbusters, “Zombie Special” episode of, 11
N
NASA’s standards for wire splicing, 230
negative charging terminal (–), on alternators, 39
Night of the Living Dead (film), 6
NOOBS (New Out Of the Box Software) installer, Raspberry Pi, 86
NRF24 radio module, 213, 214
numStations, 196
O
old_image variable, 93
or (||) operator, 257
overallDelay constant, 167
P
parts, 15–17, 221–226
brick-and-mortar suppliers, 16–17, 222
from cars, 15–16
electronic components, 224–225
electronics modules, 222
leads and connectors, 223
other hardware, 225
Raspberry Pi and related parts, 223
resistor color codes, 225–226
tools, 224
passive infrared detector. See PIR (passive infrared) detector
PCB (printed circuit board), soldering, 234–235
pedal generator. See bicycle generator
period constant, 195
pharmacies, 14
photovoltaic (PV) solar panels, 26. See also solar recharger
piezo buzzers, 54, 56–57
in Arduino movement and sound distractor project, 171–174
self-drive, 124
pifm software, 186
pin header, 170
pinMode command, 251, 253
PIR (passive infrared) detector, 72–79
constructing, 74–76
materials for, 73–74
scavenged PIR sensors, 77–79
software for, 76–77
using, 77
pirPIN constant, 76–77
pits, for trapping zombies, 12
PixelArray, 94
plastic boxes, for protecting communicators, 210
polycrystalline silicon solar panels, 26
portable FM radio, power consumption of, 21
positive charging terminal (–), on alternators, 39