loading
1Instructables5,815Views9Comments

Tell us about yourself!

Complete Your Profile
  • DrTrigon followed frank260801151 week ago
      • LED Pocket Watch
      • Easy Cord Wrapping Around Power Bricks
      • Using SMD Components on Breadboards
  • RC Transmitter to USB Gamepad Using Arduino

    Thanks for your hints. I had to modify libraries/HIDJoy/HIDJoy.cpp, libraries/HIDJoy/HIDJoy.h and libraries/HIDJoy/usbconfig.h according to e.g. http://eleccelerator.com/tutorial-about-usb-hid-r... . It works very nicely with 1 button (and is trivially expandable up to 8) and also with 6 axes. What I was not able to get running yet is 8 axes. Even though the gamepad does get recognized by the OS, the values don't change. What is the size limit on the gameReport struct? I would guess 64 byte, but it seams that 9 does not work either... Or I used the wrong axes ("Slider")?For convenience I put it on gist: https://gist.github.com/drtrigon/0458d5d3bb55c841...

    View Instructable »
  • DrTrigon made the instructable RC Transmitter to USB Gamepad Using Arduino2 weeks ago
    RC Transmitter to USB Gamepad Using Arduino

    Here the picture of my box. It is an Arduino UNO with a shield on top; lower-left corner is the USB interface, upper-right is the PPM port. Enjoy!

    View Instructable »
  • RC Transmitter to USB Gamepad Using Arduino

    Sure I'll do that.Meanwhile I also tested it with my old Futaba FC-28 and that works too! Very nice! ;)I do have the issue that it does not work with https://fpv-freerider.itch.io/fpv-freerider (source engine based I guess). I assume it is related to how libudev handles the device. I found I need a joystick with at least 1 button in order for the software/game to assign and use it. Can you give me a hint how to emulate a button?Another thing I noticed by using ("udevadm info -q all -n /dev/input/js0") was that it reports "ID_INPUT_ACCELEROMETER=1" but "ID_INPUT_JOYSTICK" is missing. However I guess this is not relevant.

    Sure I'll do that.Meanwhile I also tested it with my old Futaba FC-28 and that works too! Very nice! ;)I do have the issue that it does not work with https://fpv-freerider.itch.io/fpv-freerider (source engine based I guess). I assume it is related to how libudev handles the device. I found I need a joystick with at least 1 button in order for the software/game to assign and use it. Can you give me a hint how to emulate a button?Another thing I noticed by using ("udevadm info -q all -n /dev/input/js0") was that it reports "ID_INPUT_ACCELEROMETER=1" but "ID_INPUT_JOYSTICK" is missing. However I guess this is not relevant.

    View Instructable »
  • RC Transmitter to USB Gamepad Using Arduino

    Thanks a lot for this nice tutorial. It was very useful to me! I Made it! :)If you want to add a schematic, I did it in fritzing and can share it.

    View Instructable »
  • DrTrigon followed DiamondDrake3 weeks ago
      • RC Transmitter to USB Gamepad Using Arduino