وبلاگ بلیان

پروژه‌های آردوینو و کینکت: طراحی، ساخت، شگفت‌زده کردن آن‌ها

Arduino and Kinect Projects: Design, Build, Blow Their Minds (Technology in Action)

جلد کتاب پروژه‌های آردوینو و کینکت: طراحی، ساخت، شگفت‌زده کردن آن‌ها

معرفی کتاب «پروژه‌های آردوینو و کینکت: طراحی، ساخت، شگفت‌زده کردن آن‌ها» (با عنوان لاتین Arduino and Kinect Projects: Design, Build, Blow Their Minds (Technology in Action)) نوشتهٔ Ramos Melgar, Enrique;Jaworski, Przemek;Castro Diez, Ciriaco، منتشرشده توسط نشر Apress; Distributed to the book trade worldwide by Springer Science+Business Media New York در سال 2012. این کتاب در 7 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است.

If you've done some Arduino tinkering and wondered how you could incorporate the Kinect—or the other way around—then this book is for you. The authors of Arduino and Kinect Projects will show you how to create 10 amazing, creative projects, from simple to complex. You'll also find out how to incorporate Processing in your project design—a language very similar to the Arduino language. The ten projects are carefully designed to build on your skills at every step. Starting with the Arduino and Kinect equivalent of "Hello, World," the authors will take you through a diverse range of projects that showcase the huge range of possibilities that open up when Kinect and Arduino are combined. Gesture-based Remote Control. Control devices and home appliances with hand gestures. Kinect-networked Puppet. Play with a physical puppet remotely using your whole body. Mood Lamps. Build your own set of responsive, gesture controllable LED lamps. Drawing Robot. Control a drawing robot using a Kinect-based tangible table. Remote-controlled Vehicle. Use your body gestures to control a smart vehicle. Biometric Station. Use the Kinect for biometric recognition and checking Body Mass Indexes. 3D Modeling Interface. Learn how to use the Arduino LilyPad to build a wearable 3D modelling interface. 360o Scanner. Build a turntable scanner and scan any object 360o using only one Kinect. Delta Robot. Build and control your own fast and accurate parallel robot. What you’ll learn Arduino and Kinect basics Interfacing Kinect and Arduino through Processing Communicating: Serial and communication over networks Interacting with the physical world: Sensors and actuators Volumetric Scanning Step-by-step instructions on a variety of Arduino/Kinect projects Who this book is for Intermediate to experienced gadget hackers who want to learn how to combine Arduino with Kinect, or who want inspiration for innovation. Table of Contents1. Arduino Basics 2. Kinect Basics 3. Interfacing Arduino and Kinect through Processing 4. Hello World: LED-me 5. Gesture-based Remote Control 6. Kinect-networked Puppet 7. Mood Lamps 8. Drawing Robot 9. Remote-controlled Vehicles 10. Biometric Station 11. 3D Modeling Interface 12. 360o Scanner 13. Delta Robot Title Page 2 Copyright Page 3 Contents at a Glance 5 Table of Contents 6 About the Authors 16 About the Technical Reviewer 17 Acknowledgments 18 Introduction 19 Chapter 1: Arduino Basics 22 What is Arduino? 23 A Brief History of Arduino 23 Installing Arduino 23 Installation on Mac OS X 23 Installation on Windows 24 Installation on Linux 24 Testing the Arduino 24 Arduino Hardware 26 Arduino Input and Output Pins 28 Digital Pins 28 Analog Input Pins 28 Pull-Up Resistors 29 Arduino Shields 30 Arduino IDE 31 Serial Monitor 32 Arduino Language 33 The setup() Function 33 The loop() Function 34 Variables 34 Variable Declaration and Initialization 34 Variable Scope 35 Your First Arduino Project 36 Breadboard 36 Building the Circuit 37 Programming the Arduino 38 The setup() Function 38 The loop() Function 39 Circuit Diagrams 39 Fritzing 39 Electronic Symbols 41 Electricity 41 AC/DC 42 Ohms Law 42 Joule’s Law 42 Summary 43 Chapter 2: Kinect Basics 44 A Brief History of the Kinect 46 Hacking the Kinect 46 Official Frameworks 46 The Kinect Sensor 47 Positioning your Kinect 48 Kinect Capabilities 48 RGB Image 48 IR Image 49 Depth Map 49 Hand and Skeleton Tracking 49 Kinect Drivers and Frameworks 49 OpenKinect: Libfreenect Drivers 49 PrimeSense: OpenNI and NITE 50 OpenNI 50 NITE 51 Microsoft Kinect for Windows 51 Kinect Theory 52 Structured-Light 3D Scanning 52 Converting the Light Coding Image to a Depth Map 54 Kinect Alternative: ASUS Xtion PRO 54 Summary 55 Chapter 3: Processing 56 Processing Language 57 Installing Processing 57 Processing IDE 58 A First Processing Sketch 59 Processing Variables 59 Variable Scope 59 Structure of a Processing Sketch 59 setup() Function 59 draw() Function 60 Processing Libraries 61 Simple-OpenNI 62 Installing Simple-OpenNI 62 Installation on Windows 63 Installation in Mac OS X 63 Installation on Linux 64 Accessing the Depth Map and RGB Image 65 The Third Dimension 67 Processing in 3D 67 Matrix Transforms 68 Camera Control Libraries 71 KinectOrbit Example 71 Kinect Space 73 Linear and Two-Dimensional Arrays 75 Coloring the Point Cloud 76 NITE Functions 77 Hand Tracking 78 Skeleton Tracking 79 Summary 81 Chapter 4: Arduino and Kinect: “Hello World” 82 Parts List for Hello World 83 Serial Communication 83 Serial-Controlled LED 84 Pulse Width Modulation 86 PWM-Controlled LED 86 Writing Your Own Communication Protocol 88 Serial-Controlled LEDs 88 Kinect-Controlled LEDs 90 Feedback from Arduino 93 Summary 97 Chapter 5: Kinect Remote Control 98 Parts List for Kinect Remote Control 98 Hacking a Remote Control 99 Connecting the Remote to Arduino 101 Assembling the Prototype Shield 104 Testing the Circuit 107 Kinect Hand Tracking and Gesture Recognition 110 Libraries and Setup 110 NITE Callbacks 112 Draw Loop and Other Functions 114 Connecting the Processing Sketch to Arduino 118 Summary 118 Chapter 6: Kinect Networked Puppet 119 The Puppet 120 Servos 120 Building the Stage 123 Building the Puppet 125 Building the Circuit 128 Testing the Servos 133 Setting the Servos to the Starting Position 135 Skeleton Tracking On-Screen 138 Simple-OpenNI Events 139 Angle Calculation 141 Network Communication 144 Communicating Within a Local Network 144 Communicating over the Internet 145 Server Applet: Sending the Angles over a Network 145 Client Applet: Controlling the Puppet 147 Final Arduino Code 150 Summary 152 Chapter 7: Mood Lamps 153 RGB Color Space 154 Arduino Nano 155 Building the Circuit 156 Resistors 159 Understanding Resistor Color Codes 160 Testing the Circuit 162 XBee Wireless Module 165 Arduino Programming 169 The Lamp Class 170 Object-Oriented Programming 170 Class Declaration 171 Field Description 171 Constructor 172 Methods 172 User Control Sketch 174 Variable Declaration 174 Setup() Function 174 Draw() Function 175 User Control 177 Lamp Control 177 Lamp Creation 179 Data Storage and Retrieval 180 Serial Communication 181 Display Functions 181 Simple-OpenNI Callbacks 183 Summary 184 Chapter 8: Kinect-Driven Drawing Robot 186 Building the Robot 189 Part 1 189 Part 2 190 Part 3 191 The Base 193 Building the Circuit 194 Testing the Circuit 195 Firmata and the Arduino Library for Processing 195 Servo Test 195 Robot Simulation 196 Angle Measuring Program 198 Robot Simulation Program 199 Driving the Physical Robot 202 Kinect: Tangible Table Interface 204 Calibrating the Point Cloud 206 Rotation Equations 207 Rotating the Point Cloud 208 Point Cloud Filtering 213 Finding the Finger Position 214 Virtual Robot Model 217 Polishing the Input 220 The Drawing Robot in Action 223 Summary 225 Chapter 9: Kinect Remote-Controlled Vehicles 226 Electrical Motors and the H-Bridge 227 Hacking a Car 229 Building the Circuit 231 Testing the Circuit 235 Setup Function 237 Draw Function 237 DrawVector Function 239 Car Function 239 SendSerial Function 240 Arduino Testing Sketch 241 Setup Function 241 Loop Function 241 Turning Functions 242 Move Functions 243 Enable/Disable Functions 243 Proximity Sensors 243 Setup Function 248 Loop Function 248 Move Functions 249 XBee and Wireless 249 Kinect RC Interface 251 Setup Function 253 Draw Function 254 Other Functions 255 Summary 260 Chapter 10: Biometric Station 261 Hacking a Bathroom Scale 262 Seven-Segment LCD 263 Hacking the LCD 264 Acquiring the LCD Signal 267 Reading the LCD Signal 268 Sending the Signal to Processing 272 Decoding the LCD Signal 274 Using the Weight Data 277 Implementing the Biometric Recognition 279 Imports and Variable Declaration 279 Setup Function 280 User Interface 281 Draw Function 283 Additional Functions 284 New User 284 Updating User Data 285 Updating User Height 286 Saving the User 288 User Recognition 288 Reading and Drawing the Chart 291 Graphic Output 293 Serial Event 294 Simple-OpenNI User Events 294 Summary 295 Chapter 11: 3D Modeling Interface 297 The Interface 298 Arduino LilyPad 300 Flex Sensors 301 Sewing the Circuit 302 Testing the Circuit 305 Arduino Serial Sender 305 Processing Glove Data Receiver 305 Going Wireless 307 LilyPad XBee 307 SoftwareSerial Library 308 Wireless Arduino Code 308 Implementing the Modeling Interface 310 The GloveInterface Class 310 Setter Functions 311 Display Functions 312 Calibrating the Interface 313 Geometric Classes 314 Point Class 314 Line Class 316 Shape Class 316 Modeling Interface Main Program 317 Imports and Fields 317 Setup Function 318 Draw Function 319 Additional Functions 321 Processing Callbacks 323 Simple-OpenNI Callbacks 324 Summary 325 Chapter 12: Turntable Scanner 326 The Theory 327 Building a Turntable 329 Connecting the Gears 331 Building the Circuit 336 Arduino Code 338 Processing Code 341 Variable Declaration 343 Setup and Draw Functions 344 Additional Functions 345 Exporting the Point Cloud 352 The exportPly Function 354 Surface Reconstruction in Meshlab 355 Summary 359 Chapter 13: Kinect-Controlled Delta Robot 360 About This Project 361 The Delta Robot 362 Building a Delta Robot 362 The Legs 362 The Base 365 The Effector 367 The Gripper 367 Hanging the Robot 370 Building the Circuit 372 Delta Robot Simulation Software 378 Inverse Kinematics 378 DeltaRobot Class 380 deltaLeg Class 385 Driving the Delta Robot Simulation with the Mouse 388 Kinect-Controlled Delta Robot 389 Gripper Control 394 Sending the Data to Arduino 397 Arduino Code 398 Summary 401 Index 402

If you've done some Arduino tinkering and wondered how you could incorporate the Kinect—or the other way around—then this book is for you. The authors of Arduino and Kinect Projects will show you how to create 10 amazing, creative projects, from simple to complex. You'll also find out how to incorporate Processing in your project design—a language very similar to the Arduino language.

The ten projects are carefully designed to build on your skills at every step. Starting with the Arduino and Kinect equivalent of "Hello, World," the authors will take you through a diverse range of projects that showcasethe huge range of possibilities that open up when Kinect and Arduino are combined.

  • Gesture-based Remote Control. Control devices and home appliances with hand gestures.
  • Kinect-networked Puppet. Play with a physical puppet remotely using your whole body.
  • Mood Lamps.Build your own set of responsive, gesture controllable LED lamps.
  • Drawing Robot.Control a drawing robot using a Kinect-based tangible table.
  • Remote-controlled Vehicle.Use your body gestures to controla smart vehicle.
  • Biometric Station. Use the Kinect for biometric recognition and checking Body Mass Indexes.
  • 3D Modeling Interface. Learn how to use the Arduino LilyPad to build a wearable 3D modelling interface.
  • 360o Scanner. Build a turntable scanner and scan any object 360ousing only one Kinect.
  • Delta Robot.Build and control your ownfast and accurate parallel robot.

What you’ll learn

  • Arduino and Kinect basics
  • Interfacing Kinect and Arduino through Processing
  • Communicating: Serial andcommunication over networks
  • Interacting with the physical world: Sensors and actuators
  • Volumetric Scanning
  • Step-by-step instructions on a variety of Arduino/Kinect projects
Who this book is for

Intermediate to experienced gadget hackers who want to learn how to combine Arduino with Kinect, or who want inspiration for innovation.

Table of Contents1. Arduino Basics
2. Kinect Basics
3. Interfacing Arduino and Kinect through Processing
4. Hello World: LED-me
5. Gesture-based Remote Control
6. Kinect-networked Puppet
7. Mood Lamps
8. Drawing Robot
9. Remote-controlled Vehicles
10.Biometric Station
11. 3D Modeling Interface
12. 360o Scanner
13. Delta Robot

Annotation If you've done some Arduino tinkering and wondered how you could incorporate the Kinector the other way aroundthen this book is for you. The authors ofArduino and Kinect Projectswill show you how to create 10 amazing, creative projects, from simple to complex. You'll also find out how to incorporate Processing in your project designa language very similar to the Arduino language. The ten projects are carefully designed to build on your skills at every step. Starting with the Arduino and Kinect equivalent of "Hello, World," the authors will take you through a diverse range of projects that showcasethe huge range of possibilities that open up when Kinect and Arduino are combined. Gesture-based Remote Control. Control devices and home appliances with hand gestures. Kinect-networked Puppet. Play with a physical puppet remotely using your whole body. Mood Lamps. Build your own set of responsive, gesture controllable LED lamps. Drawing Robot. Control a drawing robot using a Kinect-based tangible table. Remote-controlled Vehicle. Use your body gestures to controla smart vehicle. Biometric Station. Use the Kinect for biometric recognition and checking Body Mass Indexes.3D Modeling Interface. Learn how to use the Arduino LilyPad to build a wearable 3D modelling interface.360 Scanner. Build a turntable scanner and scan any object 360using only one Kinect. Delta Robot. Build and control your ownfast and accurate parallel robot. What youll learnArduino and Kinect basicsInterfacing Kinect and Arduino through ProcessingCommunicating: Serial andcommunication over networksInteracting with the physical world: Sensors and actuatorsVolumetric ScanningStep-by-step instructions on a variety of Arduino/Kinect projectsWho this book is forIntermediate to experienced gadget hackers who want to learn how to combine Arduino with Kinect, or who want inspiration for innovation. Table of Contents1. Arduino Basics2. Kinect Basics3. Interfacing Arduino and Kinect through Processing4. Hello World: LED-me5. Gesture-based Remote Control6. Kinect-networked Puppet7. Mood Lamps8. Drawing Robot9. Remote-controlled Vehicles10. Biometric Station11. 3D Modeling Interface12. 360 Scanner13. Delta Robot If you've done some Arduino tinkering and wondered how you could incorporate the Kinect--or the other way around--then this book is for you. The authors of Arduino and Kinect Projects will show you how to create 10 amazing, creative projects, from simple to complex. You'll also find out how to incorporate Processing in your project design--a language very similar to the Arduino language. The ten projects are carefully designed to build on your skills at every step. Starting with the Arduino and Kinect equivalent of "Hello, World," the authors will take you through a diverse range of projects that showcase the huge range of possibilities that open up when Kinect and Arduino are combined. Gesture-based Remote Control. Control devices and home appliances with hand gestures. Kinect-networked Puppet. Play with a physical puppet remotely using your whole body. Mood Lamps. Build your own set of responsive, gesture controllable LED lamps. Drawing Robot. Control a drawing robot using a Kinect-based tangible table. Remote-controlled Vehicle. Use your body gestures to control a smart vehicle. Biometric Station. Use the Kinect for biometric recognition and checking Body Mass Indexes. 3D Modeling Interface. Learn how to use the Arduino LilyPad to build a wearable 3D modelling interface. 360ð Scanner. Build a turntable scanner and scan any object 360ð using only one Kinect. Delta Robot. Build and control your own fast and accurate parallel robot
دانلود کتاب پروژه‌های آردوینو و کینکت: طراحی، ساخت، شگفت‌زده کردن آن‌ها