Go Down

Topic: Preview HID nes pad (Read 3 times) previous topic - next topic

Osgeld

I just finished this up tonight, it is for the instructables USB contest, which I have not written my entry for yet  ;)

anyway this takes a atmega 168-328 (i am using a 328) and shoves it into a NES controller, in this case it also is using a vusb joystick lib for arduino 16 (giving HID, no driver usb joystick status to the device)  based off of the keyboard lib from rancidbacon, but of course has lots of I/O free and leaves the reset tx and rx pins free

all the dirt on this sometime this week (or else I cant enter the contest)  stay tuned, till then a teaser


irlolcopter

Very nice! i didnt know you could do this without using the specific usb communication chip thats on the arduino board. (ftdi?)

is there any way to include a tiny flashdrive for your 'homebrew' roms?
-this would appear as a seperate storage device.
i recall seeing this on HAD

the only other solution is to buy a readymade "retroport" device, which are bulky and expensive

leppie

Quote
in this case it also is using a vusb joystick lib for arduino 16 (giving HID, no driver usb joystick status to the device)  based off of the keyboard lib from rancidbacon, but of course has lots of I/O free and leaves the reset tx and rx pins free


I have been struggling for probably longer than a month to get VUSB working.

Just no luck at all. Windows just keep telling me 'Device not recognized'.

Did you have a hard time getting it working?

Osgeld

never got vusb working in any form even using other peoples libraries, had no issues getting the rancid bacon keyboard lib working provided its under 16, and after some farting around I got the usb joystick one working (which are arduino mods of vusb)

and ....

finished project

http://www.instructables.com/id/Convert-a-NES-gamepad-to-USB-with-Arduino/

leppie

#4
Jun 30, 2010, 06:23 am Last Edit: Jun 30, 2010, 06:24 am by leppie Reason: 1
Quote
had no issues getting the rancid bacon keyboard lib working provided its under 16


That is probably due to 'attachInterrupt'.

I have tried a plain version (non-Arduino) too (hid-mouse example in vusb), but even that wont work for me.  :(

Go Up