Anything can become a USB gamepad, even an old cigarette rolling device | Arduino Blog

Smoking is a bad habit and, if you manage to quit, it might also leave you with some useless stuff lying around – such as a cigarette rolling device.With an Arduino board, a few buttons, and a joystick, you can turn anything into a USB gamepad or arcade controller.A self-taught electronics technician and maker, Shredermann proved that by repurposing an old cigarette roller as an enclosure for his controller.

This little contraption was originally meant for rolling cigarettes: a thing that people still do, usually to save money.The mechanism inside was broken, but Shredermann noticed that the outer enclosure was about the right size and shape for a small gamepad.In particular, he wanted a controller for retro arcade gaming.

That only requires a single joystick and a few buttons, so it is ideal for the size.That was easy to accomplish using an Arduino Nano 33 BLE Sense Rev2 board.And in fact, the Bluetooth LE connectivity wasn’t even necessary, because it connects through USB.

So, you could do the same thing with a board that doesn’t have BLE! The only other components are a KY-023 analog joystick and some buttons.The board polls the joystick and buttons, then sends those input commands to the connected computer as a USB HID.The only hard part was cutting holes in that cigarette roller enclosure and fitting the components.

If you’re building your own controller, you’ll have to figure out how to do that bit.This controller would work with any computer, but Shredermann paired it with an Arduino UNO Q board!

Read More
Related Posts