Jun 14
OpenWRT I want to connect my Asus WL500 Premium with the serial console. On the ASUS mainboard are UART connectors, RX, TX and GND. But the voltage level of those signals is 0..3,3v where RS232 use -12v..12v. If you would connect those ports together you would blew your ASUS mainboard. Fortunately most cell phone cables use TTL signal’s, the “cable” convert it to rs232 level (or Serial2USB level, as those cable uses an USB connector).

So I bought a cheap cell phone cable at Ebay, it was a data cable for a Nokia phone, CA-42 (or DKU-5). The pinout I found here.

Pin 6: FBus Rx/USB D+
Pin 7: FBus Tx/USB D-
Pin 8: GND –
be sure to use data GND and not charger GND!

 
You can verify your signal level with a multimeter: there should be a voltage level of 3.3v between GND and TX and 0v between GND and RX (you receive nothing) when the cell phone part is not connected. To test that you picked the right RX cable you may connect your RX and TX cable together and connect with an terminal program, each typed character should come back to the terminal.

On your ASUS mainboard, the TX level is also 3.3v and RX is about 2.7. Now connect the cell phone cable to the mainboard:

Cell phone cable     mainboard

          RX            TX
          TX            RX
          GND           GND

And you’re done. Connect with a terminal program with 115200 8N1 (Flow control off or XON/XOFF). I tried to connect with lower baud rate without success! And you may ignore the data garbage you’ll see when you connect you cell phone cable.

Thanks to this nice guide!

 

Posted by michu

Defined tags for this entry: ,

0 Trackbacks

  1. No Trackbacks

3 Comments

Display comments as(Linear | Threaded)
  1. Tanmay says:

    Hey,
    Did u require any specific drivers to use this setup?
    This seems t be a better alternative than buying a $50 USB- Serial TTL level convertor. However, I am just worried about how to use this setup without particular drivers. Would the nokia CD that comes with this cord be useful?

    Many Thanks
    Tanmay

  2. michu says:

    nope.. you just need the default usb-to-serial drivers, which arent exotic....

  3. Angus says:

    Hi there,
    On my CA-42 cable, the connector (nokia end) only has 6 pins (viewable), not 14. Do i have to crack it open to access the others?

    Any help appreciated!

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA