Introduction |
|
1 | (6) |
|
|
1 | (1) |
|
|
2 | (1) |
|
Safety and Arduino Projects |
|
|
2 | (1) |
|
How This Book Is Organized |
|
|
3 | (3) |
|
Part I: Getting Started with Arduino Projects |
|
|
3 | (1) |
|
Part II: Basic Arduino Projects s |
|
|
4 | (1) |
|
Part III: The Interactive Home and Garden |
|
|
4 | (1) |
|
Part IV: Advanced Arduino Projects |
|
|
5 | (1) |
|
|
5 | (1) |
|
|
6 | (1) |
|
|
6 | (1) |
Part I. Getting Started with Arduino Projects |
|
7 | (56) |
|
Chapter 1 Exploring the World of Arduino |
|
|
9 | (10) |
|
|
10 | (1) |
|
Discovering Who Uses Arduino |
|
|
11 | (2) |
|
|
11 | (1) |
|
Arduino in the corporate world |
|
|
11 | (1) |
|
Making and hacking cominunities |
|
|
12 | (1) |
|
Understanding Microcontrollers |
|
|
13 | (4) |
|
Using tiny computers to do useful stuff |
|
|
15 | (2) |
|
|
17 | (2) |
|
Chapter 2 Setting Up Your Workspace and Tools |
|
|
19 | (22) |
|
|
19 | (3) |
|
Setting up your workspace |
|
|
20 | (2) |
|
|
22 | (8) |
|
Selecting and using your multimeter |
|
|
24 | (1) |
|
Selecting and using a power supply |
|
|
25 | (2) |
|
Understanding electricity and safety |
|
|
27 | (1) |
|
Working with breadboards, stripboards and perfboards |
|
|
28 | (2) |
|
Choosing Your Soldering Iron and Accessories |
|
|
30 | (2) |
|
Selecting Project Boxes and Housings |
|
|
32 | (1) |
|
Choosing Your Arduino or Arduino Kit |
|
|
33 | (4) |
|
Getting to know Arduino shields |
|
|
35 | (2) |
|
Setting Up Your Arduino on Your Computer |
|
|
37 | (4) |
|
Installing the Arduino IDE |
|
|
37 | (1) |
|
Installing drivers on Windows computers |
|
|
38 | (1) |
|
|
39 | (1) |
|
Installing Arduino drivers on Linux |
|
|
40 | (1) |
|
Chapter 3 Understanding the Basics |
|
|
41 | (22) |
|
Understanding Key Concepts |
|
|
41 | (10) |
|
|
43 | (1) |
|
Programming your Arduino using the IDE |
|
|
43 | (5) |
|
Extending your reach with libraries |
|
|
48 | (2) |
|
|
50 | (1) |
|
Understanding Basic Electronics |
|
|
51 | (3) |
|
|
52 | (1) |
|
|
52 | (1) |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
53 | (1) |
|
Identifying Electronic Components |
|
|
54 | (3) |
|
Reading schematic diagrams |
|
|
54 | (2) |
|
Reading parts placement diagrams |
|
|
56 | (1) |
|
Understanding Sensing and Actuating |
|
|
57 | (3) |
|
|
57 | (1) |
|
Understanding and using sensors |
|
|
57 | (2) |
|
Understanding and using actuators |
|
|
59 | (1) |
|
|
60 | (5) |
|
Moving from your breadboard to your project box |
|
|
60 | (1) |
|
Learning soldering basics |
|
|
61 | (2) |
Part II: Basic Arduino Projects |
|
63 | (90) |
|
Chapter 4 The All-Seeing Eye |
|
|
65 | (20) |
|
|
66 | (1) |
|
|
67 | (2) |
|
Understanding How the Code Works |
|
|
69 | (10) |
|
|
69 | (3) |
|
|
72 | (5) |
|
|
77 | (1) |
|
Stepping up and stepping down |
|
|
78 | (1) |
|
Understanding How the Hardware Works |
|
|
79 | (1) |
|
The Potential of a Potentiometer |
|
|
80 | (5) |
|
Chapter 5 Making a Light Pet |
|
|
85 | (22) |
|
|
86 | (1) |
|
|
87 | (2) |
|
Understanding How the Code Works |
|
|
89 | (13) |
|
|
89 | (1) |
|
|
90 | (4) |
|
|
94 | (2) |
|
Fooling your eyes with pulse-width modulation |
|
|
96 | (3) |
|
|
99 | (1) |
|
|
99 | (1) |
|
|
100 | (2) |
|
Understanding How the Hardware Works |
|
|
102 | (5) |
|
Chapter 6 Making a Scrolling Sign |
|
|
107 | (20) |
|
|
107 | (2) |
|
|
109 | (4) |
|
Understanding How the Code Works |
|
|
113 | (12) |
|
|
114 | (5) |
|
|
119 | (1) |
|
Displaying scrolling text |
|
|
120 | (5) |
|
Understanding How the Hardware Works |
|
|
125 | (2) |
|
|
125 | (1) |
|
|
125 | (2) |
|
Chapter 7 Building an Arduino Clock |
|
|
127 | (26) |
|
|
127 | (1) |
|
Selecting and Preparing Your Parts |
|
|
128 | (27) |
|
Assembling your RTC module |
|
|
131 | (3) |
|
Adding and testing your LCD display |
|
|
134 | (4) |
|
|
138 | (3) |
|
Adding your input buttons and a switch |
|
|
141 | (8) |
|
|
149 | (4) |
Part III: The Interactive Nome and Garden |
|
153 | (120) |
|
Chapter 8 Building a Keypad Entry System |
|
|
155 | (26) |
|
Selecting and Preparing Your Parts |
|
|
155 | (21) |
|
Selecting an electric lock mechanism |
|
|
159 | (2) |
|
Prototyping your keypad and display |
|
|
161 | (5) |
|
Coding and testing your keypad |
|
|
166 | (7) |
|
Adding and testing your relay |
|
|
173 | (3) |
|
Assembling and Installing Your System |
|
|
176 | (5) |
|
Chapter 9 Building an RFID Tag Reader |
|
|
181 | (20) |
|
|
182 | (2) |
|
|
182 | (1) |
|
|
183 | (1) |
|
RFID frequencies and protocols |
|
|
184 | (1) |
|
Building an ID-Innovations RFID Reader |
|
|
184 | (14) |
|
|
184 | (3) |
|
Assembling your RFID reader |
|
|
187 | (5) |
|
Programming your RFID reader |
|
|
192 | (6) |
|
Testing and Setting Your RFID Reader |
|
|
198 | (3) |
|
Chapter 10 Building an Automated Garden |
|
|
201 | (20) |
|
Creating a Watering System |
|
|
201 | (1) |
|
|
202 | (3) |
|
|
205 | (10) |
|
Building your moisture sensor : |
|
|
206 | (4) |
|
|
210 | (2) |
|
|
212 | (1) |
|
Building the breadboard circut |
|
|
213 | (2) |
|
Coding, Calibrating, and Testing |
|
|
215 | (6) |
|
|
216 | (1) |
|
|
217 | (1) |
|
Calibrating the sensor and flow rate |
|
|
218 | (2) |
|
|
220 | (1) |
|
Chapter 11 Building a Tweeting Pet Door |
|
|
221 | (22) |
|
|
222 | (2) |
|
|
224 | (4) |
|
Preparing Your Twitter Account |
|
|
228 | (3) |
|
|
231 | (8) |
|
|
231 | (1) |
|
Adding libraries for Ethernet and Twitter |
|
|
232 | (3) |
|
Adding your program logic |
|
|
235 | (4) |
|
|
239 | (4) |
|
Chapter 12 Building a Home Sensing Station |
|
|
243 | (30) |
|
Building Your Sensor Probes |
|
|
243 | (17) |
|
|
244 | (2) |
|
Building and testing your circuit |
|
|
246 | (5) |
|
Building your sensor probes |
|
|
251 | (4) |
|
Building your sensor shield |
|
|
255 | (5) |
|
Creating a Xively Account |
|
|
260 | (4) |
|
Programming Your Sensing Station |
|
|
264 | (11) |
|
|
264 | (3) |
|
Understanding the main loop |
|
|
267 | (3) |
|
Making sense of your sensor readings |
|
|
270 | (3) |
Part IV. Advanced Arduino Projects |
|
273 | (76) |
|
Chapter 13 Building a GPS Data Logger |
|
|
275 | (24) |
|
|
276 | (1) |
|
|
276 | (3) |
|
|
279 | (16) |
|
Assembling and testing the GPS shield |
|
|
279 | (8) |
|
Programming your data logger |
|
|
287 | (1) |
|
|
288 | (1) |
|
|
289 | (6) |
|
Collecting and Plotting GPS Data |
|
|
295 | (4) |
|
|
296 | (1) |
|
|
296 | (3) |
|
Chapter 14 Building a Remote-Controlled Car |
|
|
299 | (24) |
|
Selecting and Preparing Your Parts |
|
|
299 | (3) |
|
Building Your Detector and Drive |
|
|
302 | (12) |
|
Building your circuit on the breadboard |
|
|
302 | (3) |
|
|
305 | (2) |
|
Reading your remote control codes |
|
|
307 | (1) |
|
|
308 | (4) |
|
|
312 | (2) |
|
|
314 | (9) |
|
Chapter 15 Building an LEQ Cube |
|
|
323 | (26) |
|
|
324 | (2) |
|
|
326 | (13) |
|
Assembling the LED matrix |
|
|
326 | (6) |
|
Fabricating the enclosure |
|
|
332 | (7) |
|
|
339 | (7) |
|
|
340 | (2) |
|
|
342 | (1) |
|
|
343 | (3) |
|
Using the LED Cube Pattern Designer |
|
|
346 | (3) |
Part V. The Part of Tens |
|
349 | (20) |
|
Chapter 16 Ten Great Arduino Resources |
|
|
351 | (8) |
|
|
351 | (5) |
|
Arduino.cc and related forums |
|
|
352 | (1) |
|
|
352 | (1) |
|
|
353 | (1) |
|
|
353 | (1) |
|
|
354 | (1) |
|
|
354 | (1) |
|
|
355 | (1) |
|
|
355 | (1) |
|
|
356 | (3) |
|
|
356 | (1) |
|
|
356 | (1) |
|
|
357 | (2) |
|
Chapter 17 Ten Troubleshooting Tips |
|
|
359 | (10) |
|
Troubleshooting Your Hardware |
|
|
359 | (1) |
|
Checking Your Connections |
|
|
360 | (1) |
|
Confirming Your Power Is Correct |
|
|
361 | (1) |
|
Hunting for Odors and Hot Components |
|
|
362 | (1) |
|
Test Your Outputs on External Devices |
|
|
363 | (1) |
|
Testing Your Digital Pins |
|
|
363 | (1) |
|
Troubleshooting Your Software |
|
|
364 | (1) |
|
|
364 | (1) |
|
|
364 | (1) |
|
Checking Your Inputs and Outputs |
|
|
365 | (1) |
|
Using a Simulator or an Emulator |
|
|
365 | (1) |
|
|
366 | (3) |
Index |
|
369 | |