not if you send a lot of small amount of data... it can be fast if you send a few big amount of datas... this is due to the number of headers that the usb protocol needs... rs232 is not used over usb, it's totally different... i think you make a mistake with usb to rs232 converters...
Jean-Yves wrote in news:no_pub_for_jypochez- snipped-for-privacy@web.aioe.org:
Possibly, or maybe it was a mistake already by the time it was told to me. I knew a guy who said he was making an in-car MP3 player that was using RS232 control signals over USB. I assumed he knew what he was doing, it wasn't something I knew about, I just remember that bit of conversation.
It may not have been a mistake. Many newer "legacy-free" PCs don't have RS-232 serial ports. In order to connect these PCs to devices with an RS-232 interface, one uses a USB-to-RS-232-serial adapter... USB device port on one side, RS-232 interface (or several of them) on the other.
Unfortunately, as with most other USB device classes, the protocol for talking with such adapters isn't entirely specified by the standard, and it's usually necessary to have a different host driver for each vendor's USB/RS-232 adapter. Generally, one reads and writes data over USB to/from a USB bulk-data endpoint, and sends small control packets to another endpoint to read the device status and control the RS-232 handshaking lines.
--
Dave Platt AE6EO
Friends of Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!
I think they would manage 2MByte plus but wouldn't the effort of writing and debugging the software be more than you could buy a data acquisition card for? I guess it depends what the objective is.
If you're just curious about PC controlled sampling and looking for simplicity of design and use, then the Microchip MCP3202 is a cheap, 2 channel, 12 bit A to D and ideally suited for connecting to a PC parallel port.
formatting link
The chip itself is good to 100000, 12bit samples a second but there is no way the LPT can run this fast. The port is speed crippled by the internal PC ISA bus, to a rate (dependant on PC) of maybe 100k to 150k port changes per second. In practice the LPT can 'in' and 'out' serial data at about 100k bits per second. In the MCP3202 case this translates to about 8000 off, 12 bit samples, a second. Which is not bad!. Adding the complexity of a PIC and 4 bit wide LPT transfers, can get the rate up to about 40000, 12bit samples a second. In comparison, RS232 is a non starter.
I designed my own serial port scope a good few years ago.
As the serial port was so slow I decided to put RAM on the acquisition board to capture the data very quickly. Once the RAM was full it would be downloaded into the PC for display.
Depending on how much data you want to capture you could maybe use a similar technique.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.