Schlagwort: Gaming Controller

  • A compact DIY controller for gaming or robotics

    A compact DIY controller for gaming or robotics

    Reading Time: 2 minutes

    Arduino TeamApril 14th, 2022

    Some of the best projects are the ones that take an already-existing product and recreate it from the ground up using easily accessible components. Jithin Sanal set out to do just this by designing and building a USB controller that can be used for a variety of tasks.

    The joystick is based around the Nano RP2040 Connect, which means that it not only contains a powerful dual-core Arm microcontroller, but also an accelerometer, gyroscope, an RGB LED, and a microphone. The ample amounts of memory and flash can enable small machine learning models to run as well for more advanced processing of motion/input data. Apart from the Arduino, the controller houses a pair of potentiometers, a two-axis joystick, and four buttons that act similar to a D-pad.

    After laying out the components in CAD and designing a PCB, Sanal was able to have it fabricated and then proceeded to solder it all together. The code driving everything polls each component to check if it’s active, in the case of a button, or its current analog value, in the case of a potentiometer. If a threshold is crossed, the Nano RP2040 Connect outputs the corresponding keypress over USB. 

    To see more about this project, you can read Sanal’s excellent project write-up here on Hackster.io.

    Website: LINK

  • A DIY USB gear stick for PC racing games

    A DIY USB gear stick for PC racing games

    Reading Time: < 1 minute

    A DIY USB gear stick for PC racing games

    Arduino TeamJuly 22nd, 2020

    If you’d like to add a gear stick to your virtual race car, then Oli Norwell has just the project for you.

    His USB device extends a joystick with a length of threaded rod through a custom-cut wooden plate, restricting movements to a 1-5/reverse/neutral layout. The shifter is held in different gear positions using magnets, in order to keep it from automatically springing back to center.

    An Arduino Leonardo reads the switch states, and passes along the shift positions as a simulated joystick in HID mode. Possible future improvements include extra buttons, mode selection switches, and even an LCD screen for feedback.

    Check it out sim-driving in the video below!

    [youtube https://www.youtube.com/watch?v=lWDyUr7-dn4?feature=oembed&w=500&h=281]

    Website: LINK