Wiley.com
Print this page Share

Arduino Sketches: Tools and Techniques for Programming Wizardry

ISBN: 978-1-118-91960-6
480 pages
January 2015
Arduino Sketches: Tools and Techniques for Programming Wizardry (1118919602) cover image

Description

Master programming Arduino with this hands-on guide

Arduino Sketches is a practical guide to programming the increasingly popular microcontroller that brings gadgets to life. Accessible to tech-lovers at any level, this book provides expert instruction on Arduino programming and hands-on practice to test your skills. You'll find coverage of the various Arduino boards, detailed explanations of each standard library, and guidance on creating libraries from scratch – plus practical examples that demonstrate the everyday use of the skills you're learning. Work on increasingly advanced programming projects, and gain more control as you learn about hardware-specific libraries and how to build your own. Take full advantage of the Arduino API, and learn the tips and tricks that will broaden your skillset.

The Arduino development board comes with an embedded processor and sockets that allow you to quickly attach peripherals without tools or solders. It's easy to build, easy to program, and requires no specialized hardware. For the hobbyist, it's a dream come true – especially as the popularity of this open-source project inspires even the major tech companies to develop compatible products. Arduino Sketches is a practical, comprehensive guide to getting the most out of your Arduino setup. You'll learn to:

  • Communicate through Ethernet, WiFi, USB, Firmata, and Xbee
  • Find, import, and update user libraries, and learn to create your own
  • Master the Arduino Due, Esplora, Yun, and Robot boards for enhanced communication, signal-sending, and peripherals
  • Play audio files, send keystrokes to a computer, control LED and cursor movement, and more

This book presents the Arduino fundamentals in a way that helps you apply future additions to the Arduino language, providing a great foundation in this rapidly-growing project. If you're looking to explore Arduino programming, Arduino Sketches is the toolbox you need to get started.

See More

Table of Contents

Introduction xxix

Part I Introduction to Arduino 1

Chapter 1 Introduction to Arduino 3

Chapter 2 Programming for the Arduino 25

Chapter 3 Electronics Basics 45

Part 2 Standard Libraries 63

Chapter 4 The Arduino Language 65

Chapter 5 Serial Communication 81

Chapter 6 EEPROM 101

Chapter 7 SPI 117

Chapter 8 Wire 133

Chapter 9 Ethernet 149

Chapter 10 WiFi 169

Chapter 11 LiquidCrystal 191

Chapter 12 SD 207

Chapter 13 TFT 225

Chapter 14 Servo 241

Chapter 15 Stepper 253

Chapter 16 Firmata 261

Chapter 17 GSM 271

Part III Device Specifi c Libraries 289

Chapter 18 Audio 291

Chapter 19 Scheduler 305

Chapter 20 USBHost 321

Chapter 21 Esplora 335

Chapter 22 Robot 345

Chapter 23 Bridge 361

Part IV User Libraries and Shields 375

Chapter 24 Importing Third-Party Libraries 377

Chapter 25 Creating Your Own Shield 391

Chapter 26 Creating Your Own Library 405

Index 429

See More

Author Information

James A. Langbridge is a software consultant specializing in embedded systems and code optimization including bootl oader code, system initialization, and code optimization. He has a history in in robotics, mobile phones, and seismic detection systems, with over 10 years in the aviation, defense, industry and telecom sectors, and served as an R&D consultant for ST Microelectronics and Amtel. James has also been called upon to train development teams and coach junior developers to their maximum potential.

See More

Downloads

Download TitleSizeDownload
ReadMe 491 bytes Click to Download
Chapter 5 Code 673 bytes Click to Download
Chapter 6 Code 1.00 KB Click to Download
Chapter 7 Code 771 bytes Click to Download
Chapter 8 Code 1.17 KB Click to Download
Chapter 9 Code 1.92 KB Click to Download
Chapter 10 Code 12.21 KB Click to Download
Chapter 11 Code 770 bytes Click to Download
Chapter 12 Code 4.28 KB Click to Download
Chapter 13 Code 99.24 KB Click to Download
Chapter 14 Code 5.70 KB Click to Download
Chapter 15 Code 13.20 KB Click to Download
Chapter 17 Code 3.34 KB Click to Download
Chapter 18 Code 1.14 KB Click to Download
Chapter 19 Code 1.10 KB Click to Download
Chapter 20 Code 593 bytes Click to Download
Chapter 21 Code 401 bytes Click to Download
Chapter 22 Code 476 bytes Click to Download
Chapter 23 Code 886 bytes Click to Download
Chapter 24 Code 36.95 KB Click to Download
Chapter 25 Code 36.95 KB Click to Download
Chapter 26 Code 1.96 KB Click to Download
See More

Errata

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
49 Errata in Text
The text below Figure 3-2 currently reads:
0.3 amps, or 30 milliamps

Should read:
0.03 amps, or 30 milliamps
02-Feb-16
4 68 Errata in Text
The text currently reads:
A 10-bit device can distinguish 210 different values?or a total of 1,024 values.
It should read:
A 10-bit device can distinguish 2^10 different values?or a total of 1,024 values.
Note:
Chapter 4 Page 68, first line
15-Nov-16
See More

Related Titles

Back to Top