Turning a router into an Arduino shield

shield

[Dirk] had a problem: while he already had an Arduino with an Ethernet shield, he needed WiFi for an upcoming project. Running a Cat5 cable was out of the question, and a true Arduino WiFi shield is outrageously expensive. He did, however, have a WiFi router lying around, and decided it would make a perfect WiFi shield with just a little bit of cutting.

The router [Dirk] used was a TL-WR702N, a common router found in the parts bins of makers the world over. Inspiringly, the size of the router’s PCB was just larger than the space between the Arduino’s pin headers. Turning the router into a shield is simply a matter of scoring the edge of the board and gluing on a few pins for mechanical strength.

Power and ground lines were soldered between the pin headers and the router, while data is passed to the Arduino and Ethernet shield through a short cable. It may not look pretty, but if it works in a pinch we can’t complain.

Comments

  1. This is wonderful! And cheap too! The TL-WR702N sells commonly for around 20-22 bucks! Nice!

  2. Pixel_K says:

    You don’t even need the (expensive) ethernet shield. you can connect the arduino directly to the router serial port (warning, the router is only 3.3V tolerant) and use the router SoC to do the heavy lifting.

  3. wetomelo says:

    Good alternative if already have all the parts!, but I insist, nothing can beat WiFI-ETH-UART-ROUTER module for around 30 bucks shipping included, nothing!

    http://dx.com/p/vrm04-multifunction-uart-serial-port-to-ethernet-wi-fi-converting-adapter-module-w-antenna-blue-215334

  4. az1324 says:

    In the near future we will have Yun, Spark Core, DigiX and URUK.

  5. vonskippy says:

    Just use a beaglebone black or raspberry pi with a $10 wifi usb dongle. More processing power, wifi, and less money.

    • Kyle says:

      I’m considering doing this with my raspberry pi since those little usb dongles don’t do any processing on-board, it’s entirely up to the raspberry pi to do the calculation when you use those dongles. Thus, if you use one of these routers, you’re offloading a large portion of your ram and processing power from the raspberry pi/beaglebone onto this small inexpensive router.

      • Joseph says:

        I did this with my pcDuino and a WR703N running OpenWrt. Didn’t want to lose the USB port and the pcDuino has on-board Ethernet so I just configured the WR703N to operate as a client bridge and connected to the pcDuino Ethernet port. As you noted, it offloads the work to the router and works great.

  6. einballimwasser says:

    One could use the Fonera FON2100 or FON 2200 router to do that .. It’s easily OpenWRT hackable and stuff … Sells about 20 to 30 bucks on ebay…

  7. WitchDoc says:

    I’m sorry but imho this is far from perfect and even further way from being a “hack”. It is just an extra board using the same power supply. It still needs an ethernet shield which is nearly as expensive as the wifi shield, you could of course get a cheap EN28J60 module but you would still need an extra “cheap” wifi router. A couple of RF tranceivers would have done the trick and would probably have cost about 1 tenth of this setup.

    • Lurk says:

      Suggesting that there can be a “perfect hack” is a little oxymoronic isn’t it?
      It’s a “hack” in that the he made do with what he had available on hand. Dude needed wifi, didn’t have a premade solution, but had a spare router and already had ethernet for his project. Had he simply gone and bought purpose-made wifi kit for it, we’d be reading something else right now, instead of being inspired to our own solutions, such as your suggestion.
      And isn’t that the part of the point of sharing hacks in the end?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,658 other followers