WRT54GL MAX232 Serial

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:18, 29 November 2007 (edit)
Lysander (Talk | contribs)
(New page: --+ Serial port on a Linksys WRT45G/GL router using a MAX232 interface IC)
← Previous diff
Revision as of 00:29, 29 November 2007 (edit) (undo)
Lysander (Talk | contribs)

Next diff →
Line 1: Line 1:
---+ Serial port on a Linksys WRT45G/GL router using a MAX232 interface IC+== Serial port on a Linksys WRT45G/GL router using a MAX232 interface IC ==
 + 
 +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 conversor IC for serial communications which is cheap and available pretty much anyware.
 + 
 +== Technical overview ==
 + 
 +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 requieres atleast 4v in order to work properly, and the pin header provides 3,3v.
 + 
 +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 workarround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance.
 + 
 +== Details ==
 + 
 +...more to come...

Revision as of 00:29, 29 November 2007

Serial port on a Linksys WRT45G/GL router using a MAX232 interface IC

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 conversor IC for serial communications which is cheap and available pretty much anyware.

Technical overview

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 requieres atleast 4v in order to work properly, and the pin header provides 3,3v.

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 workarround which allows us to power a MAX232 with 5v within the circuit board, which allows the use of this IC and provides excellent performance.

Details

...more to come...