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:
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()?
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()?