Teensy 3.1 USB Serial connection as HOST to a USB to Serial Adaptor

Status
Not open for further replies.

undertoe

New member
Some background:

New to the forums but looking for a solution to get my Neat XV-21 & other newer neato models to be controlled via Wifi. I came up with a working model using a raspberry pi and wifi adapter. The Neato has a mini-b usb port on it that is a glorified usb to serial port and shows up on a linux system:

Code:
[  165.282801] usb 1-1.2.2: new high-speed USB device number 7 using dwc_otg
[  165.389867] usb 1-1.2.2: New USB device found, idVendor=2108, idProduct=780b
[  165.389906] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  165.389926] usb 1-1.2.2: Product: Neato Robotics USB v2
[  165.389944] usb 1-1.2.2: Manufacturer: Linux 2.6.33.7 with fsl-usb2-udc
[  165.399398] cdc_acm 1-1.2.2:2.0: This device cannot do calls on its own. It is not a modem.
[  165.404581] cdc_acm 1-1.2.2:2.0: ttyACM0: USB ACM device

Once plugged in i can pass commands via echo "Clean House" > /dev/ttyACM0 and it will make the robot start to clean the house. So I can pass commands at it and get it to do what i want as a standard serial device in linux. However i am looking to make it an onboard setup and trying to use something smaller than the pi. I started with Spark Core only to find out the Neato is a usb slave and needs a host to establish a connection. So this is the solution i am about to take.
I know i can use the spark core to talk back and forth to the Teensey so my question is:

Could i use the Teensy 3.1 and have the usb plug into a usb slave device (usb to serial) that requires a host and open a serial connection to that slave device with the regular Serial.write()?
 
Some background:
Could i use the Teensy 3.1 and have the usb plug into a usb slave device (usb to serial) that requires a host and open a serial connection to that slave device with the regular Serial.write()?[/B]
Wondering: the Teensy 3 has three UART/Serial ports with existing library support. Wondering why not use these, connected to a no-software logic level to RS232 level PC board if need be.
 
Stevech, def the logical route and you can follow my findings here: http://www.robotreviews.com/chat/viewtopic.php?f=20&t=17844 dissecting the board and tracing the USB connection back to the ARM chip which has pins on the chip for a tx and rx support given that neato has the feature enabled. The reason i am asking what i am is this needs to be a external mod to existing ports available on the Neato. One anyone can do without opening up the neato and soldering in serial connections to the board. The only route in is a USB port on the outside of the Neato.
 
Last edited:
Status
Not open for further replies.
Back
Top