Today’s tutorial is a bit different: I’m going to show you how to make your ethernet shield wireless!
Sometimes however it could be easier (and maybe cheaper!) to connect an Arduino to the Wi-fi network using your ethernet shield in conjunction with a wireless router.
I found the TL-WR702N nano router by TP-LINK that, with a cost of about 20€ on eBay, can work also as a wireless client: in this mode the router acts like a “bridge” between the device connected to its ethernet port and a Wi-fi network.
The TL-WR702N router is also very small and you can power it through a micro USB connector:
Here’s how to configure it in client mode:
First, give to your PC a fixed IP address, 192.168.0.10, and connect it to the router using an ethernet cable:
Open your browser and type http://192.168.0.254; login with admin as username and password.
Choose Client mode:
Click Survey to find your Wi-fi network, then type your security settings (password…):
Wait till router restarts:
Now connect your Arduino+ethernet shield to the router; wait a couple of seconds and it will be available through your wireless network!