Introduction |
|
1 | (22) |
|
|
1 | (1) |
|
|
1 | (1) |
|
|
2 | (9) |
|
|
11 | (4) |
|
|
15 | (1) |
|
|
15 | (1) |
|
What I Assume You Already Know |
|
|
16 | (1) |
|
How This Book Is Organised |
|
|
16 | (2) |
|
|
18 | (2) |
|
|
20 | (1) |
|
|
20 | (3) |
Adventure 1 Setting Up Your Arduino |
|
23 | (24) |
|
|
22 | (1) |
|
Downloading and Installing the Arduino Software on Your Computer |
|
|
22 | (7) |
|
Installing Arduino Software on a Mac |
|
|
24 | (1) |
|
Installing Arduino Software on a Windows PC |
|
|
25 | (2) |
|
Installing Arduino Software on a Linux Machine |
|
|
27 | (1) |
|
Exploring the Arduino IDE |
|
|
27 | (2) |
|
Using Blink to Test That Everything Is Set Up Correctly |
|
|
29 | (9) |
|
|
30 | (3) |
|
Troubleshooting Common Problems |
|
|
33 | (5) |
|
|
38 | (7) |
|
|
38 | (1) |
|
Understanding Circuit Schematics |
|
|
38 | (3) |
|
|
41 | (2) |
|
Building Your First Circuit |
|
|
43 | (2) |
|
Further Adventures with Arduino |
|
|
45 | (2) |
Adventure 2 Reading from Sensors |
|
47 | (32) |
|
|
47 | (1) |
|
|
48 | (6) |
|
Printing Messages to the Computer |
|
|
54 | (4) |
|
Reading Data from a Potentiometer |
|
|
58 | (4) |
|
|
62 | (2) |
|
Building a Status Message Sign |
|
|
64 | (13) |
|
|
64 | (1) |
|
Understanding the Circuit |
|
|
65 | (1) |
|
Prototyping on a Breadboard |
|
|
66 | (1) |
|
|
67 | (4) |
|
|
71 | (20) |
|
Cutting Holes for the Potentiometer and LEDs |
|
|
72 | (1) |
|
Adding the Status Messages and Decorating the Sign |
|
|
72 | (1) |
|
|
73 | (3) |
|
Inserting the Electronics |
|
|
76 | (1) |
|
Further Adventures with Arduino |
|
|
77 | (2) |
Adventure 3 Working with Servos |
|
79 | (30) |
|
|
79 | (2) |
|
Understanding Different Types of Motors |
|
|
81 | (1) |
|
Controlling a Servo with Arduino |
|
|
82 | (3) |
|
Repeating the Same Thing Over and Over |
|
|
85 | (2) |
|
Digital Input with a Push Button |
|
|
87 | (4) |
|
Building a Combination Safe |
|
|
91 | (16) |
|
|
92 | (2) |
|
Understanding the Circuit |
|
|
94 | (1) |
|
Prototyping on a Breadboard |
|
|
95 | (1) |
|
|
95 | (7) |
|
|
102 | (2) |
|
|
104 | (3) |
|
Inserting the Electronics |
|
|
107 | (1) |
|
Further Adventures with Arduino |
|
|
107 | (2) |
Adventure 4 Using Shift Registers |
|
109 | (32) |
|
|
110 | (1) |
|
|
111 | (6) |
|
|
111 | (4) |
|
|
115 | (2) |
|
Getting More Outputs with Shift Registers |
|
|
117 | (12) |
|
How a Shift Register Works |
|
|
118 | (1) |
|
|
118 | (1) |
|
|
119 | (1) |
|
|
119 | (1) |
|
Making the Connections for a Shift Register |
|
|
119 | (3) |
|
|
122 | (1) |
|
|
123 | (4) |
|
Adding More Shift Registers |
|
|
127 | (2) |
|
Building Your Name in Lights |
|
|
129 | (10) |
|
|
130 | (1) |
|
Understanding the Circuit |
|
|
131 | (1) |
|
Prototyping on a Breadboard |
|
|
131 | (1) |
|
|
132 | (4) |
|
|
136 | (1) |
|
|
137 | (1) |
|
Inserting the Electronics |
|
|
138 | (1) |
|
Further Adventures with Shift Registers |
|
|
139 | (2) |
Adventure 5 Playing Sounds |
|
141 | (26) |
|
|
141 | (1) |
|
|
142 | (8) |
|
Making Your Intentions Known |
|
|
144 | (2) |
|
|
146 | (1) |
|
|
146 | (4) |
|
|
150 | (5) |
|
|
151 | (1) |
|
|
151 | (4) |
|
Building an Augmented Wind Chime |
|
|
155 | (10) |
|
|
157 | (1) |
|
Understanding the Circuit |
|
|
158 | (1) |
|
Prototyping on a Breadboard |
|
|
158 | (2) |
|
|
160 | (1) |
|
|
160 | (8) |
|
|
162 | (1) |
|
|
162 | (2) |
|
|
164 | (1) |
|
Connecting the Electronics |
|
|
164 | (1) |
|
Further Adventures with Sound |
|
|
165 | (2) |
Adventure 6 Adding Libraries |
|
167 | (32) |
|
|
167 | (1) |
|
|
168 | (13) |
|
|
171 | (3) |
|
|
174 | (7) |
|
|
175 | (1) |
|
|
176 | (5) |
|
|
181 | (6) |
|
|
181 | (2) |
|
|
183 | (1) |
|
|
184 | (3) |
|
|
187 | (10) |
|
|
187 | (1) |
|
Understanding the Circuit |
|
|
188 | (1) |
|
Prototyping on a Breadboard |
|
|
189 | (1) |
|
|
190 | (3) |
|
|
193 | (7) |
|
Making a Papier Mache Ball |
|
|
193 | (2) |
|
Soldering the Electronics |
|
|
195 | (1) |
|
Connecting the Electronics |
|
|
196 | (1) |
|
Further Adventures with Libraries |
|
|
197 | (2) |
Adventure 7 Working with the Arduino Leonardo |
|
199 | (24) |
|
|
199 | (1) |
|
Introducing the Arduino Leonardo |
|
|
200 | (6) |
|
Connecting Your Leonardo for the First Time |
|
|
201 | (2) |
|
|
203 | (3) |
|
|
206 | (5) |
|
|
208 | (2) |
|
|
210 | (1) |
|
Building a Game Controller |
|
|
211 | (10) |
|
|
212 | (1) |
|
|
212 | (2) |
|
|
214 | (6) |
|
Making the Controller Cover |
|
|
220 | (1) |
|
|
220 | (1) |
|
Further Adventures with the Leonardo |
|
|
221 | (2) |
Adventure 8 Working with the Lilypad Arduino USB |
|
223 | (28) |
|
|
224 | (1) |
|
Introducing the Lilypad Arduino USB |
|
|
224 | (6) |
|
Blinking from a Lilypad Arduino |
|
|
226 | (2) |
|
Prototyping Soft Circuits |
|
|
228 | (2) |
|
Getting Clever with Arrays |
|
|
230 | (6) |
|
Passing Data Between Functions |
|
|
236 | (3) |
|
|
239 | (10) |
|
|
240 | (1) |
|
Understanding The Circuit |
|
|
241 | (2) |
|
Prototyping with Alligator Clips |
|
|
241 | (1) |
|
|
242 | (1) |
|
|
243 | (3) |
|
|
246 | (7) |
|
|
246 | (1) |
|
|
247 | (2) |
|
Further Adventures with the Lilypad |
|
|
249 | (2) |
|
|
250 | (1) |
Adventure 9 The Big Adventure: Building a Marble Maze Game |
|
251 | (36) |
|
|
252 | (1) |
|
|
253 | (8) |
|
Sensing Vibrations with Piezos |
|
|
253 | (1) |
|
Setting a Points Threshold |
|
|
254 | (4) |
|
|
258 | (1) |
|
|
259 | (2) |
|
Part Two: Designing Your Maze Game |
|
|
261 | (4) |
|
|
261 | (1) |
|
|
262 | (1) |
|
|
263 | (2) |
|
Part Three: Writing the Code |
|
|
265 | (15) |
|
|
265 | (1) |
|
|
266 | (3) |
|
|
269 | (1) |
|
Keeping Track of the High Score |
|
|
270 | (2) |
|
|
272 | (8) |
|
Part Four: Building the Maze Game |
|
|
280 | (5) |
|
|
280 | (2) |
|
|
282 | (1) |
|
Assembling the LEDs and Button |
|
|
283 | (1) |
|
Completing the Finishing Touches |
|
|
284 | (1) |
|
Further Adventures: Continuing Your Adventures with Arduino |
|
|
285 | (2) |
Appendix A Where to Go From Here |
|
287 | (6) |
|
More Boards, Shields, Sensors and Actuators |
|
|
287 | (1) |
|
|
287 | (1) |
|
|
288 | (1) |
|
|
288 | (1) |
|
|
288 | (1) |
|
|
289 | (1) |
|
|
289 | (1) |
|
|
289 | (1) |
|
|
289 | (4) |
|
Getting Started with Arduino and General Projects |
|
|
290 | (1) |
|
|
290 | (1) |
|
Soft Circuits and Wearables |
|
|
290 | (1) |
|
|
290 | (3) |
Appendix B Where to Get Tools and Components |
|
293 | (2) |
|
|
291 | (1) |
|
|
292 | (1) |
|
|
292 | (1) |
|
|
292 | (1) |
|
|
292 | (3) |
|
Online Stores Shipping from the EU |
|
|
292 | (1) |
|
Online Stores Shipping from the US or Canada |
|
|
293 | (2) |
Glossary |
|
295 | (8) |
Index |
|
303 | |