351
Index
AC device control, 256
AC interfacing, 256
ADC block diagram, 111
ADC conversion, 99
ADC process, 103
ADC registers, 111
analog sensor, 226
anti-aliasing filter, 100
Arduino concept, 1
Arduino Development Environment, 23, 41
Arduino schematic, 9
Arduino shield, 9
Arduino software, 2
Arduino team, 1
Arduino UNO R3, 2
Arduino-based platforms, 9
arithmetic operations, 34
ASCII, 77
ATmega328 ADC, 109
ATmega328 interrupt system, 142
ATmega328 timers, 182
ATmega328 timing system, 173
Atmel ATmega328, 4
background research, 54
battery capacity, 215
battery operation, 215
Baud rate, 76
Bell Laboratory, 100
bit twiddling, 36
Blinky 602A robot, 4, 44
bottom up approach, 58
byte-addressable EEPROM, 15
Closer to the Sun, 49
code re-use, 59
Comfile Technology, 92
comments, 26
counting events, 179
CTC timer mode, 186
current sink, 213
current source, 213
DAC converter, 130
data rate, 103
DC motor, 245
DC motor control, 245
DC motor speed control, 181
decibel (dB), 103
design, 56
design process, 54
digital sensor,
224
documentation, 59
dot matrix display, 233
duty cycle, 174
dynamic range, 103
elapsed time, 177
electrical specifications, 212
embedded system, 54
encoding, 101
external interrupts, 145
fan cooling system, 258
352 INDEX
fast PWM timer mode, 186
Flash EEPROM, 15
flight simulator panel, 272
foreground and background processing, 153
frequency measurement, 179
full duplex, 76
function body, 29
function call, 29
function prototypes, 28
functions, 27
H-bridge, 247
Harry Nyquist, 100
HC CMOS, 212
ideal op amp, 106
if-else, 31, 39
ImageCraft ICC AVR compiler, 144
include files, 27
input capture, 178
input capture programming, 201
input devices, 215
internal interrupt, 148
interrupt handler, 31
interrupt theory, 141
interrupt vector table, 144
ISR, 141
Jonathan Barrettt, 49
joystick, 300
keypad, 219
Lac Laronge, Saskatchewan, 49
LED biasing, 227
light emitting diode (LED), 227
liquid crystal display (LCD), 233
logical operations, 35
loop, 37
main program, 32
MAX232, 77
memory, ATmega328, 14
MOSFET, 243
motor operating parameters, 246
normal timer mode, 184
NRZ format, 77
Nyquist sampling rate, 100
op amp, 106
operating parameters, 211
operational amplifier, 105
operator size, 31
operators, 32
optical encoder, 224
output compare, 180
output device,
226
output timer, 176
parity, 77
period, 174
phase correct timer mode, 186
photodiode, 105
port system, 15
power supply, 2
pre-design, 56
preliminary testing, 58
program constants, 30
program constructs, 36
project description, 54
prototyping, 58
pullup resistors, 217
PWM, 180
PWM programming, 200
quantization, 100
RAM, 15
real time clock, 153
resolution, 102
INDEX 353
ROV, 298
RS-232, 77
sampling, 100
SeaPerch ROV, 299
sensors, 224
serial communications, 76
servo motor, 203, 245
seven segment displays, 228
Sharp GP12D IR sensor, 4
signal conditioning, 104
signal generation, 180
sketch, 43
sketchbook, 42
solenoid, 244
solid state relay (SSR), 244
sonalert, 256
SPI, 87
stepper motor, 245, 248
STK500, 95
submersible robot, 298
successive-approximation ADC, 109
switch, 40
switch debouncing, 217
switch interface, 217
switches, 215
test plan, 58
threshold detector, 129
time base, 17, 174
Timer 0, 182
Timer 1, 189
Timer 2, 193
timer applications, 178
timer modes, 184
timer system programming, 198
timing system, 173
top down approach, 58
top-down design, bottom-up implementation,
57
transducer interface, 104
tri-state LED indicator, 231
TWI, 92
UML, 57
UML activity diagram, 8, 57
Unified Modeling Language (UML), 56
USART, 77
USB-to-serial converter, 3
variables, 31
vibrating motor,
258
volatile, 15
while, 37

Get Arduino Microcontroller, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.