Turning A Router Into An Arduino Yún

yun

The Arduino Yún was the first of a new breed of Arduinos that added a big honkin’ Linux System on Chip to the familiar ATMega microcontroller and unique pin headers. It’s a surprisingly powerful system, but also very simple: basically, it’s just an Atheros AR9331 running Linux, an ATMega32u4 doing its Arduino thing, both connected by a serial connection. The Atheros AR9931 is also found in a router popular amongst hardware hackers. It really was only a matter of time before someone ported the Yun software to a router, then.

[Tony] took a TL-WR703N router and put OpenWRT on it. Turning this router into the Linux side of a Yún was a simple matter of uploading the Yún software to the root directory of the router and rebooting it. The Arduino side of the Yún is handled by an Arduino Mega connected to the USB port of the router. A quick update to Arduino’s boards.txt file, and a hacked together Yún is just a strip of duct tape away.

The Yún may not be extremely popular, but it does have a few interesting use cases. Maybe not enough to drop $70 on a board, but if you already have a WR703 router, this is a great way to experiment.

Thanks [Matt] for the tip.

13 thoughts on “Turning A Router Into An Arduino Yún

  1. The memory capacity is reduced compared to the Arduino Yun: 4 MB Flash / 32 MB RAM vs. 16 MB Flash / 64 MB RAM…

    It won’t be able to run most of the biggest packages built for the Yun, like NodeJS and johnny-five.

    1. You can upgrade the RAM on TL-WR703 to 64 Mbytes by replacing a single chip. You’ll find the instructions on the OpenWRT web site. You can also upgrade the flash, but it’s more involved.

      1. yes sure you can find instructions how to desolder the flash chip and which chip you need. It sounds all great until you come to the point where you need to build your new image + new u-boot + ART-section.
        The information for that are really scarce and i would love to see a walkthrough for that.
        Also, De- and Resoldering is a major PITA (bt;dt).

          1. then it wouldn’t be a hack and you can use your comment about almost every post here, just go out and buy a new one. Plus a yun costs $75+ right now and if someone wanted one on the cheap these only run $20 on newegg.

        1. Desoldering requires (minor) skills especially if you want both the board and chip intact. I use the solid core house hold wire (#12?) cut to the width of the chip, add extra solder, flux and use it to conduct heat to all the pads on one side at once. Pivot the chip up just high enough from the pad that side by prying. Repeat on the other other to free the chip.

          Or you can always cut the pins off the existing chip with a blade or a cutter and clean up the pads one by one.

          1. You can get a quality hot air tool and a proper nozzle for your chip, for not much money.

            With these tools, desoldering SMT chips is a straightforward task that is done every day by relatively inexperienced electronics technicians in just about any industrial environment.

            If you do this sort of thing more than once or twice it is well worth the investment. It’s SO easy to lift a pad or trash surrounding circuitry with poor technique. It’s not even the pure equipment cost, if you destroy your only working prototype then you are SOL until you can get replacement gear.

    2. The WR710 from TP link is my favorite for linking things to the internet. The EU version has 8MB flash(about 5 free) and 32M of ram.
      The DIR505 is similar with 64MB of ram, but I have yet to try it.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.