output to usb
BladeRunner731
Posts: 2
This may not be possible. I was wondering if I could set up a BASIC Stamp II's outputs to send data through a usb adapter to a pc. In comparison, I would like the outputs to act like a plug and play keyboard, outputing data in the form of text, just like a keyboard does.
I apologize if this is a silly question, I don't know much about stamps.
Thanks.
I apologize if this is a silly question, I don't know much about stamps.
Thanks.
Comments
It sounds like you only need the USB2SER to do this job. Install the FTDI Virtual COM port drivers and you should be set to go.
Ken Gracey
Parallax, Inc.
Of course, if you just want to send text data to a PC from a Stamp, BladeRunner, then don't think in terms of a keyboard. Keyboards don't send text, they send keystrokes encoded a particular way and the PC driver software decides what character was intended.
Some recent research I have done for a similar project suggests that we must be very specific in describing "USB to serial conversion".
For instance, the Parallax USB2SER device really works well in letting a PC/laptop without a traditional 9-pin serial interface convert a USB host port to serial to program a stamp or use the debug screen, etc.
However, the conversion of an existing serial connection into a USB is very nearly impossible at the microcontroller level. There is a lot of processing going on to generate the USB "host" style connection. USB simply doesn't work like serial (either 232 or 485) in terms of just matching signal levels and signal names.
But, if someone has cobbled one together, I'd be one of the first to buy it!
Cheers,
Tom Sisk
I don't think you can get the BS2 to 'look like' a USB keyboard, though, if that's what you had in mind.
Jason
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
He who dies with the most toys wins!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen