how to FTDI Usb2Serial + TL-WR1043ND

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
smching
DD-WRT Novice


Joined: 11 Mar 2012
Posts: 5

PostPosted: Sun Mar 11, 2012 9:36    Post subject: how to FTDI Usb2Serial + TL-WR1043ND Reply with quote
I follow the below link to install the optware successful.

http://klseet.com/index.php?option=com_content&view=article&id=96&Itemid=90

Note: I'm using the latest built http://downloads.openwrt.org/backfire/10.03.1-rc6/ar71xx/packages

Now I want to control Arduino from my TL-WR1043nd router. So I update the FTDI driver & ser2net by using the following command.

opkg install libftdi
opkg install ser2net

& it install successful.
My problem is I don't know how to load the driver & how to use the driver.
Sponsor
smching
DD-WRT Novice


Joined: 11 Mar 2012
Posts: 5

PostPosted: Mon Mar 12, 2012 8:56    Post subject: Reply with quote
I will try Openwrt if there is no solution.
I had read some post from internet regarding using usb2serial for Openwrt.
smching
DD-WRT Novice


Joined: 11 Mar 2012
Posts: 5

PostPosted: Mon Mar 12, 2012 15:06    Post subject: Reply with quote
I'm testing the Openwrt. It seems working.

It can detect the Arduino(c/w FTDI chip) & pl2303 converter when I execute dmesg.

I notice that the LED indicator(pin13) of Arduino is blinking if I execute echo "any text" > /dev/ttyUSB0
smching
DD-WRT Novice


Joined: 11 Mar 2012
Posts: 5

PostPosted: Tue Mar 13, 2012 11:19    Post subject: Reply with quote
I confirmed that TL-WR1043+Openwrt+Arduino Duemilanove is working. Below is the step on how to test the Arduino.
1. Install Openwrt.
2. Install USB driver.
3. Install ser2net
4. Add 9000:raw:0:/dev/ttyUSB0:9600 to the bottom of /etc/ser2net.conf
5. Run ser2net(it is better to load at startup)
6. Run realterm terminal software from windows
7. Enter 192.168.1.1:9000 (this is my router IP) for port.
8. Enter 9600 for Baud.
9. Send ASCII text
Ha!Ha! my Arduino is getting response. I can control my Arduino now. Very Happy

Of course I will use Delphi socket programming for the client side since Delphi is my favorite programming language.
smching
DD-WRT Novice


Joined: 11 Mar 2012
Posts: 5

PostPosted: Tue Mar 13, 2012 11:33    Post subject: Reply with quote
DD-WRT still my first choice because the Web GUI is very easy to use.

I will flash back to DD-WRT in the future to see whether I can control my Arduino from the USB port of TL-WR1043.
Twobit
DD-WRT Novice


Joined: 28 Jun 2012
Posts: 2

PostPosted: Thu Jun 28, 2012 22:05    Post subject: Serial USB Drivers Reply with quote
Hi All,

Just wondering if anyone managed to get a DD-WRT build on the 1043ND which was capable of loading the USB Serial Drivers fro Arduino devices?

We have 5x 1043NDs running various revisions of DD-WRT and have setup the Opt-Ware on an ext2 4gb USB ( http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912&postdays=0&postorder=asc&start=0 ). We have been unable to load the kmod-usb-serial drivers with errors being thrown as:

* opkg_install_cmd: Cannot install package kmod-usb-serial.
* xsystem: sh: Child killed by signal 11.
* pkg_run_script: postinst script returned status -1.
* opkg_configure: kmod-nls-base.postinst returned -1.

We flashed the one box again using 14929 and used http://klseet.com/index.php?option=com_content&view=article&id=96&Itemid=90 -> almost identical to the previous setup.

Still no luck...

Is OpenWRT still the "better" option for Atheros devices for optware? If so, can anyone recommend a build?

Note: We have spent the whole month (June) trying to get a DD-WRT build for 1043ND which works with USB Serial drivers >> and no luck...
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum