I'd like to start a Wifi project, but I've some doubt about the shield I've to buy. I've to communicate with arduino by WiFi 802.11b/g.
Please let me know if it's correct:
Arduino Mega 2560 R3 ADK
XBee Shield
RN-XV WiFly Module - SMA Connector
If its not a mobile system, why not go with a " standard" Ethernet shield and a little WiFi pocket router like the TP- Link TP WR702n ?
Heck, even if its a mobile system this would work.
Headroom:
If its not a mobile system, why not go with a " standard" Ethernet shield and a little WiFi pocket router like the TP- Link TP WR702n ?
Heck, even if its a mobile system this would work.
Yes, it looks a more standard solution and the I guess that a standard WiFi router can works better than the Wifi arduino shield, but I'm afraid to have problem to communicate from ethernet shield and the router (and haven't search aroud the forum about this). Is it easy? is it eanought to conenct the ethernet shield with the router and that's all?
If you could provide a description what you want to achieve with your project it would be much easier to answer if the solution I suggested is " easy"
It was easy in the case of my project. I wanted to be able to remotely controll a rather sophisticated RGB Lighting System from an iPhone. There were a couple of Arduino libraries that made this easy. One of them is the DHCP/Bonjour library. In my case the router is set up in " client" mode or perhaps a better description is " bridge" mode. When it connects to my home network the DHCP client on the Arduino (well..an Teensy++ with a WIZ 812 Ethernet Module) receives an IP address from my AirPort Extreme router. Then the Bonjour service on the Arduino registers a service (OSC through e ArdOSC librar) on the network. TouchOSC on my iPhone picks it up and I can connect very quickly to the lighting system in true ZeroConf fashion. Easy!
Your project may do something entirely different. Perhaps you can describe what you want to do.
And that has to be WiFi or just wireless ?
If it can be " just" wireless then that opens up a whole lot of options that are potentially much less expensive than WiFi. Xbee rf is a lot less costly and there are a lot of projects using it successfully for such things as remote controlled " something".
Now, if you want to remote controll something wirelessly through an iPhone or iPad that will definitely make things more expensive as the wireless options a rather limited to WiFi and Bluetooth. And Bluetooth seems to only work if you jailbreak the device and run BTstack.
I need WiFi, not wireless.
But I searched a bit around about to use the Ethernet shield connected to a WiFi router, and it looks the easier idea.
It seems that the router doesn't represent a problem in the programming phase. I'd use an D-Link USB adapter to the internet connection. Should it work?
Moreover I've to use the encrypted WiFi lan WEP and WPA2. Is it a problem if the conncteion id done fron a ethernet shield + router?
Hi s80
If I was you I would look at using the arduino FIO.
What you cant see in the picture of the FIO is the xBee socket on the back of the board.
Then you get a wifi adaptor with the same footprint as an xBee module:
So now you have a really small arduino with wifi! So easy! and you don't have to worry about the power supply for your router and all that battery consuming jazz.
The FIO is really cool because it has a lipo battery connector, so you just add something like this (below) to your cart, and you're well on your way:
michaelwardsystems:
Hi s80
If I was you I would look at using the arduino FIO. http://arduino.cc/en/Main/ArduinoBoardFio
What you cant see in the picture of the FIO is the xBee socket on the back of the board.
Then you get a wifi adaptor with the same footprint as an xBee module: https://www.sparkfun.com/products/10822
So now you have a really small arduino with wifi! So easy! and you don't have to worry about the power supply for your router and all that battery consuming jazz.
The FIO is really cool because it has a lipo battery connector, so you just add something like this (below) to your cart, and you're well on your way: https://www.sparkfun.com/products/341
Thanks, but I prefer the Arduino mega, so I'm ready for future development and to install more shield. For example I'd also install a motor shield.
you could also consider the idea of buy a cheap wifi router with usb,for example wr-703N( 20€ )...you'll install on in openwrt and some packages for arduino,and connect the arduino with router via usb cable..it's really cheap,but require few effort for install/configure properly openwrt..
Supplying power to the little router - and this works the same way for a TP- Link TP WR702n or TP- Link TP WR703n. These get their power from a little USB powersupply and you can cu and connect the cord directly to the Arduino. I have both routers and this works flawless. Not sure what the power cnsumption is as my project is not pbattery powered.
Also, yes I've come across OpenWRT as well. If this is of interest, however, you cannot do that with the WR702n . It uses different (less powerful) hardwarw than the TP WR703n and does not have a USB port. The USB port on the 703 as it comes out-of-the box is meant to accept a 3G modem USB stick. With OpenWRT you can then repurpose the USB port as described above. A word of caution though. the configuration web interface on the 703 is completely in Chinese!
Then you need to consider the time it will take you to go this route. With an ethernet shield you will be up and runnig in no time. The 702 and 703 can both be configured to connect to WAP/WEP networks (I own both of them). Both offer a web interface for easy configuration.
I've the necessity to have a router with external antenna.
So generally which kind of characteristic I've to look for the router. Are all ok, or do they have something particular? Have I to configure it like a bridge? for example the TL-WR741ND would be ok?
m_ri:
in my opinion,in you case,if the router has a usb port and support openWRT(see on openwrt.org), it's ok for your use..
sorry, but it doesn't have the external antenna that I require.
Moreover given that I've to buy a new router I prefer to directly buy a new one that ciover all my necessity without use OpenWRT.
ok, maybe I'm explained wrong..if the router satisfies my requirement,it's ok for be used with an arduino..moreover,you can add all requirement what you want
Headroom:
Supplying power to the little router - and this works the same way for a TP- Link TP WR702n or TP- Link TP WR703n. These get their power from a little USB powersupply and you can cu and connect the cord directly to the Arduino. I have both routers and this works flawless. Not sure what the power cnsumption is as my project is not pbattery powered.
Also, yes I've come across OpenWRT as well. If this is of interest, however, you cannot do that with the WR702n . It uses different (less powerful) hardwarw than the TP WR703n and does not have a USB port. The USB port on the 703 as it comes out-of-the box is meant to accept a 3G modem USB stick. With OpenWRT you can then repurpose the USB port as described above. A word of caution though. the configuration web interface on the 703 is completely in Chinese!
Then you need to consider the time it will take you to go this route. With an ethernet shield you will be up and runnig in no time. The 702 and 703 can both be configured to connect to WAP/WEP networks (I own both of them). Both offer a web interface for easy configuration.
some 702 also indicate that are in Chinese so be carefull
I bought a 703 based on headroom information, but I think i will try to find a 702 in english also, cause I know i will need two of them so this way i can try both versions.
***This device has Chinese User Interface, however, we will provide an English version of setup. If in need, please feel free to contact us***
after the installation of openWRT,you can set your preferd mode..but i think that you can also not use bridge mode(expect if you think to use wifi and ethernet port of the router in the same time)
m_ri:
after the installation of openWRT,you can set your preferd mode..but i think that you can also not use bridge mode(expect if you think to use wifi and ethernet port of the router in the same time)
It is not really necesary to install openWRT to get the router in bridge mode, right? The stock chinese interface should allow you to get it to bridge mode?