Good morning hackers. It was great to see some of y'all at Showdown @ Unobtanium.
I'm hoping one of you guys has some advice for me.
I'm making a Microsoft Serial Mouse protocol -> USB HID adapter so that we can use a nostalgic mouse with modern equipment (and no drivers). The mouse speaks 1200kbps RS232C 7N1 serial, and the packets it sends can be found online or easily observed / reverse engineered. I learned about converting RS232 to TTL last week, so I'm getting close to interfacing with a microcontroller now.
I'm having trouble deciding which uC to use, and therefore which USB software stack to use. I have little to no experience with either V-USB or LUFA, but I do have an AVR programmer and am comfortable with avrdude software to upload firmware.
I'd like your thoughts on V-USB vs LUFA if you have 'em, especially if you have personal experience.
Here's what I think I know (which is very little):
V-USB:
Pro: Small. Works with cheap and tiny AVRs. Mouse example on web already.
Con: Less "open"? Can I customize my device strings? I lack an ATtiny chip, crystal, and caps. Which chip anyway?
LUFA:
Pro: Great library examples that could be adapted to my project. Good forums. Dean Camera is nice. I currently own LUFA-compatible hardware (an Adafruit ATmega32u4 board).
Con: overkill? requires "big" AVRs with hardware USB.
I had the thought that I could put a potentiometer on the board to adjust the DPI / "step size" of each mouse report too (maybe 2, for X-Y independent control of that).
Thanks for listening / chiming in.
-Roland