LaFonera Hardware Serial-Cable-Port

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 06:16, 29 June 2007 (edit)
CtwFic (Talk | contribs)

← Previous diff
Current revision (21:47, 28 October 2010) (edit) (undo)
Flosky (Talk | contribs)
(Accessing serial console on the Fon)
 
(16 intermediate revisions not shown.)
Line 1: Line 1:
-[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 meridia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 free wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 phentermine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 cheap xanax] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 hydrocodone online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 zanaflex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 buy didrex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 buy fioricet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 buy diazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 cheap rivotril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 cheap ativan] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 free sonyericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 free sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 free verizon ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 ortho online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 wellbutrin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 valium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 cheap nexium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 free tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 free sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 free cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 but zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 free motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 free nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 cheap celexa] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 tenuate online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 cheap levitra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 cheap adipex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 cheap propecia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 albuterol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 order alprazolam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 buy viagra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 order tramadol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 free sony ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 order ambien] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 hgh online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 free polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cialis online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 but flexeril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 online norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 ultracet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 cheap carisoprodol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 free kyocera ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 cheap clonazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 pharmacy online online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cyclobenzaprine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 cheap ultram] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 lisinopril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 cheap xenical] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 cheap zyban] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 lorazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 free sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 lipitor online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 prozac online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 free music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 cheap hoodia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 vigrx online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 cheap diethylpropion] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 but lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 cheap vicodin] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 cheap soma] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 free jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 sildenafil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 cingular ringtones] [[Category:LaFonera]] 
-[[Category:LaFonera_(en)]] 
-[[Category:LaFonera_Hardware]] 
[[Category:LaFonera_Hardware_(en)]] [[Category:LaFonera_Hardware_(en)]]
-You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[LaFonera|LaFonera]] / [[LaFonera_Hardware|Hardware]] / Serial-Cable-Port'''+You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[LaFonera_(en)|LaFonera]] / [[:Category:LaFonera_Hardware_(en)|Hardware]] / Serial-Cable-Port'''
==Accessing serial console on the Fon== ==Accessing serial console on the Fon==
Line 18: Line 15:
-See [[LaFonera_Hardware_Disassembling|LaFonera Hardware Disassembling]] for how to dissassemble your router. You will need to find the serial console. See the image below:+See [[LaFonera_Hardware_Disassembling|LaFonera Hardware Disassembling]] for how to dissassemble your router. You will need to find the serial console. See the image below (FONERA 2100):
[[Image:LaFonera_Hardware_Serial-Cable-Port_02.jpg]] [[Image:LaFonera_Hardware_Serial-Cable-Port_02.jpg]]
Line 32: Line 29:
-For this you can use any kind of '''TTL to RS232 level shifter'''. These can be bought as kits or made from for example a phone data cable. Using a '''MAX 232''' you can wire it up like this:+For this you can use any kind of '''TTL to RS232 level shifter'''. These can be bought as kits or made from for example a phone data cable. Using a '''MAX 232''' you can wire it up like this (however notice that the polarity of C5 is drawn incorrectly in this schematic):
[[Image:LaFonera_Hardware_Serial-Cable-Port_04.jpg]] [[Image:LaFonera_Hardware_Serial-Cable-Port_04.jpg]]
Line 85: Line 82:
---- ----
-== Alternate and Easier Serial Circuit ==+== Alternate Serial Circuit ==
-Alternate Serial Circuit+
- +
There is also another solution to using a Max232 chip that is less work, and less parts. That means its easier to build, and it is a smaller circuit. All you need is a serial connector and a Dallas DS275. There is also another solution to using a Max232 chip that is less work, and less parts. That means its easier to build, and it is a smaller circuit. All you need is a serial connector and a Dallas DS275.
[http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2929 Here is a link to the DS275] [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2929 Here is a link to the DS275]
If your really slick, you can have them shipped at no cost as a "free sample." If your really slick, you can have them shipped at no cost as a "free sample."
-Here is the diagram to wire up this chip to attach to the fon. The chip will operate on 3v, so you can use the pin on the Fon's board to power it.+Here is the diagram to wire up this chip to attach to the fon. The chip will operate on 5v, so you can use the pin on the Fon's board to power it.
[[Image:Dsbs8.gif]] [[Image:Dsbs8.gif]]
Line 98: Line 93:
You will enjoy the results immensely. I love you all. You will enjoy the results immensely. I love you all.
-== Other Tutorials ==+== Direct USB connection ==
 + 
 +I think the simpler way to connect with the TTL level serial on the Fonera is to use a direct USB converter that avoid the RS232 level translation. A chip that can be used for this work is the FTDI FT232R. I use this part in my work and I can assure that it works well with Windows. A complete cable/converter can be bought directly from the FTDI at [http://apple.clickandbuild.com/cnb/shop/ftdichip this link].
 + 
 +I suggest to use the [http://apple.clickandbuild.com/cnb/shop/ftdichip?productID=67&op=catalogue-product_info-null&prodCategoryID=47 wired end] converter, or the [http://apple.clickandbuild.com/cnb/shop/ftdichip?productID=70&op=catalogue-product_info-null&prodCategoryID=47 jack version] for a cleaner job. [''Update 2010-06-13'': It was also tested with Adafruit's FTDI 3.3v cable [http://www.adafruit.com/index.php?main_page=product_info&products_id=70 available here] and worked flawlessly]
 + 
 +Another chip I know to do this work is the SiliconLaboratories CP210x. The only connection needed are the TX, RX and GND signals. No need to connect any other wires.
 + 
 +TX <-> RXD
 + 
 +RX <-> TXD
 + 
 +GND <-> GND
 + 
 + 
 +'''IMPORTANT''': as stated previously, YOU HAVE TO WAIT 5 seconds after powering on the Fonera before connecting the TX from the cable to RX on the router. FONERA WON'T BOOT IF THE RX PIN IS CONNECTED WHEN POWERING ON! I lost a couple of hours trying to understand why RedBoot wasn't working anymore until I discovered that other users had documented this before.
 + 
 += Very simple console adapter =
 +without the use of max232 or max3232, just NPN transistors:
 + 
 +[[image:LaFonera_Hardware_Serial-Cable-Port_11_simple_schematic.jpg]]
 + 
 + 
 +== Pinout of console connector inside La Fonera is: ==
 +<pre>
 +(too bigs capacitors here)
 +. . . . r
 +. w o . b
 +(SDRAM chip here)
 +</pre>
 + 
 + 
 +* r : red : Vcc 3.3 Volts
 +* b : bleu : Ground
 +* w : white : RX
 +* o : orange : TX
 + 
 + 
 +== First (ugly) circuit: ==
 +[[image:LaFonera_Hardware_Serial-Cable-Port_12_simple_ugly_adapter.jpg ]]
 + 
 + 
 +== New circuit: ==
 +<table>
 + <tr>
 + <td>
 + [[Image:LaFonera_Hardware_Serial-Cable-Port_13_simple_PCB_1.jpg|thumb|none|PCB (picture 1)]]
 + </td>
 + 
 + <td>
 + [[Image:LaFonera_Hardware_Serial-Cable-Port_14_simple_PCB_2.jpg|thumb|none|PCB (picture 2)]]
 + </td>
 + 
 + <td>
 + [[Image:LaFonera_Hardware_Serial-Cable-Port_15_simple_PCB_3.jpg|thumb|none|PCB (picture 3)]]
 + </td>
 + </tr>
 + 
 + <tr>
 + <td>
 + [[Image:LaFonera_Hardware_Serial-Cable-Port_16_simple_PCB_4.jpg|thumb|none|PCB (picture 4)]]
 + </td>
 + 
 + <td>
 + [[Image:LaFonera_Hardware_Serial-Cable-Port_17_simple_PCB_5.jpg|thumb|none|PCB (picture 5)]]
 + </td>
 + 
 + <td>
 + [[Image:LaFonera_Hardware_Serial-Cable-Port_18_simple_PCB_6.jpg|thumb|none|PCB (picture 6)]]
 + </td>
 + </tr>
 +</table>
 + 
 + 
 +[[Image:LaFonera_Hardware_Serial-Cable-Port_19_simple_final_PCB.jpg]]
 + 
 + 
 +== With connectors: ==
 +[[Image:LaFonera_Hardware_Serial-Cable-Port_20_simple_final_PCB_with_cable_close.jpg]]
 + 
 +[[Image:LaFonera_Hardware_Serial-Cable-Port_21_simple_final_PCB_with_cable.jpg]]
 + 
 + 
 +For USB connexion just use a USB/serial adapter.
 + 
 + 
 + 
 += Other Tutorials =
 +There are other possibilities to build a serial-port to your LaFonera. Some of them could be found here:
 + 
 +* [http://microblog.routed.net/2007/02/14/how-to-make-a-dual-supply-rs-232-to-ttl-level-converter/ max232 (TTL) adapter]
 + 
 +* [http://www.panic1.be/tag/level-converter/ Level convertor (TTL to RS232) with a MAX3232CPE+]
 + 
 +* [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=63256#63256 Ugly cellphone adapter hack]
 + 
 +* Build a serial connection-cable from a mobile-phone-pc-adapter [http://cablefonera.blogspot.com/2006/11/empezando.html original spanish website] [http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=es_en
 + 
 +=Refrences=
 + 
 +* http://www.lefinnois.net/wpen/index.php/2007/04/07/first-post/
 + 
 + 
 + 
 +----
-There are other possibilities to build a serial-port to your LaFonera.+this page was made by [[User:wildblue|wildblue!]]
-Some of them could be found here:+
-# Build a serial connection-cable from a mobile-phone-pc-adapter [http://cablefonera.blogspot.com/2006/11/empezando.html original spanish website] [http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=es_en+

Current revision

You are here: DD-WRT wiki mainpage / LaFonera / Hardware / Serial-Cable-Port

Contents

[edit] Accessing serial console on the Fon

Image:LaFonera_Hardware_Serial-Cable-Port_01.jpg Out of the box the foneros wireless router has Telnet and SSH turned off. By accessing the buit in serial console you can turn SSH on and access various settings and reflash the firmware.


Read on and you’ll find out how.


See LaFonera Hardware Disassembling for how to dissassemble your router. You will need to find the serial console. See the image below (FONERA 2100):

Image:LaFonera_Hardware_Serial-Cable-Port_02.jpg


Image:LaFonera_Hardware_Serial-Cable-Port_03.jpg In order to connect it to your PC we need to convert the 3.3 volts from the Vcc of the router to the levels of your PC serial port wich operates at -12 to 12 volts.


For this you can use any kind of TTL to RS232 level shifter. These can be bought as kits or made from for example a phone data cable. Using a MAX 232 you can wire it up like this (however notice that the polarity of C5 is drawn incorrectly in this schematic):

Image:LaFonera_Hardware_Serial-Cable-Port_04.jpg


Using a dremel or a knife we need to cut out a hole for the Serial connector:

Image:LaFonera_Hardware_Serial-Cable-Port_05.jpg


Draw along the connector to mark out where to cut:

Image:LaFonera_Hardware_Serial-Cable-Port_06.jpg



If you use a dremel, use a low rpm so that the plastic don’t melt.

The finished cutout for the DB9 connector:

Image:LaFonera_Hardware_Serial-Cable-Port_07.jpg


All done! Ain’t it beatuiful?

Image:Fonera_-_serielles_kabel_-_klein.jpg


Image:LaFonera_Hardware_Serial-Cable-Port_08.jpg


To access it you can use any terminal application. HyperTerminal ships with windows and it will do fine.Connect your fon to Com1 and Start hyperterminal from:

Start->Programs->Accessories->Communications->HyperTerminal .

You will need to set up communication settings to

9600-8-N-1 and no flow control:

Image:LaFonera_Hardware_Serial-Cable-Port_09.jpg


And here you have it:

Image:LaFonera_Hardware_Serial-Cable-Port_10.jpg


[edit] Alternate Serial Circuit

There is also another solution to using a Max232 chip that is less work, and less parts. That means its easier to build, and it is a smaller circuit. All you need is a serial connector and a Dallas DS275. Here is a link to the DS275 If your really slick, you can have them shipped at no cost as a "free sample."

Here is the diagram to wire up this chip to attach to the fon. The chip will operate on 5v, so you can use the pin on the Fon's board to power it.

Image:Dsbs8.gif

You will enjoy the results immensely. I love you all.

[edit] Direct USB connection

I think the simpler way to connect with the TTL level serial on the Fonera is to use a direct USB converter that avoid the RS232 level translation. A chip that can be used for this work is the FTDI FT232R. I use this part in my work and I can assure that it works well with Windows. A complete cable/converter can be bought directly from the FTDI at this link.

I suggest to use the wired end converter, or the jack version for a cleaner job. [Update 2010-06-13: It was also tested with Adafruit's FTDI 3.3v cable available here and worked flawlessly]

Another chip I know to do this work is the SiliconLaboratories CP210x. The only connection needed are the TX, RX and GND signals. No need to connect any other wires.

TX <-> RXD

RX <-> TXD

GND <-> GND


IMPORTANT: as stated previously, YOU HAVE TO WAIT 5 seconds after powering on the Fonera before connecting the TX from the cable to RX on the router. FONERA WON'T BOOT IF THE RX PIN IS CONNECTED WHEN POWERING ON! I lost a couple of hours trying to understand why RedBoot wasn't working anymore until I discovered that other users had documented this before.

[edit] Very simple console adapter

without the use of max232 or max3232, just NPN transistors:

image:LaFonera_Hardware_Serial-Cable-Port_11_simple_schematic.jpg


[edit] Pinout of console connector inside La Fonera is:

(too bigs capacitors here)
. . . . r
. w o . b
(SDRAM chip here)


  • r : red : Vcc 3.3 Volts
  • b : bleu : Ground
  • w : white : RX
  • o : orange : TX


[edit] First (ugly) circuit:

image:LaFonera_Hardware_Serial-Cable-Port_12_simple_ugly_adapter.jpg


[edit] New circuit:

PCB (picture 1)
PCB (picture 1)
PCB (picture 2)
PCB (picture 2)
PCB (picture 3)
PCB (picture 3)
PCB (picture 4)
PCB (picture 4)
PCB (picture 5)
PCB (picture 5)
PCB (picture 6)
PCB (picture 6)


Image:LaFonera_Hardware_Serial-Cable-Port_19_simple_final_PCB.jpg


[edit] With connectors:

Image:LaFonera_Hardware_Serial-Cable-Port_20_simple_final_PCB_with_cable_close.jpg

Image:LaFonera_Hardware_Serial-Cable-Port_21_simple_final_PCB_with_cable.jpg


For USB connexion just use a USB/serial adapter.


[edit] Other Tutorials

There are other possibilities to build a serial-port to your LaFonera. Some of them could be found here:

[edit] Refrences



this page was made by wildblue!