Main > Main Forum
$9 'Super Easy' USB Controller hack for MAME
<< < (23/24) > >>
PL1:

--- Quote from: nordemoniac on September 27, 2013, 06:10:12 am ---You can find all sorts of cheap USB interfaces on eBay. I think I paid like $10 for the last one I bought - With cables included! Just connect to the buttons and you're ready to hook up the USB.

The USB pad hack I did earlier will be replaced by one of these USB interfaces.

--- End quote ---

Lots of inexpensive gamepad-style encoders like the ZD or Xin-Mo, but for low-cost keyboard-style encoders like Wild-eyed was asking about, an AVR Encoder setup has the best price to performance ratio IMHO.


Scott
wild_eyed:
what was the "Kade" i kinda remember something about it.... did it not pan out?
PL1:

--- Quote from: wild_eyed on September 29, 2013, 02:01:31 pm ---what was the "Kade" i kinda remember something about it.... did it not pan out?

--- End quote ---

(older prototype version)

The KADE has turned out great and the team is working on still more firmwares and developing an expanded hardware platform with analog inputs, but I figured you were looking for an inexpensive solution, so I suggested getting an inexpensive AVR, doing the soldering yourself, and using the KADE firmware.

That's the nice thing about the KADE project -- it's open source so you can either buy the finished product from them here or buy the hardware from another source and use their firmware to "roll your own" as the saying goes.

You can also compile the source code to work with a different board like I did (with help from Jon :cheers:) for the ATMega32U4 in this analog stick build which is based on the USB HID Joystick firmware with a few added lines of code to handle the analog to digital conversion.

The KADE project even has 3rd party developers like Rablack97 who has a working prototype here for automated switching between PC and XBox.


Scott
johnnygal2:

--- Quote from: PL1 on September 26, 2013, 09:45:19 pm ---
Either use a Minimus AVR and the KADE firmware or Degenatrons mentioned that if you recompile the KADE source code for ATMega32u4, you can use this chinese board (looks like an inexpensive knockoff of the Sparkfun Pro Micro) since,

--- Quote ---atmega32u4 IC is entirely compatible with the previous KADE firmwares whilst providing more pins + analog.
--- End quote ---


Scott

--- End quote ---
Hi there,
Can you point me towards any instructions for compiling for ATMega32u4?
I can see instructions for getting the source and dev environment setup for compiling for the Minimus AVR but what needs to changed for a ATMega32u4 target?

Thanks,
John
wild_eyed:
is this good?

http://dx.com/p/arduino-duemilanove-mega-avr-atmega1280-16au-usb-board-118042

or this

http://dx.com/p/diy-funduino-uno-r3-development-board-microcontroller-w-usb-cable-240588
Navigation
Message Index
Next page
Previous page

Go to full version