Название: Make: Arduino Bots and Gadgets Six Embedded Projects with Open Source Hardware and Software Автор: Tero Karvinen, Kimmo Karvinen Издательство: Maker Media, Inc Год: 2011 Страниц: 296 Формат: PDF Размер: 27.4 Мб Язык: English
Want to build your own robots, turn your ideas into prototypes, control devices with a computer, or make your own cell phone applications? It's a snap with this book and the Arduino open source electronic prototyping platform. Get started with six fun projects and achieve impressive results quickly.
Contents
Preface vii 1. Introduction 1 Building Philosophy 1 Reusing Parts 4 Buying Components 6 Useful Tools 7 Electronic Circuit Theory Review 14 2. Arduino: The Brains of an Embedded System 17 Why Arduino 17 Starting with Arduino 18 Hello World with Arduino 22 Structure of'Hello World 25 Arduino Uno 27 Arduino Nano 28 3. Stalker Guard 29 What You'll Learn 30 Solderless Breadboard 31 Jumper Wire 33 Ping Ultrasonic Sensor 33 Vibration Motor 39 Combining Components to Make the Stalker Guard 41 Making the Motor Vibrate 41 Providing Power from a Battery 43 What's Next 43 Making an Enclosure 44 4. Insect Robot 53 What You'll Learn 54 Tools and Parts 54 Servo Motors 55 Constructing the Frame 59 Programming the Walk 67 Avoiding Obstacles Using Ultrasound 72 What's Next 77 5. Interactive Painting 79 What You'll Learn 80 Tools and Parts 80 Resistors 81 LEDs 83 Detecting Motion Using Ultrasonic Sensors 85 Moving Images 97 Installing Python 97 Hello World in Python 101 Communicating over the Serial Port 103 Displaying a Picture 107 Scaling an Image to Full Screen 107 Changing Images with Button Control 111 Gesture-Controlled Painting in Full Screen 113 Animating the Sliding Image 116 Connecting Arduino with Processing 122 Processing Code for the Painting 124 The Finished Painting 128 Creating an Enclosure 128 Building a Frame 132 6. Boxing Clock 137 What You'll Learn 137 Tools and Parts 138 Android Software Installation 138 Creating a Boxing Clock in Android 145 What's Next 176 7. Remote for a Smart Home 177 What You'll Learn 177 Tools and Parts 178 The Relay: A Controllable Switch 179 Hacking the Remote Control 181 Controlling the Arduino from the Computer 184 Creating a Graphical User Interface 190 The Finished Remote Control Interface 192 Creating an Enclosure 195 8. Soccer Robot 199 What You Will Learn 200 Continuous Rotation Servos 203 Modding a Standard Servo into a Continuous Rotation Servo 207 Connecting the Arduino to the Bluetooth Mate 211 Testing the Bluetooth Connection 215 Building a Frame for the Robot 217 Programming the Movements 228 Controlling Movement from a Computer 231 Steering with an Android Cell Phone 234 The Accelerometer 238 An Easier Approach to Bluetooth 242 Controlling the Robot with Cell Phone Motion 249 Completing the Soccer Robot 253 What's Next 262 A. tBlue Library for Android 263 Index 269
Скачать Make: Arduino Bots and Gadgets: Six Embedded Projects with Open Source Hardware and Software
|