LaFonera Hardware Serial-Cable-Port
From DD-WRT Wiki
Revision as of 20:24, 19 November 2007 (edit) Togo (Talk | contribs) (→Accessing serial console on the Fon - polarity bug in schematic) ← Previous diff |
Revision as of 04:28, 25 November 2007 (edit) (undo) Wildblue (Talk | contribs) Next diff → |
||
Line 97: | Line 97: | ||
You will enjoy the results immensely. I love you all. | You will enjoy the results immensely. I love you all. | ||
+ | |||
+ | |||
+ | |||
+ | = Simple console adapter for La Fonera = | ||
+ | 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 : | ||
+ | |||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_13_simple_PCB_1.jpg|thumb|]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_14_simple_PCB_2.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_15_simple_PCB_3.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_16_simple_PCB_4.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_17_simple_PCB_5.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_18_simple_PCB_6.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_19_simple_final_PCB.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_20_simple_final_PCB_with_cable_close.jpg|thumb]] | ||
+ | [[Image:LaFonera_Hardware_Serial-Cable-Port_21_simple_final_PCB_with_cable.jpg|thumb]] | ||
+ | |||
+ | [[image:LaFonera_Hardware_Serial-Cable-Port_13_simple_final_circuit.jpg]] | ||
+ | |||
+ | |||
+ | With connectors : | ||
+ | |||
+ | [[image:LaFonera_Hardware_Serial-Cable-Port_14_simple_final_adapter_with_cable.jpg ]] | ||
+ | |||
+ | |||
+ | For USB connexion just use a USB/serial adapter. | ||
+ | |||
+ | |||
== Other Tutorials == | == Other Tutorials == | ||
+ | There are other possibilities to build a serial-port to your LaFonera. Some of them could be found here: | ||
+ | |||
+ | * [http://www.dd-wrt.com/wiki/index.php/LaFonera_Hardware_Serial-Cable-Port max3232 adapter] | ||
+ | |||
+ | * [http://microblog.routed.net/2007/02/14/how-to-make-a-dual-supply-rs-232-to-ttl-level-converter/ max232 (TTL) adapter] | ||
+ | |||
+ | * [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/ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
- | + | this page was made by [[User:wildblue|wildblue!]] | |
- | + | ||
- | + |
Revision as of 04:28, 25 November 2007
You are here: DD-WRT wiki mainpage / LaFonera / Hardware / Serial-Cable-Port
Contents |
Accessing serial console on the Fon
See LaFonera Hardware Disassembling for how to dissassemble your router. You will need to find the serial console. See the image below:
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):
Using a dremel or a knife we need to cut out a hole for the Serial connector:
Draw along the connector to mark out where to cut:
If you use a dremel, use a low rpm so that the plastic don’t melt.
The finished cutout for the DB9 connector:
All done! Ain’t it beatuiful?
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:
And here you have it:
Alternate and Easier 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. 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.
You will enjoy the results immensely. I love you all.
Simple console adapter for La Fonera
Without the use of max232 or max3232, just NPN transistors:
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
First (ugly) circuit :
New circuit :
Image:LaFonera Hardware Serial-Cable-Port 13 simple final circuit.jpg
With connectors :
Image:LaFonera Hardware Serial-Cable-Port 14 simple final adapter 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:
- Build a serial connection-cable from a mobile-phone-pc-adapter original spanish website [http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=es_en
Refrences
this page was made by wildblue!