Control DC Motor with an Xbox One controller

October 10, 2018 ยท View on GitHub

Image of Xbox One Controlling a motor

Demonstrate using an Xbox One to control motor speed. This projects uses the USB host capability of the SAMD21. The USB Host Library for SAMD is required to make this work.

The Boring Company (Elon Musk's tunnel digging company) uses an Xbox controller.

Dependencies

Components

  • 1 x Adafruit Feather M0 Express
  • 1 x Adafruit FeatherWing Motor Controller
  • 1 x Microsoft Xbox One Controller
  • 1 x USB OTG to host cable or adapter
  • 1 x USB micro cable
  • 1 x 5V, 2A power pack
  • 1 x CP2104 USB serial