This is my first time using OpenWrt. I have a TP-Link WR703N in client mode, with an Arduino Uno connected to its USB port. I want to run ser2net on the WR703N so I can access the serial interface of the Arduino remotely. I have it mostly working, but when I use telnet on my laptop to connect to ser2net on the WR703N, the telnet connection just kind of dies after a while. Sometimes I can continue writing, sometimes I can't, but reading always fails.
In another thread, I read about an issue with another TP-Link router, where, in order to work reliably, serial interfaces required the insertion of a USB 2.0 hub between the USB-to-Serial module and the router. I tried that, and it works! Been blinking a LED and reading temperature data off it at a 1s interval continuously for a couple days now as a stress test.
From what I can gather, the issue is that the Arduino is a USB 1 device, and the Atheros chip REQUIRES a USB 2.0 device, so connecting a USB 2.0 hub solves the problem. Is this correct?
I'd like to put together 10+ of these WR703N & Arduino combos for home automation. This means I'll also have a bunch of bulky hubs to fit in the final case. To keep the physical size of the final units as small as possible, I'm considering just buying bare ATMega328s and assembling my own Arduinos, which wouldn't be too difficult. But this leaves the issue of the USB interface.
If my assumption about the USB 1 incompatibility being the root of the problem is correct, using a USB 2.0 capable serial to USB module should eliminate the need for a hub, right? I found this one on eBay that says it's USB 2.0, and should be supported by kmod-usb-pl2303: http://www.ebay.com/itm/PL2303-USB2-0-t … 43a941fb51
It'll take a couple weeks to reach me for testing, so in the meantime I was wondering if I'm on the right track. Does anyone have experience with a true USB 2.0 to serial module that I could use for my DIY-Arduinos, and eliminate the bulky hubs?
PS: If anyone else is interested in a project like this, I'm using a Ruby gem called 'dino' on my server for communicating with the remote Arduinos: https://github.com/austinbv/dino
It's early days for this gem, but it's been working great so far, and I've written a TxRx class that connects over telnet instead of a local serial device (all the gem currently does). Will push it to my Github account and submit a pull request shortly.