Open Hardware & RISC-V

Arduino Nano 33 BLE Sense Rev2 used to repurpose enclosures into USB HID gamepads

Key Takeaway

An Arduino Nano 33 BLE Sense Rev2 can function as a USB Human Interface Device (HID) to convert analog inputs into gamepad commands.

Summary

A maker project demonstrated how to repurpose non-electronic enclosures, specifically a broken cigarette rolling device, into functional retro arcade controllers. By utilizing an Arduino Nano 33 BLE Sense Rev2, the project converts physical inputs into digital signals compatible with standard computers.

The implementation relies on the microcontroller's ability to act as a USB Human Interface Device (HID). While the Nano 33 BLE Sense Rev2 features Bluetooth LE capabilities, the project specifically utilizes the USB interface to communicate joystick and button states to a host system.

Hardware implementation and HID communication

  • Microcontroller: The project utilizes the Arduino Nano 33 BLE Sense Rev2, which provides the processing power to poll input components.
  • Input Components: The controller integrates a KY-023 analog joystick and standard tactile buttons to capture user movement and actions.
  • Communication Protocol: The board functions as a USB HID (Human Interface Device), allowing it to be recognized by any computer as a standard gamepad without custom drivers.
  • Interface Utilization: Although the hardware supports Bluetooth LE, the controller operates via a wired USB connection to transmit input commands.

Why it matters

This demonstrates the versatility of the Arduino ecosystem for rapid prototyping of custom peripherals. It highlights how standard USB HID protocols allow hobbyists to create plug-and-play gaming hardware that works across various operating systems, including Linux-based gaming platforms.

Original reference: blog.arduino.cc →