USB Communication with the BasicX

Started by Patrick October 28, 2009
Hello Everybody,

More and more PC home computer devices use USB connexion and less and less the RS232 connexion is available.

I like to know if the Basicx-24 can send, received and interpret USB data and what command to use for these purposes.

Thanks for your help by replying to my message and best regards.

Patrick.

Patrick,
I recently ran across a chip "FT232RQ" That is being used with a demo board
I have for the Parallax Propeller chip. The "FT232RQ" is a self contained
usb to asynchronous serial converter and is only about $3.00 US. I think
that might be the easiest route. Google the part number. It's not hard to
find.
Harry
_____

From: b... [mailto:b...] On Behalf Of
Patrick
Sent: Wednesday, October 28, 2009 3:18 PM
To: b...
Subject: [BasicX] USB Communication with the BasicX

Hello Everybody,

More and more PC home computer devices use USB connexion and less and less
the RS232 connexion is available.

I like to know if the Basicx-24 can send, received and interpret USB data
and what command to use for these purposes.

Thanks for your help by replying to my message and best regards.

Patrick.

Dynatest Confidential
Note: This message and any attachment hereto is intended solely for the use of
the designated recipient(s) and their appointed delegates and may contain
confidential information. Any unauthorized use, disclosure, copying, or
distribution of its contents is strictly prohibited. If you have received this
message in error, please destroy it and advise the sender immediately by phone,
email, or fax. Thank you for your cooperation



If you are needing a USB adapter for development you have several options. Simple $20 USB-RS232 adapters provide a DB9M that you can use just like a PC-mounted serial port. They usually contain either a Prolific or FTDI chip; both usually work fine.

Another option is Parallax's Prop Plug, which needs a small modification to work with the BX-24. See message: http://tech.groups.yahoo.com/group/basicx/message/22182
Tom

Looks like the link in that message is no longer good, replaced by http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/32201/List/0/SortField/4/ProductID/398/Default.aspx

Tom

On 10/28/2009 3:17 PM, Patrick wrote:
>
> Hello Everybody,
>
> More and more PC home computer devices use USB connexion and less and
> less the RS232 connexion is available.
>

Here's one from Mouser (pn: 895-UB232R USD 17.50 qty 1) that I've used
successfully. It uses the smaller Micro USB connector.

http://mouser.com/ProductDetail/FTDI/UB232R/?qs=Xb8IjHhkxj6TUmuUKXOEIg%3d%3d

Paul

----------
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.423 / Virus Database: 270.14.36/2465 - Release Date: 10/28/09 09:34:00


try _www.futurlec.com_ (http://www.futurlec.com) they have a usb > rs232
for less than 16 $.

Works real good, have been using it for years.

CG


Hello,

Thanks to all of you who have reply to my message.

I am not looking for an USB to RS232 converter or adaptor .

I am asking if it is possible with the BasicX to generate on one pin (or more) a signal which is of the format of USB output directly or if the Basicx can read an USB signal.
The basicx or Basic Stamp and other microcontroller can send data in the RS232 format (TX) or read an RS232 input (RX) and I wanted to know if we can do the same for an USB port, send a signal in USB format readable for exemple by the USB port on the PC.and if the Basicx can "decode" a signal coming from my PC via the USB port.
Thanks for your feedback.

Best Regards.

Patrick.

--- In b..., "Patrick" wrote:
>
> Hello Everybody,
>
> More and more PC home computer devices use USB connexion and less and less the RS232 connexion is available.
>
> I like to know if the Basicx-24 can send, received and interpret USB data and what command to use for these purposes.
>
> Thanks for your help by replying to my message and best regards.
>
> Patrick.
>

Patrick,
USB requires a stack and other software and each device has a unique
identifier. So unless someone has written some code to handle it I think
you will need to just use an off the shelf solution such as the ones
suggested. Once the I/O has been converted to strait serial you should be
able to do whatever you need with it.
Harry
_____

From: b... [mailto:b...] On Behalf Of
Patrick
Sent: Wednesday, October 28, 2009 6:27 PM
To: b...
Subject: [BasicX] Re: USB Communication with the BasicX

Hello,

Thanks to all of you who have reply to my message.

I am not looking for an USB to RS232 converter or adaptor .

I am asking if it is possible with the BasicX to generate on one pin (or
more) a signal which is of the format of USB output directly or if the
Basicx can read an USB signal.
The basicx or Basic Stamp and other microcontroller can send data in the
RS232 format (TX) or read an RS232 input (RX) and I wanted to know if we can
do the same for an USB port, send a signal in USB format readable for
exemple by the USB port on the PC.and if the Basicx can "decode" a signal
coming from my PC via the USB port.

Thanks for your feedback.

Best Regards.

Patrick.

--- In basicx@yahoogroups. com, "Patrick"
wrote:
>
> Hello Everybody,
>
> More and more PC home computer devices use USB connexion and less and less
the RS232 connexion is available.
>
> I like to know if the Basicx-24 can send, received and interpret USB data
and what command to use for these purposes.
>
> Thanks for your help by replying to my message and best regards.
>
> Patrick.
>

Dynatest Confidential
Note: This message and any attachment hereto is intended solely for the use of
the designated recipient(s) and their appointed delegates and may contain
confidential information. Any unauthorized use, disclosure, copying, or
distribution of its contents is strictly prohibited. If you have received this
message in error, please destroy it and advise the sender immediately by phone,
email, or fax. Thank you for your cooperation