Bs2 USB data to another USB device
Stuarttttt
Posts: 45
in BASIC Stamp
Hi, I would like to send asci data (motor control commands) from a Bs2 USB to another USB device (stepper motor controller)
How do I do this? Both devices work fine connected to the host PC but how can I send data between the devices, or via the PC?
Thanks for any pointers.
Stuart
How do I do this? Both devices work fine connected to the host PC but how can I send data between the devices, or via the PC?
Thanks for any pointers.
Stuart
Comments
See if your stepper motor controller can accept serial data at 5V in addition to USB. If so, maybe you can directly connect the BS2 to the controller and control it using an I/O pin and SERIAL statement rather than the USB port and DEBUG statement.
Thanks for your fast reply. The stepper control board does have an RS-485 interface as well. I'll give that a try with a 232 to 485 adapter.
Regards
Stuart