So as a newcomer to AVR (moving over from Arduino), I'm finding the most horrendously confusing hurdle yet.. is understanding the various options for adding USB functionality to my project.
Originally I was looking at a small project on something like ATTiny45 / 84.
I just need to pass a few bytes back and forth between AVR & PC every minute or so.
SO far the main options I have registered from Google, are:
'V-usb'; FTDI adaptor; AT90USB... ; ATmegaxUx
I still only have vague and clumsy understandings of these options, as follows...
My first exploration was into v_usb, and I'm finding that quite a struggle getting into the depths of 'C' makefiles, & libraries.
It seems a lot of effort just to send a few bytes to/from avr/pc
I am unsure, but I understand that even if I get the darn thing to work... it behaves 'awkwardly' with a virtual COM port assgined to a specific physical USB port, rather than the seemless behaviour of a 'production' device?
FTDI 'appears' simpler, but more costly.
It's also bulkier, so making a tight compact USB 'pen' becomes less realistic ?
I am yet to explore the AT90USB option ...
Yet I understand that this would create more of a 'proper' USB PnP COM connections similar to a 'professional' device ?
Inofrmation on this I'm finding harder to come across.
As a newbie to this area, I'm finding several evenings/days dissapear just to get a half realistic idea of each option.
One article will boast the virtues and simplicity of 1 route, and the next article completley contradicts.
And tbh, most use terminnlogy that takes me another hour to understand !
Does anyone know of an 'all-in-one' guide to USB-AVR options ?
What they each involve with regards to hardware, expertise/disciplins required to impliment etc etc ??