Wifi Webserver / USB host to USB serial interface

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:

[  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

I can pass commands at it and get it to do what i want as a standard serial device. 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. Then i considered adding something like this but will have to port the library to spark http://www.circuitsathome.com/products- … o-pro-mini. Being very new to arduino I am wondering from someone with some experience what they recommend for the smallest and best form factor and how achievable this is.

I have this small compartment to work with in the rear of the neato along with access to its power supply that i can build a voltage regulator to tap in, which i can handle that. Then from there i would have a small usb ribbon cable come out and plug into the side of the neato.

https://dl.dropboxusercontent.com/u/617 … 366277.jpg

Since you mention that this it has a serial interface, you can as well use a WiFly like module. Provided you can tap into the serial lines and avoid the USB altogether.

Yea that was how i started this i mapped the line back to the ARM chip for the usb port and its connected right into the MB of the Neato so no way to jump in between the serial and serial to usb. I think i have a way of doing this.

All i really need to know is if i get the https://www.sparkfun.com/products/12646 Teensy 3.1 and plug it into a the neato USB slave device will the Teensy 3.1 allow me to open a Serial.write() to it and act as a USB host to the Neato usb port? If i can do that with the typical Serial.println(“Clean”);

then were in business because i already have the spark core setup to where i can communicate on the TX and RX with another Arduino device

Not knowledgeable about both these products so cant take this any further, but I am interested in this too…good luck.

enggricha:
Not knowledgeable about both these products so cant take this any further, but I am interested in this too…good luck.

Not to worry i am getting this done one way or another :slight_smile: Anyone else have any experience with the Teensy? Also after doing some reading seems i would want to make these talk over SPI vs UART is that right?

enggricha:
Not knowledgeable about both these products so cant take this any further, but I am interested in this too…good luck.

I ended up getting this to work used a pro mini and host shield mini and just basically wrote a pass through driver for the serial interface. Meaning all you have to do is connect whatever it maybe to the serial on the pro mini and you can send and receive commands back and forth. You can use a spark core or wifly to do this.

If you PM me I can give details