I have no experience using the Teensy for USB. Mostly I've used it for digital I/O and logic.
I need to send/receive short (<40 chars) command style ascii strings to/from a digital motor controller that only talks when addressed.
The controller generally responds within milliseconds of receiving a command. (57600 baud 8 bits 2 stop bits no parity)
The needed functionality is similar to having a conversation with Tera Term or some such emulator except that the Teensy would be sending the commands to the controller. I can do fairly elaborate control routines using LabView and similar programs, but for this application I need an embedded control box with I/O and unconnected to any computer.
I would like to do this using the USB2 port on the Teensy so the main port is available as usual for program development.
I have looked at the library USBHost_t36 but I don't know how to use this for my simple application.
Any guidance or examples would be appreciated.
Thanks,
Bill
I need to send/receive short (<40 chars) command style ascii strings to/from a digital motor controller that only talks when addressed.
The controller generally responds within milliseconds of receiving a command. (57600 baud 8 bits 2 stop bits no parity)
The needed functionality is similar to having a conversation with Tera Term or some such emulator except that the Teensy would be sending the commands to the controller. I can do fairly elaborate control routines using LabView and similar programs, but for this application I need an embedded control box with I/O and unconnected to any computer.
I would like to do this using the USB2 port on the Teensy so the main port is available as usual for program development.
I have looked at the library USBHost_t36 but I don't know how to use this for my simple application.
Any guidance or examples would be appreciated.
Thanks,
Bill