joojoooo / Bluetooth-Xbox360-Controller

Making the Xbox 360 Controller Bluetooth compatible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bluetooth Xbox 360 Controller

Video

https://youtu.be/J1_S5z4gUoo

Click to watch video

🎯 About

Making the Xbox 360 controller (both wired and wireless versions) Bluetooth compatible. The Pico is used to read USB data from either the wired Xbox 360 controller (not tested) or the Xbox 360 Wireless Receiver for Windows. The ESP32 is used to make the Bluetooth controller.

✅ Requirements

  • Xbox 360 Wireless Receiver or wired controller
  • OTG Y splitter cable (not required but makes it easier to connect USB A and power).
  • ESP32-WROOM-32 for bluetooth support
  • Raspberry Pi Pico for USB Full Speed host support

A Pi Pico W is a better alternative, it has both bluetooth and USB host support but I don't have one, I just used what I had.

🏁 Installation

  • Compile and upload Gamepad.ino to the ESP32 using ArduinoIDE
  • Load gamepad.uf2 in the Pico
  • Connect the boards: SPI0 on the Pico to VSPI on the ESP32 (as in the picture)

I glued the Pico under the ESP32, it fits perfectly.

Connections

This is how the Pico and ESP32 are connected together:

  • Pico Vout (5V) is connected to ESP32 5V
  • Pico GND to ESP32 GND
  • Pico GPIO 17 to ESP32 GPIO 5
  • Pico GPIO 18 to ESP32 GPIO 18
  • Pico GPIO 19 to ESP32 GPIO 23
  • Serial UART connection is optional, for debug

About

Making the Xbox 360 Controller Bluetooth compatible


Languages

Language:C 75.8%Language:C++ 18.1%Language:CMake 6.1%