About the Author |
|
vii | |
About the Technical Reviewers |
|
ix | |
Warning |
|
xi | |
Introduction |
|
xiii | |
|
Chapter 1 A Background on Technology |
|
|
1 | (16) |
|
The Difference Between Science and Technology |
|
|
1 | (6) |
|
|
7 | (4) |
|
|
11 | (6) |
|
|
13 | (1) |
|
|
14 | (3) |
|
Chapter 2 Computers and the Binary System |
|
|
17 | (20) |
|
|
17 | (5) |
|
|
22 | (4) |
|
|
26 | (6) |
|
|
32 | (5) |
|
|
34 | (2) |
|
|
36 | (1) |
|
Chapter 3 Microcontrollers |
|
|
37 | (24) |
|
Describing Microcontrollers |
|
|
37 | (6) |
|
|
43 | (18) |
|
|
57 | (2) |
|
|
59 | (2) |
|
Chapter 4 More Loops, and More Elegant Methods to Flash an LED |
|
|
61 | (22) |
|
|
61 | (5) |
|
Controlling Embedded Processes |
|
|
66 | (6) |
|
|
72 | (5) |
|
Intermittent Windshield Wiper Control with Arduino |
|
|
77 | (6) |
|
|
79 | (3) |
|
|
82 | (1) |
|
|
82 | (1) |
|
Chapter 5 Serial Communications |
|
|
83 | (30) |
|
The Binary Number System and ASCII Code |
|
|
83 | (3) |
|
Simulating Artificial Intelligence |
|
|
86 | (9) |
|
Designing a Serial Communications Game |
|
|
95 | (10) |
|
Finding Odd and Even Numbers |
|
|
105 | (1) |
|
A Recipe Quantity Calculator for Baked Goods |
|
|
106 | (7) |
|
|
110 | (2) |
|
|
112 | (1) |
|
Chapter 6 Having Fun with Programming |
|
|
113 | (30) |
|
|
113 | (10) |
|
Perfecting Random Numbers |
|
|
123 | (7) |
|
|
130 | (5) |
|
|
135 | (1) |
|
|
136 | (7) |
|
|
140 | (2) |
|
|
142 | (1) |
|
Chapter 7 More Game Programming, with a Detailed Explanation |
|
|
143 | (14) |
|
Coding the Game 21: First Attempt |
|
|
143 | (8) |
|
Coding the Game 21: Second Attempt |
|
|
151 | (3) |
|
|
154 | (2) |
|
|
156 | (1) |
|
Chapter 8 Electronic Projects |
|
|
157 | (54) |
|
|
157 | (3) |
|
Dimming an LED with Pulse Width Modulation |
|
|
160 | (2) |
|
Controlling an LED Using a Light Sensor |
|
|
162 | (4) |
|
Coding a Frequency Counter |
|
|
166 | (6) |
|
|
172 | (4) |
|
Counter with Seven-Segment Display (with Driver IC) |
|
|
176 | (4) |
|
Dice Game with Seven-Segment Display (with Driver IC) |
|
|
180 | (5) |
|
Counter with Seven-Segment Display (No Driver IC) |
|
|
185 | (4) |
|
Dice Game with Seven-Segment Display (No Driver IC) |
|
|
189 | (8) |
|
Electronic Dice Game with LEDs |
|
|
197 | (14) |
|
|
207 | (2) |
|
|
209 | (2) |
|
Chapter 9 More Elaborate Projects |
|
|
211 | (40) |
|
Coding a More Functional Poker Game |
|
|
211 | (11) |
|
Coding a More Functional Game of 21 |
|
|
222 | (13) |
|
Using the Arduino to Transmit Morse Code |
|
|
235 | (16) |
|
Chapter 10 Capstone Projects |
|
|
251 | (26) |
|
Building an Audio Morse Code Reader |
|
|
251 | (6) |
|
Building an Audio Morse Code Decoder |
|
|
257 | (3) |
|
Team Project 1 IR Morse Code Link |
|
|
260 | (7) |
|
Team Project 2 IR Control Link |
|
|
267 | (4) |
|
Coding Math Combination Word Problems |
|
|
271 | (6) |
|
|
277 | (12) |
|
Using and Writing Libraries |
|
|
277 | (3) |
|
Answers to Chapter Review Questions and Projects |
|
|
280 | (7) |
|
|
280 | (1) |
|
|
281 | (1) |
|
|
282 | (1) |
|
|
283 | (1) |
|
|
284 | (1) |
|
|
285 | (1) |
|
|
286 | (1) |
|
|
286 | (1) |
|
|
287 | (2) |
Index |
|
289 | |