I don't know if there is a better group to ask about USB.
I want to create a device that will communicate with a PC via USB. I prefer USB to RS232 because I plan to power the device from the USB supply.
I guess I have (at least) two options:1) I use an MCU with integrated USB interface. 2) I use any MCU, plus an FTDI FT232R (USB-UART device), or equivalent.
Option 2 makes programming very simple (I don't need to write firmware to manage USB), but its hardware is more expensive than that of option1 (those FT232R's are quite expensive (2.50 GBP + taxes)).
Option 1 would allow the cheapest hardware, but coding would be harder. And here is where I start needing your help.
- Do I need to write a new USB windows driver, to communicate with my hardware? Are there predefined "classes" of drivers that already allow something so simple as asynchronously sending bytes back and forth?
- If I need to write a new driver, how difficult is this?
- Does anyone know of a MCU which includes: USB (even low speed would be ok) + ADC (8 ch x 10 bit, min) + PWM (4 ch x 8 bit, min) + flash + ISP?
For me, the best would be to find an MCU that connects directly to the USB bus, but including an USB-UART converter inside, so that I don't need to write USB code, but only UART code. That would really simplify things.
Thanks a lot, Mochuelo