Driverless USB communication

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

Has anybody come up with a driverless USB substitute for rs232 avr<->PC communication?

I just figured I'd ask here before abandoning the idea.

I was looking into possibly using a usb-hid joystick class as a solution that would require no driver installation. From what I have read, this would work for passing data from the avr to the PC, but there is no driverless usb output besides numlock, scrolllock and caps lock leds. As far as I can tell all other outputs require v-usb win32 for windows. The only other possibility was maybe a mass storage device, but that becomes awkward to use for sending a simple stream data command.

I have several data acquisition devices I make for customers. USB connectivity is the only choice they have, so I have been providing rs232 and then using an adapter such as an FTDI or Keyspan. I keep doing this because then the (signed) drivers on the PC side are provided by the adapter manufacturer. Sometimes people have to try a few adapters before they get one working. What people really want is to just plug in a USB cable and be done.

For any thoughts, Thanks in advance! :D

--Karl

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You have a custom application on the PC to send the data?

A custom protocol could stream around a byte per second through the three output bits:
http://hackaday.com/2012/10/30/e...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, Thanks for the reply!

Yes, custom PC application would be possible. I had considered using those 3 bits, but I was under the impression that there was no way to route the keyboard LED signals to a specific device,(section 3.5 usb hid usage tables) so all keyboards on the system will be blinking away during communication, and a user would be able to mess things up by add additional toggles of those three bits by pressing the num/caps/scroll lock keys. If there is a way around this, I'd sure like to know.

I can see where this is a security feature: if the user sees the leds blinking madly, Then maybe there is one of the VSzA techblog devices attached.

--Karl

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There's midi that is implemented as hid