WRT160NL Hardware Mod

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
staqUUR
DD-WRT Novice


Joined: 16 Apr 2010
Posts: 16

PostPosted: Fri Jan 14, 2011 16:54    Post subject: WRT160NL Hardware Mod Reply with quote
Hi.

I just bought a Cisco Linksys WRT160NL and opened it up as soon as I got it out of the box. I noticed a layout similar to the WiFi, WAN and Power LEDs, to the right of the Power LED, components marked as R443 and LED4 (however, no resistance or LED soldered there).

As soon as I flashed dd-wrt, I started trying with "gpio disable n" and "gpio enable n" and checking with a voltmeter. I soon found out n=0 and it seems to be unused.

:!:
The next steps are tricky, so if you don't have good soldering skills, and a very fine tipped soldering iron, get someone who does. The PCB traces are VERY small and you might end up loosening or breaking the traces from the PCB. YOU HAVE BEEN WARNED!
Exclamation

So, I soldered a 100 ohm 1/4W resistor to the anode of a 3mm high-intensity green LED. Using thin insulated copper strands taken from a transformer primary, I soldered the free end of the resistance to the right pad of location R443, and the LED cathode to the right pad of location LED4.

I chose a 100 ohm value because the similar resistances in the WiFi, WAN and Power circuits are 100 ohms. The green LED was chosen from the junk box. :)

The LED-resistor assembly was glued in place next to the Power LED, so both will light up the Power symbol on the shell.

Then I hacked the following startup script:

#!/bin/sh
mp="/`nvram get usb_mntpoint`"

while sleep 1; do
if [ "`mount | grep $mp`" ]; then
"`gpio disable 0`"
else
"`gpio enable 0`"
fi
done


Please note there should be an empty line after the final done, the script doesn't seem to work without that.

Well, I plug in any USB mass storage device and sure enough, the power LED turns cyan.

On a different note, I think I've managed to identify the JTAG connector, and will be checking that as soon as I manage to find the right size pins for soldering to the PCB.

Cheers
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sat Jan 15, 2011 10:38    Post subject: Reply with quote
with some nice pics this could be a good wiki instruction.
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
staqUUR
DD-WRT Novice


Joined: 16 Apr 2010
Posts: 16

PostPosted: Sat Jan 15, 2011 15:19    Post subject: Reply with quote
OK, I'll try to unglue the assembly so I can get some pics. Didn't think it would come to anything when I started, so I didn't take any pics.

BTW, please advise if the script could be improved. It smells of kludge to me... :)

Cheers
staqUUR
DD-WRT Novice


Joined: 16 Apr 2010
Posts: 16

PostPosted: Tue Jan 18, 2011 2:06    Post subject: Reply with quote
OK, I managed to take some pics of the beast...

Sorry, my photographing skills are next to awful,
but getting there Very Happy

The post is formatted so you can zoom the page to
see details without losing the text.

An overview of the WRT160NL PCB shows a layout
similar to the WiFi, WAN and Power LEDs, to the
right of the Power LED, components marked as
R443 and LED4 (however, no resistance or LED
originally soldered there). See image below.



This shows a closeup of the area of interest, the
lower right hand corner of the WRT160NL PCB.
Sorry, it was impossible to rip out the assembly
without ripping out the PCB traces as well



The next shows an explanation of the parts used



Connection details highlighted
Please note typo below, rifht=right



Connection details 2



Connection details 3



A left-side view, shows the copper strands NOT touching pads below.



Exclamation
WARNING
Doing this is tricky, as you can see from the
pictures. The PCB traces are VERY small and
easily loosened, broken or detached, so if you
don't have good soldering skills, and a very
fine tipped soldering iron, get someone who does.
YOU HAVE BEEN WARNED!
:!:

BTW, I used a small butane soldering iron, which
has a needle tip, and I pre-tinned the ends of the
copper strands, leaving a small glob of solder in
the end to be soldered to the PCB. Do NOT solder
in the conventional way, heating the parts and
then applying the solder. You'll end up with a
loosened, broken or detached trace. Place the strand
on top of the pad and touch the tip of the
soldering iron JUST LONG ENOUGH to ensure the glob
of solder on the strand melts and sticks to the
solder on the pad below.
The enamel was scraped off the ends of the wire
strands with a razor blade (requires some patience
getting it right. Using a magnifying glass helps!)

Should more explanations be required, please let me
know.

Cheers
yousaf465
DD-WRT User


Joined: 12 Sep 2010
Posts: 380

PostPosted: Wed Jan 19, 2011 9:24    Post subject: Reply with quote
Thanks man, we are looking for more hardware mods from you.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum