Society of Robots - Robot Forum
Software => Software => Topic started by: Penth on August 22, 2008, 09:34:56 AM
-
Has anyone written a USB device driver before? If so, what languages/development tools did you use? I like the idea of phidgets but I'd like to try my hand at making my own.
-
What I would do is make a USB to RS-232 to TTL converter and then from there it should be pretty easy.
-
Has anyone written a USB device driver before?
I know someone who has attempted it because nothing on the market could do what he needed. He said it was a huge pain and had tons of things you had to account for. He hasn't finished it since I spoke to him a month ago . . .
You'd do much better just by spending $4 on a USB chip and free drivers . . . thats what I did for my Axon.
-
I know someone who has attempted it because nothing on the market could do what he needed. He said it was a huge pain and had tons of things you had to account for. He hasn't finished it since I spoke to him a month ago . . .
You'd do much better just by spending $4 on a USB chip and free drivers . . . thats what I did for my Axon.
That answers my questions then. I wasn't sure what the cost was for something like that, but if its that easy I won't need to look that far.
-
Well, you can definitely get/write firmware to run for usb 1.0 (1.2MBps) on an atmega and use usblib on the host side to communicate with your chip. Totally doable but not worth the pain.
Google for obdev usb, igor cesky usb or lady ada usb programmer.
-
if you use a pic they have a code generator that will make the driver for you :)
-
if you use a pic they have a code generator that will make the driver for you :)
is Pic assembly or basic or can it handle C?
-
I'm thinking, if you use FTDI chips in your USB device, will the computer auto detect the device when it is plugged in? Or do you need to select the port?
-
pic will do either c or assembly
there's an FTDI chip with a pic16 on it that does usb connection.