When I travel carry a small Wi-Fi router to use in hotel rooms (TP-Link TL-WR702N) which is a 150Mbps access point, I remembered that it could be configured as a client among other modes it has.
I reconfigured it as a client and assigned an IP number checked I could access it over my home Wi-Fi network , by plugging into a desktop’s LAN port, also checked that it had access to the internet .
I then plugged the TP-Link TL-WR702N into the ENC28J60 Ethernet module and the UNO and ran the etherShield web switch example which came with the etherShield library and it worked. The router runs of 5 volts via a mini USB connector which works out well with the Arduino.
I live in mainland China and this whole experiment cost me about US$20 for the ENC28J60 Ethernet module and the wireless router, I checked up on the local prices for an Arduino Wi-Fi shield and it was between US$45 to US$80.
Once I figure out what my final project will be I might splurge and buy a real Wi-Fi shield for it, till then this serves my purpose albeit a bit messy with the wires.
Any and all feedback is appreciated, I will try and answer any questions if any.































Visit Our Store »
Go Pro Today »




I tried WR703N and Arduino with USB, saving ethernet shield.
OpenWRT WiFi client config had to do in text editor without webinterface.
http://www.instructables.com/id/How-to-set-up-OpenWRT-on-a-pocket-router-WR703N/
Thanks for posting this project.
I’m using Arduino Uno R3, Ethernet shield and TP-Link TL-MR3020 (switch at WISP mode). I’m having trouble connecting.
There are 3 types of connections: PPPoE, Dynamic IP and Static IP. Which one did you use? How do you figure out what IP address to use in the Arduino pde program? I’m using the Arduino 23 IDE.
Thanks in advance.
Apr 30, 2012. 1:28 AM
Point noted , I would have if I could have , the WR702 uses the AR9331 chipset. which is not supported by OpenWrt for one , secondly the onboard USB is only available as the power port for the router.
I will be cracking open the case in the near future to see if I could access the serial port connections
The cheapest "wifi shield" hack I've found thus far is a Neewer 150M mini Pocket Wireless Router ($17) + the mentioned ENC28J60 (~$6) for an end cost of ~$23. The 703n is closer to $30.
See the OpenWRT wiki page for the 702 to see why it's not supported.
One question, I have a WR703 on the way with DDWRT firmware pre-installed.
Do I have to flash OpenWRT or will DDWRT work?
I have no experience using either DDWRT or OpenWRT on the WR703/702
Thanks for the reply ddoss.
thanks
Here is a neat starting point for the Arduino and ENC28J60 Ethernet module , well written tutorials in 8 parts , the control is via a webpage from any web enabled device http://www.lucadentella.it/en/category/enc28j60-arduino/
Also Janisalnis ( http://www.instructables.com/member/janisalnis/ ) has written some instructables on home automation
You should look into these.
More can you plz guide me that how can i use the Wifi functionality of Bluetooth mate gold https://www.sparkfun.com/products/9358
to control LEDs through wifi??... can it be possible ?? i have already used this Bluetooth mate gold to control LED's via bluetooth.. :)
http://www.gadgetnate.com/2011/07/03/control-leds-over-the-wireless-network-using-arduino-and-wishield
As much as I would like to help you , I'd suggest you first get yourself an Ethernet module/shield wired or wireless the follow the tutorial on the first link I gave you
( http://www.lucadentella.it/en/category/enc28j60-arduino/ ) the tutorial is written in a easy to understand manner , follow the examples there understand each of the tutorial's before jumping to the next., if there is something that is confusing in the new tutorial go back to the previous one's and re-read them , don't copy and paste the code from the page's ,manually type it into the IDE .
If you still have a problem search the web and on the Arduino Forum http://arduino.cc/forum/
Having said all the above I hope you have understood the basics of an Arduino.
...another note. I used the Neewer 150 Mini Pocket WiFi router in reverse mode (WiFi switch on the device) and was able to get the Arduino serving a simple web page after a lot of fail trying to make it connect to google.
It's pretty damn convoluted but it works.
I don't recommend this project for beginners...I support and develop the full LAMP stack for a living and I've got a gnarly headache from this undertaking.
It seems identical to the neewer one:
http://www.ebay.com/itm/261062999542
Have you used the latter ? Why it should be so difficult ?
As far as I understand you have to configure the device as client so it gives wireless capability to the ethernet shield (or module, either ENC28J60 or W5100).
Maybe am I too optimistic ?
Nice hack !
Do you think ANY wifi router configurable as client will do the job ?
This one for example: http://www.ebay.com/itm/180933254938
I looked at your example link and the data there does not suggest it could be a client.
http://img2.dib-bid.com/gallery/mini-3-in-1-wireless-pocket-router.jpg
but indeed I'm not so skilled on Wifi to understand ...
Noticed that on ebay they are selling the TP-link TL-WR702N on average for about 22$ .
cheers.
Could not help wondering though: why you carry a router to hotels? To use more than one appliance in case there is only LAN and no WLAN?
I will be cracking open the case in the near future to see if I could access the serial port connections .