Skip to Main Content
Arduino in Action
book

Arduino in Action

by Martin Evans, Jordan Hochenbaum, Joshua Noble
May 2013
Beginner content levelBeginner
368 pages
12h 20m
English
Manning Publications
Content preview from Arduino in Action

Chapter 9. Game on

This chapter covers

  • Connecting an Arduino to a Wii Nunchuk
  • Arduino port manipulation
  • Connecting an Arduino to an Xbox controller
  • Using the USB Host Shield

It’s time to dig out that old game controller that’s lying unused in the cupboard, or alternatively, borrow one from your kids. Game controllers are a great way to control things on the Arduino. From robots to flying vehicles, they tend to be relatively low-cost because so many were mass-produced, and eBay and junk sales also offer a steady second-hand supply.

We’ll start by looking at one of the controllers made for the Nintendo Wii games console—the versatile Nunchuk. Then we’ll look at one of its main rivals, the Microsoft Xbox 360 and its USB controller. You’ll ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Arduino Internals

Arduino Internals

Dale Wheat
Pro Arduino

Pro Arduino

Rick Anderson, Dan Cervo

Publisher Resources

ISBN: 9781617290244Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link