An ISP dongle is a quite common piece of kit on a maker’s bench. Alternatively, its doable as a hackable tool is typically overpassed. The USBASP has an ATmeg8L at its center and [Robson] determined that this humble USB tool may well be used as an interface between his PC and a SNES Joypad.
A SNES controller required three pins to be in contact with a host: clock, knowledge and latch. In his hack, [Robson] connects the controller to the ISP interface using a small DIY adaptor and systems the AVR using the V-USB library. V-USB is a tool USB library for small microcontrollers and is available in lovely at hand on this example.
[Robson] does a lovely just right task of documenting the complete procedure of making the interface which incorporates the USB HID code in addition to the SNES joypad serial protocol. His hack works on each Home windows and Linux alike and the code is to be had on GitHub for obtain.
Easy implementation like this challenge are a nice place to begin for someone taking a look to dip their ft in the DIY USB tool pool. Veterans would possibly to find a entire DIY joystick extra up their alley and can be impressed by means of some plastic ways as neatly.
No comments:
Post a Comment