Introduction |
|
xi | |
|
Chapter 1 Introduction to Robotics |
|
|
1 | (10) |
|
|
1 | (1) |
|
|
2 | (1) |
|
Robots in Commercial Applications |
|
|
2 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
5 | (1) |
|
|
6 | (1) |
|
|
7 | (1) |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
Chapter 2 Build Your Own Robot Sweeper |
|
|
11 | (22) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
12 | (1) |
|
Part 1 Assembling the Robot |
|
|
12 | (21) |
|
|
12 | (1) |
|
Mounting the Arduino Board |
|
|
13 | (2) |
|
Mounting the Ardumoto Motor Driver Shield |
|
|
15 | (1) |
|
Mounting the Ultrasonic Sensor |
|
|
16 | (3) |
|
|
19 | (1) |
|
|
19 | (1) |
|
Controlling the Speed and Direction of a Motor |
|
|
20 | (2) |
|
Running Both Motors Using Function Calls |
|
|
22 | (2) |
|
Code for the Ultrasonic Sensor |
|
|
24 | (2) |
|
Part 3 Putting It All Together |
|
|
26 | (1) |
|
Complete Code for the Sweeper Robot |
|
|
27 | (5) |
|
|
32 | (1) |
|
Chapter 3 Traveling Robot |
|
|
33 | (24) |
|
|
33 | (1) |
|
|
33 | (1) |
|
|
34 | (1) |
|
|
34 | (5) |
|
How Does a Line Sensor Work? |
|
|
34 | (2) |
|
Assembling the Robot with the Sensors |
|
|
36 | (1) |
|
|
37 | (1) |
|
Using the lineSensorChk Sketch |
|
|
38 | (1) |
|
How the lineSensorChk Code Works |
|
|
39 | (1) |
|
|
39 | (4) |
|
|
40 | (2) |
|
|
42 | (1) |
|
Part 3 Learning to Use the Color Sensor |
|
|
43 | (8) |
|
Connections between the Color Sensor Pins and Arduino Board Pins |
|
|
47 | (1) |
|
lineClrSensor Sketch for Testing the Line Sensors and the Color Sensor |
|
|
48 | (1) |
|
Testing the lineClrSensor Sketch |
|
|
49 | (2) |
|
|
51 | (1) |
|
Part 4 Making the Robot Follow a Track and Stop at a Specific Point for a Prescribed Time |
|
|
51 | (6) |
|
lineandColorSensorTest Sketch |
|
|
51 | (4) |
|
|
55 | (1) |
|
|
56 | (1) |
|
|
57 | (16) |
|
|
57 | (1) |
|
|
57 | (1) |
|
|
58 | (1) |
|
Activity 1 Intruder Alarm with a Diode Laser and Photoresistor |
|
|
58 | (7) |
|
Sketch to Control the Laser |
|
|
61 | (1) |
|
|
61 | (1) |
|
Sketch to Control the Photoresistor |
|
|
61 | (2) |
|
|
63 | (1) |
|
Sketch Combining the Laser and the Photoresistor |
|
|
64 | (1) |
|
|
64 | (1) |
|
Activity 2 Proximity Alarm with an Ultrasonic Range Sensor |
|
|
65 | (2) |
|
Sketch for the Proximity Alarm |
|
|
66 | (1) |
|
|
67 | (1) |
|
Activity 3 Touch Sensor and Alarm |
|
|
67 | (2) |
|
Sketch for the Touch Sensor |
|
|
68 | (1) |
|
|
69 | (1) |
|
Activity 4 Keyboard and LEDs |
|
|
69 | (4) |
|
Sketch to Light Up LEDs with Touch |
|
|
70 | (2) |
|
|
72 | (1) |
|
|
72 | (1) |
|
Chapter 5 Robot Networking and Communications with Wi-Fi |
|
|
73 | (16) |
|
|
73 | (1) |
|
|
73 | (2) |
|
|
75 | (1) |
|
Part 1 Installing the Wi-Fi Sensor and Connecting to Your Network |
|
|
75 | (6) |
|
Connecting to an Open Network |
|
|
79 | (1) |
|
Connecting to a Closed Network |
|
|
80 | (1) |
|
Part 2 Creating a Telnet Server |
|
|
81 | (8) |
|
For Microsoft Windows Users |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
85 | (3) |
|
|
88 | (1) |
|
Chapter 6 Robot Medical Assistant |
|
|
89 | (12) |
|
|
89 | (1) |
|
|
89 | (1) |
|
|
90 | (1) |
|
Program Components and Connections |
|
|
90 | (4) |
|
|
94 | (2) |
|
|
96 | (3) |
|
|
99 | (2) |
|
|
101 | (20) |
|
|
101 | (1) |
|
|
101 | (1) |
|
|
102 | (1) |
|
Part 1 Measuring and Displaying Ambient Temperature |
|
|
102 | (6) |
|
|
103 | (3) |
|
|
106 | (1) |
|
|
107 | (1) |
|
Part 2 Data Logging Activities |
|
|
108 | (13) |
|
Activity 1 Initializing the SD Card Reader |
|
|
109 | (2) |
|
Activity 2 Writing Data to an SD Card |
|
|
111 | (4) |
|
Activity 3 Reading Data from a File |
|
|
115 | (2) |
|
Activity 4 Logging Temperature Data |
|
|
117 | (3) |
|
|
120 | (1) |
|
Chapter 8 Remote-Controlled User Interfaces |
|
|
121 | (20) |
|
|
121 | (1) |
|
|
121 | (1) |
|
|
122 | (2) |
|
A Graphical Control for Arduino |
|
|
124 | (1) |
|
|
125 | (1) |
|
|
125 | (1) |
|
Downloading and Installing NetBeans |
|
|
126 | (1) |
|
|
127 | (4) |
|
Creating the User Interface |
|
|
131 | (7) |
|
|
138 | (1) |
|
|
139 | (2) |
|
|
141 | (8) |
|
|
141 | (1) |
|
|
141 | (1) |
|
|
142 | (1) |
|
|
142 | (4) |
|
The Complete Relevant Code Blocks |
|
|
146 | (1) |
|
|
146 | (1) |
|
|
146 | (2) |
|
|
148 | (1) |
|
Chapter 10 Light and Sound |
|
|
149 | (20) |
|
|
149 | (1) |
|
|
149 | (1) |
|
|
149 | (1) |
|
Part 1 Connect the NeoPixel Ring to the Arduino and Program Pixel Colors |
|
|
150 | (12) |
|
|
154 | (2) |
|
|
156 | (1) |
|
|
157 | (1) |
|
|
158 | (1) |
|
|
159 | (2) |
|
|
161 | (1) |
|
Part 2 Attaching the Microphone |
|
|
162 | (3) |
|
|
164 | (1) |
|
|
164 | (1) |
|
Part 3 Putting It All Together |
|
|
165 | (4) |
|
|
166 | (1) |
|
|
167 | (1) |
|
|
168 | (1) |
|
Chapter 11 Android App Controller |
|
|
169 | (30) |
|
|
169 | (1) |
|
|
170 | (1) |
|
|
170 | (1) |
|
Part 1 Getting Ready for Android |
|
|
170 | (15) |
|
Android Programming Architecture and Language |
|
|
171 | (1) |
|
Installing the Android Developer Kit |
|
|
172 | (3) |
|
Installing the Genymotion Android Emulator |
|
|
175 | (5) |
|
Creating a Sample Application |
|
|
180 | (5) |
|
Part 2 Creating an Arduino Controller App |
|
|
185 | (14) |
|
|
198 | (1) |
|
Chapter 12 Additional Robotics Applications |
|
|
199 | (5) |
|
|
199 | (1) |
|
|
200 | (1) |
|
Robots in the Military and Law Enforcement |
|
|
201 | (1) |
|
Robots in Industrial Applications |
|
|
202 | (1) |
|
|
202 | (1) |
|
|
202 | (1) |
|
|
203 | (1) |
Conclusion |
|
204 | (1) |
Appendix A Materials Required for the Projects |
|
205 | (4) |
Glossary |
|
209 | (4) |
Index |
|
213 | |