How to give your Arduino wireless capability

Posted on Wednesday, December 12th, 2012 in Arduino, wireless by DP

It seems the Ethernet Shield is unnecessary if you want to connect your Arduino to WiFi via the cheap TP-Link WR703N router. This is due to the fact that the router can be hacked with OpenWrt making it a Linux box with a fully functional USB. For those of us who are not afraid of solder fumes, there is also the possibility to connect a microcontroller directly to the serial lines of the router.

Via the comments.

This entry was posted on Wednesday, December 12th, 2012 at 1:00 pm and is filed under Arduino, wireless. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

13 Responses to “How to give your Arduino wireless capability”

  1. Lloyd says:

    I’m pretty sure that Arduinos aren’t the only possible boards in the whole world that might want WiFi capability.

  2. Saulius says:

    Or you could use Carambola with it’s growing community.

  3. the serial pads are quite small, beware of removing them because of too many heat!

    BTW, I have just received a 64MB RAM and 8MB Flash that I need to solder on my wr703.

  4. shawn says:

    if your going to hack linux onto the router then you can pretty much skip out on the arduino in the 1st place a couple of registers connected to the serial of the router and you have all the power of a arduino with in the routers direct control.

  5. ebay, as indicated in a topic from the openwrt forum. See message by xopal at end of page

    Soldering will be fun ;)

  6. Drone says:

    Umm… Take any old OpenWrt capable router, break out the serial COM ports, connect to your micro-controller’s serial UART (bit-bang software or hardware) to the router’s serial port(s), do some scripting and you have a nice solution to this application without having to deal with the USB abstraction. The hacked router handles the wired and/or wireless Internet interface to the WAN/LAN, your scripts on the hacked router format your micro-controller’s serial data for presentation on the WAN/LAN. Simple. Good for putting sensors etc. on the Web and can also be interactive. But the data rates are limited by the serial port speed on the micro-controller. So no streaming Pron etc. If you want to play with this concept without hacking a router just use a PC or laptop with a serial port or a USB/serial port converter and do the same thing. I’ve already said enough, this has been done a million times before – ask Google (or maybe better e.g., duckduckgo dot com). Scripting in PERL is your friend here (my bias). But any shell scripts will work too. Just leverage the power of Regular Expressions (RegEx) when formatting/parsing the data to/from your micro-controller. I’ve done (do) this with the venerable-hackable (and still available) Linksys WRT54GL wired/wireless router. There are newer version routers that follow in the footsteps of the WRT54GL, but I’ve got a stack of them in my lab to play with. So bet it…

    • Tom Price says:

      I have nothing against UART and but plugging into USB sounds like a nice option. The test pads that you need to solder to on the WR703N are pretty small plus they use 3.3V so you may have to convert voltage levels.

      • Squonk says:

        They are actually 2.7V, but still LVTTL-compatible. Beware of USB, as the TL-WR703N’s AR9331 SoC has problems with full-speed devices, and low speed are not working. You need to insert a hub (even passive) to have them working.

      • ElJUaNKeR says:

        USB devices can hang the OS and UARTs are 24/7-things. You just connect anything, open COM port (on linux you can do that may times) and it´s time to play.

    • Squonk says:

      You miss the point here: incredibly low size, price and power consumption. A TL-WR703N case is only 57 x 57 x 18 mm, the PCB alone is just 47 x 47 x 12 mm, so you can even put it into a small RC helicopter… You can get them from eBay for under $22 shipping included, that’s 1/5 the price you would pay for the Arduino wireless shield mentioned in the other post. Current drawn is 100mA with Wifi@18dBm under 5V, so it’s 0.5W… Even the Carambola does not go that low. If yo want a camera, attach a webcam to the USB host port, you get a 400MHz MIPS24kc processor, much better than an AVR regarding processing power… This is just the next WRT54GL ;)

  7. I agree, this is a very cool device.

  8. Equinoxefr says:

    You can also use unused gpio ports to add an i2c bus to your router. I made it on a TPLink MR3020 which is the same router than the WR703N.

    Now, i can connect my arduino to the router with i2c. Great :)

    Some pictures of the i2c mod:

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Edward Mallon: A visiting researcher dropped by our humble basement workshop with questions about the physical skill level students would need if they added one of our...
  • KH: And that looks really expensive... Only browsed the vid though, I'm an dinosaur so I had the sound off too. Nice of him to open-source...
  • Anton: I really need bus pirate!! Thanks
  • Crawford: Happy Father’s Day!
  • Fred Fish: me