WRT54GL MAX232 Serial - Revision history http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&action=history Revision history for this page on the wiki en MediaWiki 1.10.1 Thu, 28 Mar 2024 20:48:01 GMT Ian5142: Linksys Guides http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=54013&oldid=prev <p>Linksys Guides</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:52, 18 March 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 87:</strong></td> <td colspan="2" align="left"><strong>Line 87:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Of course, i cannot be held responsible for damages which result from carrying out this procedure. It worked for me, but you are completely on your own if you decide to do it. And needless to say, this mod '''WILL''' void your product warranty.</td><td> </td><td style="background: #eee; font-size: smaller;">Of course, i cannot be held responsible for damages which result from carrying out this procedure. It worked for me, but you are completely on your own if you decide to do it. And needless to say, this mod '''WILL''' void your product warranty.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category:Linksys]]</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:Linksys <ins style="color: red; font-weight: bold; text-decoration: none;">guides</ins>]]</td></tr> </table> Sun, 18 Mar 2018 22:52:40 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Ian5142: Removed Hardware. http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=54011&oldid=prev <p>Removed Hardware.</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:51, 18 March 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 87:</strong></td> <td colspan="2" align="left"><strong>Line 87:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Of course, i cannot be held responsible for damages which result from carrying out this procedure. It worked for me, but you are completely on your own if you decide to do it. And needless to say, this mod '''WILL''' void your product warranty.</td><td> </td><td style="background: #eee; font-size: smaller;">Of course, i cannot be held responsible for damages which result from carrying out this procedure. It worked for me, but you are completely on your own if you decide to do it. And needless to say, this mod '''WILL''' void your product warranty.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category: Linksys<del style="color: red; font-weight: bold; text-decoration: none;">]]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:Linksys]]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">[[Category: Hardware</del>]]</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> </table> Sun, 18 Mar 2018 22:51:35 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Ian5142: /* Disclaimer */ http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=53087&oldid=prev <p><span class="autocomment">Disclaimer</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 17:54, 16 November 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 88:</strong></td> <td colspan="2" align="left"><strong>Line 88:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category: Linksys]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category: Linksys]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category: Hardware]]</td></tr> </table> Thu, 16 Nov 2017 17:54:52 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Electrickery: /* Serial port on a Linksys WRT54G/GL router using a MAX232 interface IC */ http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=29197&oldid=prev <p><span class="autocomment">Serial port on a Linksys WRT54G/GL router using a MAX232 interface IC</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 21:48, 3 January 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 2:</strong></td> <td colspan="2" align="left"><strong>Line 2:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">This brief tutorial describes how to add two standard RS-232 serial ports to a Linksys WRT54GL router; the same is applicable to several other models based on the same hardware (WRT54G line et all). The MAX232 is a level converter IC for serial communications which is cheap and available pretty much anywhere.</td><td> </td><td style="background: #eee; font-size: smaller;">This brief tutorial describes how to add two standard RS-232 serial ports to a Linksys WRT54GL router; the same is applicable to several other models based on the same hardware (WRT54G line et all). The MAX232 is a level converter IC for serial communications which is cheap and available pretty much anywhere.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">An alternative is connecting the TTL-level signals [[WRT54_Serial_USB|directly to a serial-to-USB converter]].</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Technical overview ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Technical overview ==</td></tr> </table> Sun, 03 Jan 2010 21:48:24 GMT Electrickery http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Markus: Undo revision 25598 by Ausimus1 (Talk) http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=25629&oldid=prev <p>Undo revision 25598 by <a href="/wiki/index.php/Special:Contributions/Ausimus1" title="Special:Contributions/Ausimus1">Ausimus1</a> (<a href="/wiki/index.php?title=User_talk:Ausimus1&amp;action=edit" class="new" title="User talk:Ausimus1">Talk</a>)</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 07:53, 5 June 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">== Serial port on a Linksys WRT54G/GL router using a MAX232 interface IC ==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">This brief tutorial describes how to add two standard RS-232 serial ports to a Linksys WRT54GL router; the same is applicable to several other models based on the same hardware (WRT54G line et all). The MAX232 is a level converter IC for serial communications which is cheap and available pretty much anywhere.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">== Technical overview ==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Most routers of the WRT54G line include two serial ports, complete with pinholes on the circuit board. These operate at 3.3v (TTL) level, so they need a level converter in order to work with a regular RS-232 serial port. This is normally done with a level converter IC, and of all available, MAX232 is the most popular. The problem is that this IC requires at least 4v in order to work properly, and the pin header provides 3.3v. </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">A solution proposed in several sites is to use a compatible device which allows operation at 3.3v (MAX3232, MAX233), but this are normally more expensive and (most important) difficult to find in several parts of the world. This document describes a workaround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance. Since the MAX232 detects a signal level change at around 2v and we're providing 3.3v signals, it works flawlessly.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[EDIT - Bib 7 nov 2008]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V (so doesn't need the below red wire nor 78L05 C1 C2 &amp; 4 C3&lt;-&gt;C6 built in capa). Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">== Details ==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">What we'll do is basically to take power directly from the power connector and convert it to 5vdc. The serial pinout arrangement allows to do this without the need for an additional cable over the board, but this is '''NOT RECOMMENDED''', as it involves soldering a power wire (directly from the wall adapter!) into the serial header. It can be done, but if you don't feel comfortable doing this I'd recommend soldering a wire and taking power directly from it instead through the serial header.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The voltage conversion is done using a 78L05 5vdc voltage regulator, which is cheap, small and does the job nicely. I considered using a simple zenner regulator, but from what I've seen the wall adapter voltage varies wildly between models and even regions, so the 78L05 regulator will do a much better work here.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The first step is to solder a pin header to the serial pinholes on the board - this will allow us to work easier and without further soldering on the board. The detailed pinout is for a Linksys WRT54GL / WRT54G v4; the pinout for other models is similar, but you'll need to check them out.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Image:max232_serial_mod_-_header_closeup.jpg]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">(Ignore the black wire there - it's from a SD/MMC mod on the same router)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Now, you need to locate the power input on the board and solder a wire to it - this can be done directly on the underside of the board:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Image:max232_serial_mod_-_board_underside_closeup_-_1.jpg]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">We'll be using this wire to power our adapter board. What i did here was connecting this wire directly to the two unused pins on the serial header, in order to keep a tidier wiring. '''AGAIN: DON'T DO THIS IF YOU'RE NOT COMPLETELY CONFIDENT OF YOUR SOLDERING SKILLS''' - the unused pins lie between ground and the Rx serial inputs. This means that a bad solder can either fry your serial ports, your power adapter, ''or the router entirely''. Just taking this wire directly to the adapter board will work just as well, even if it's a bit messier.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Image:max232_serial_mod_-_board_underside_closeup_-_2.jpg]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Image:max232_serial_mod_-_board_underside.jpg]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">(Again, that rogue connector is for the MMC/SD socket. Disregard).</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">This wire/pin will provide with at least 9vdc which we can use to power the MAX232 IC. The adapter schematic is rather simple, and as follows:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Image:max232_serial_mod_-_schematic.gif|500px]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The pinouts for serial port 1 (female DB9) and serial port 2 (male DB9) can be found on the web. VCC is the wire/pin we just added/modified. All caps should be rated for 50v (they're small at those capacitances), and the regulator is, as mentioned, a 78L05. A regular 7805 will work just as fine, but it's much bigger and might present issues due to the low power draw of the MAX232.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">I built mine on a small perfboard which plugs into the pin header and goes to an old PS2 board plug which i inserted in the back panel. Then i built a cable which provides the two regular DB9 serial connectors (if you're missing two caps, they're on the underside).</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Image:max232_serial_mod_-_adapter.jpg]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Serial port 1 provides kernel messages during bootup and a console, so it can be used for testing. Set your serial port config to 115200, 8 bits, no parity, 1 stop bit (8N1), reboot your router and you should get something like:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&lt;pre&gt;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">CPU type 0x29008: 200MHz</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Total memory: 16384 KBytes</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Total memory used by CFE: 0x80300000 - 0x803A39C0 (670144)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Initialized Data: 0x803398D0 - 0x8033BFE0 (10000)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">BSS Area: 0x8033BFE0 - 0x8033D9C0 (6624)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Local Heap: 0x8033D9C0 - 0x803A19C0 (409600)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Stack Area: 0x803A19C0 - 0x803A39C0 (8192)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Text (code) segment: 0x80300000 - 0x803398D0 (235728)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Boot area (physical): 0x003A4000 - 0x003E4000</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Relocation Factor: I:00000000 - D:00000000</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Boot version: v3.7</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The boot is CFE</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">mac_init(): Find mac [00:1C:10:34:40:40] in location 0</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Nothing...</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">eou_key_init(): Find key pair in location 0</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The eou device id is same</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The eou public key is same</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The eou private key is same</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Device eth0: hwaddr 00-1C-10-34-40-40, ipaddr 192.168.1.1, mask 255.255.255.0</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> gateway not set, nameserver not set</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Reading :: Failed.: Timeout occured</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">(...)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&lt;/pre&gt;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The circuit is pretty straightforward - if you have any issues, check first the output voltage of the regulator and the pinouts for both the IC and the serial Rxs and Txs. Good luck!</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">== Disclaimer ==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Of course, i cannot be held responsible for damages which result from carrying out this procedure. It worked for me, but you are completely on your own if you decide to do it. And needless to say, this mod '''WILL''' void your product warranty.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category: Linksys]]</td></tr> </table> Fri, 05 Jun 2009 07:53:55 GMT Markus http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Ausimus1: Removing all content from page http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=25598&oldid=prev <p>Removing all content from page</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 07:25, 5 June 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">== Serial port on a Linksys WRT54G/GL router using a MAX232 interface IC ==</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">This brief tutorial describes how to add two standard RS-232 serial ports to a Linksys WRT54GL router; the same is applicable to several other models based on the same hardware (WRT54G line et all). The MAX232 is a level converter IC for serial communications which is cheap and available pretty much anywhere.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">== Technical overview ==</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Most routers of the WRT54G line include two serial ports, complete with pinholes on the circuit board. These operate at 3.3v (TTL) level, so they need a level converter in order to work with a regular RS-232 serial port. This is normally done with a level converter IC, and of all available, MAX232 is the most popular. The problem is that this IC requires at least 4v in order to work properly, and the pin header provides 3.3v. </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">A solution proposed in several sites is to use a compatible device which allows operation at 3.3v (MAX3232, MAX233), but this are normally more expensive and (most important) difficult to find in several parts of the world. This document describes a workaround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance. Since the MAX232 detects a signal level change at around 2v and we're providing 3.3v signals, it works flawlessly.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[EDIT - Bib 7 nov 2008]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V (so doesn't need the below red wire nor 78L05 C1 C2 &amp; 4 C3&lt;-&gt;C6 built in capa). Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">== Details ==</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">What we'll do is basically to take power directly from the power connector and convert it to 5vdc. The serial pinout arrangement allows to do this without the need for an additional cable over the board, but this is '''NOT RECOMMENDED''', as it involves soldering a power wire (directly from the wall adapter!) into the serial header. It can be done, but if you don't feel comfortable doing this I'd recommend soldering a wire and taking power directly from it instead through the serial header.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The voltage conversion is done using a 78L05 5vdc voltage regulator, which is cheap, small and does the job nicely. I considered using a simple zenner regulator, but from what I've seen the wall adapter voltage varies wildly between models and even regions, so the 78L05 regulator will do a much better work here.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The first step is to solder a pin header to the serial pinholes on the board - this will allow us to work easier and without further soldering on the board. The detailed pinout is for a Linksys WRT54GL / WRT54G v4; the pinout for other models is similar, but you'll need to check them out.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Image:max232_serial_mod_-_header_closeup.jpg]]</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">(Ignore the black wire there - it's from a SD/MMC mod on the same router)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Now, you need to locate the power input on the board and solder a wire to it - this can be done directly on the underside of the board:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Image:max232_serial_mod_-_board_underside_closeup_-_1.jpg]]</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">We'll be using this wire to power our adapter board. What i did here was connecting this wire directly to the two unused pins on the serial header, in order to keep a tidier wiring. '''AGAIN: DON'T DO THIS IF YOU'RE NOT COMPLETELY CONFIDENT OF YOUR SOLDERING SKILLS''' - the unused pins lie between ground and the Rx serial inputs. This means that a bad solder can either fry your serial ports, your power adapter, ''or the router entirely''. Just taking this wire directly to the adapter board will work just as well, even if it's a bit messier.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Image:max232_serial_mod_-_board_underside_closeup_-_2.jpg]]</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Image:max232_serial_mod_-_board_underside.jpg]]</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">(Again, that rogue connector is for the MMC/SD socket. Disregard).</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">This wire/pin will provide with at least 9vdc which we can use to power the MAX232 IC. The adapter schematic is rather simple, and as follows:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Image:max232_serial_mod_-_schematic.gif|500px]]</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The pinouts for serial port 1 (female DB9) and serial port 2 (male DB9) can be found on the web. VCC is the wire/pin we just added/modified. All caps should be rated for 50v (they're small at those capacitances), and the regulator is, as mentioned, a 78L05. A regular 7805 will work just as fine, but it's much bigger and might present issues due to the low power draw of the MAX232.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">I built mine on a small perfboard which plugs into the pin header and goes to an old PS2 board plug which i inserted in the back panel. Then i built a cable which provides the two regular DB9 serial connectors (if you're missing two caps, they're on the underside).</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Image:max232_serial_mod_-_adapter.jpg]]</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Serial port 1 provides kernel messages during bootup and a console, so it can be used for testing. Set your serial port config to 115200, 8 bits, no parity, 1 stop bit (8N1), reboot your router and you should get something like:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&lt;pre&gt;</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">CPU type 0x29008: 200MHz</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Total memory: 16384 KBytes</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Total memory used by CFE: 0x80300000 - 0x803A39C0 (670144)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Initialized Data: 0x803398D0 - 0x8033BFE0 (10000)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">BSS Area: 0x8033BFE0 - 0x8033D9C0 (6624)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Local Heap: 0x8033D9C0 - 0x803A19C0 (409600)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Stack Area: 0x803A19C0 - 0x803A39C0 (8192)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Text (code) segment: 0x80300000 - 0x803398D0 (235728)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Boot area (physical): 0x003A4000 - 0x003E4000</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Relocation Factor: I:00000000 - D:00000000</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Boot version: v3.7</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The boot is CFE</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">mac_init(): Find mac [00:1C:10:34:40:40] in location 0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Nothing...</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">eou_key_init(): Find key pair in location 0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The eou device id is same</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The eou public key is same</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The eou private key is same</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Device eth0: hwaddr 00-1C-10-34-40-40, ipaddr 192.168.1.1, mask 255.255.255.0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> gateway not set, nameserver not set</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Reading :: Failed.: Timeout occured</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">(...)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&lt;/pre&gt;</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The circuit is pretty straightforward - if you have any issues, check first the output voltage of the regulator and the pinouts for both the IC and the serial Rxs and Txs. Good luck!</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">== Disclaimer ==</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Of course, i cannot be held responsible for damages which result from carrying out this procedure. It worked for me, but you are completely on your own if you decide to do it. And needless to say, this mod '''WILL''' void your product warranty.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category: Linksys]]</td><td colspan="2">&nbsp;</td></tr> </table> Fri, 05 Jun 2009 07:25:58 GMT Ausimus1 http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Charliedill: /* Serial port on a Linksys WRT45G/GL router using a MAX232 interface IC */ http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=24927&oldid=prev <p><span class="autocomment">Serial port on a Linksys WRT45G/GL router using a MAX232 interface IC</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 05:35, 14 March 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">== Serial port on a Linksys <del style="color: red; font-weight: bold; text-decoration: none;">WRT45G</del>/GL router using a MAX232 interface IC ==</td><td>+</td><td style="background: #cfc; font-size: smaller;">== Serial port on a Linksys <ins style="color: red; font-weight: bold; text-decoration: none;">WRT54G</ins>/GL router using a MAX232 interface IC ==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">This brief tutorial describes how to add two standard RS-232 serial ports to a Linksys WRT54GL router; the same is applicable to several other models based on the same hardware (WRT54G line et all). The MAX232 is a level converter IC for serial communications which is cheap and available pretty much anywhere.</td><td> </td><td style="background: #eee; font-size: smaller;">This brief tutorial describes how to add two standard RS-232 serial ports to a Linksys WRT54GL router; the same is applicable to several other models based on the same hardware (WRT54G line et all). The MAX232 is a level converter IC for serial communications which is cheap and available pretty much anywhere.</td></tr> </table> Sat, 14 Mar 2009 05:35:44 GMT Charliedill http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Bib: /* Technical overview */ http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=22835&oldid=prev <p><span class="autocomment">Technical overview</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 11:23, 7 November 2008</td> </tr> <tr><td colspan="2" align="left"><strong>Line 9:</strong></td> <td colspan="2" align="left"><strong>Line 9:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">A solution proposed in several sites is to use a compatible device which allows operation at 3.3v (MAX3232, MAX233), but this are normally more expensive and (most important) difficult to find in several parts of the world. This document describes a workaround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance. Since the MAX232 detects a signal level change at around 2v and we're providing 3.3v signals, it works flawlessly.</td><td> </td><td style="background: #eee; font-size: smaller;">A solution proposed in several sites is to use a compatible device which allows operation at 3.3v (MAX3232, MAX233), but this are normally more expensive and (most important) difficult to find in several parts of the world. This document describes a workaround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance. Since the MAX232 detects a signal level change at around 2v and we're providing 3.3v signals, it works flawlessly.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[EDIT]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td><td>+</td><td style="background: #cfc; font-size: smaller;">[EDIT <ins style="color: red; font-weight: bold; text-decoration: none;">- Bib 7 nov 2008</ins>]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V (so doesn't need the below red wire nor 78L05 C1 C2 &amp; 4 C3&lt;-&gt;C6 built in capa). Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td><td> </td><td style="background: #eee; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V (so doesn't need the below red wire nor 78L05 C1 C2 &amp; 4 C3&lt;-&gt;C6 built in capa). Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td></tr> </table> Fri, 07 Nov 2008 11:23:08 GMT Bib http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Bib: /* Technical overview */ http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=22834&oldid=prev <p><span class="autocomment">Technical overview</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 11:19, 7 November 2008</td> </tr> <tr><td colspan="2" align="left"><strong>Line 11:</strong></td> <td colspan="2" align="left"><strong>Line 11:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[EDIT]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td><td> </td><td style="background: #eee; font-size: smaller;">[EDIT]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V <del style="color: red; font-weight: bold; text-decoration: none;">AND </del>doesn't need the 4 capa. Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td><td>+</td><td style="background: #cfc; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V <ins style="color: red; font-weight: bold; text-decoration: none;">(so </ins>doesn't need the <ins style="color: red; font-weight: bold; text-decoration: none;">below red wire nor 78L05 C1 C2 &amp; </ins>4 <ins style="color: red; font-weight: bold; text-decoration: none;">C3&lt;-&gt;C6 built in </ins>capa<ins style="color: red; font-weight: bold; text-decoration: none;">)</ins>. Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Details ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Details ==</td></tr> </table> Fri, 07 Nov 2008 11:19:48 GMT Bib http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial Bib: /* Technical overview */ http://wiki.dd-wrt.com/wiki/index.php?title=WRT54GL_MAX232_Serial&diff=22833&oldid=prev <p><span class="autocomment">Technical overview</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 11:14, 7 November 2008</td> </tr> <tr><td colspan="2" align="left"><strong>Line 8:</strong></td> <td colspan="2" align="left"><strong>Line 8:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">A solution proposed in several sites is to use a compatible device which allows operation at 3.3v (MAX3232, MAX233), but this are normally more expensive and (most important) difficult to find in several parts of the world. This document describes a workaround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance. Since the MAX232 detects a signal level change at around 2v and we're providing 3.3v signals, it works flawlessly.</td><td> </td><td style="background: #eee; font-size: smaller;">A solution proposed in several sites is to use a compatible device which allows operation at 3.3v (MAX3232, MAX233), but this are normally more expensive and (most important) difficult to find in several parts of the world. This document describes a workaround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance. Since the MAX232 detects a signal level change at around 2v and we're providing 3.3v signals, it works flawlessly.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[EDIT]: Max233 only works with 5V supply, but doesn't require the 4 C3-C6 capacitors as they are built in. It only needs to short 3 pairs of pins. Be careful, the pin out is completely different than Max232: check data sheet.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">My favourite is the Max3233: works from 3V to 3.6V AND doesn't need the 4 capa. Once again, check data sheet for pin out. An other interesting feature is the &quot;AutoShutDown Plus&quot; circuitry that can decrease the power consumption to about 1µA when no input signal is detected, by shutting down the charge pump that builds the 10/11Vpp needed at Tx outputs.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Details ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Details ==</td></tr> </table> Fri, 07 Nov 2008 11:14:12 GMT Bib http://wiki.dd-wrt.com/wiki/index.php/Talk:WRT54GL_MAX232_Serial