Pages: [1]   Go Down
Author Topic: Wi-Fi, where to start?  (Read 5048 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

New to Arduino, I'm working on an idea that will allow control of the arduino from an online webpage.  So if I understand correctly something like:

html/Javascript -> PHP -> Arduino Duemilanove

I know the first two steps (html/Javascript and PHP) and the Arduino side is reasonably simple however I need the arduino to be able to connect to the internet wirelessly and this seems quite confusing due to the number of shields and their differences.  So far I've come up with:

Xbee wifi: http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/point-multipoint-rfmodules/xbee-wi-fi#overview

Arduino wi-fi shield: http://asynclabs.com/wiki/index.php?title=WiShield_1.0
http://asynclabs.com/store?page=shop.product_details&flypage=flypage.tpl&product_id=29&category_id=6

Anaconda Wi-Fi Shield for Arduino: http://www.robotshop.com/eu/productinfo.aspx?pc=RB-Lin-31&lang=en-US

Copperhead Wi-Fi Shield for Arduino:
http://www.robotshop.com/eu/productinfo.aspx?pc=RB-Lin-39&lang=en-US

DFRobot Wi-Fi Shield for Arduino: http://www.robotshop.com/eu/productinfo.aspx?pc=RB-Dfr-132&lang=en-US

Arduino WiFly Shield (unprotected networks only so not a good option): http://www.coolcomponents.co.uk/catalog/arduino-wifly-shield-p-456.html

and finally an Ethernet shield connected to a linksys gaming adapter (but I believe this was a pre-Wi-Fi shield solution from the old forum).

and I'm finding more and more.  Can somebody advise which is appropriate for what I'm trying to do, is plug and play, ideally has a external aerial and is available from a supplier in the UK (or Europe)?

Thanks in advance
Garrett
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
Arduino neewbie
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Garrett!

Thank you for posting this, I am also new to the Arduino, and also confused regarding WiFi shields.

Planning to use the Mega version with WiFi for a project, but uncertain what WiFi shield to use.

Cheers
Joe
Logged


Wellington, New Zealand
Offline Offline
Sr. Member
****
Karma: 1
Posts: 404
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd add the WiFly RN-XV to that list: http://www.sparkfun.com/products/10822.

All of the WiFly modules support WEP, WPA, and WPA2, including the more expensive RN-131 shield you posted.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

Ok so it's got an external antenna and I've found a uk based supplier but this isn't plug and play is it?  I need a shield, what do I need to connect it to a Duemilanove?

>All of the WiFly modules support WEP, WPA, and WPA2, including the more
>expensive RN-131 shield you posted.

Is this a comment about the note I had on unprotected networks?  I saw that on a forum - is it not true?

Thanks.
Garrett
Logged

Wellington, New Zealand
Offline Offline
Sr. Member
****
Karma: 1
Posts: 404
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

Ok so it's got an external antenna and I've found a uk based supplier but this isn't plug and play is it?  I need a shield, what do I need to connect it to a Duemilanove?

Yes you need an XBee shield for it.  Here's a few that would do: https://github.com/harlequin-tech/WiFlyHQ/wiki. Any XBee shield should work provided it has a correct solution for the 5V to 3.3V level translation on the DIN pin for the WiFly / XBee.

Quote
>All of the WiFly modules support WEP, WPA, and WPA2, including the more
>expensive RN-131 shield you posted.

Is this a comment about the note I had on unprotected networks?  I saw that on a forum - is it not true?

Yes that's a fabrication. The datasheet is probably a more reliable source of information.  Which forum gave you the misinformation?

Edit: Here's the RN-131 datasheet, same protected networks as the RN-XV: http://www.rovingnetworks.com/resources/download/11/RN_131
« Last Edit: May 03, 2012, 04:23:48 pm by dhunt » Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your advice, I've found both WiFly and Xbee shield.

WiFly: http://proto-pic.co.uk/rn-xv-wifly-module-sma-connector/
xbee shield: http://www.alpha-crucis.com/en/shields/72-xbee-shield-for-arduino-3700386600159.html

Seems much cheaper than some of the original solutions I had seen so I'm going to order these tomorrow.

Garrett
Logged

SF Bay area
Offline Offline
Sr. Member
****
Karma: 2
Posts: 266
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I did this research before.

when choosing, always go with the most popular/widely used. And that appears to be wifly.

get the wifly on xbee footprint. like this
http://www.sparkfun.com/products/10822
or this
http://www.sparkfun.com/products/10822
I think it is exactly the same as your first link. UK prices seems really high.

For the adapter, make sure you get one with actual level converter (5v to 3.3v) chip, like this
https://www.adafruit.com/products/126

some just use a resistor voltage divider to convert 5v to 3.3v.

Anyway, I ended up not using wifi for ethernet, because cost becomes prohibitively high.
You can get a decent ethernet shield on ebay for as low as $15 shipped. Then just add a wireless router like this for $24 shipped.
http://www.tp-link.us/products/details/?categoryid=241&model=TL-WR702N
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
Arduino neewbie
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!

Been looking at the links posted, learning something new everyday, thanks to the posters!  smiley

But what (and do pretend you are talking to a less than stellar part of the human community  smiley-razz)

- If cost was no problem.

- A shield fitting the Mega.

- A somewhat mature/stable library

...what would you recommend?

Cheers
E-Joe
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

when choosing, always go with the most popular/widely used. And that appears to be wifly.

Good to know, I was worried about examples and finding support if this was complex.

For the adapter, make sure you get one with actual level converter (5v to 3.3v) chip, like this
https://www.adafruit.com/products/126

What's the adaptor for?  I thought it was: Duemilanove -> xBee Shield -> WiFly
Is there something else that needs to be in there?

Garrett

Logged

Wellington, New Zealand
Offline Offline
Sr. Member
****
Karma: 1
Posts: 404
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For the adapter, make sure you get one with actual level converter (5v to 3.3v) chip, like this
https://www.adafruit.com/products/126

What's the adaptor for?  I thought it was: Duemilanove -> xBee Shield -> WiFly
Is there something else that needs to be in there?

Yes you are correct, you just need the shield and the WiFly RN-XV. Resistor voltage dividers for 5V to 3.3V are fine. The diode solution on the sparkfun XBee shield is an example of a broken solution that does not work.

The shield you ordered looks like the same one from DFRobot. I have one and it works, although it reboots the arduino whenever the WiFly reboots, and I cut off pins 0 and 1 and soldered a couple of jumper wires to them so I could connect them to other pins (8 and 9) to use software serial.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you are correct, you just need the shield and the WiFly RN-XV. Resistor voltage dividers for 5V to 3.3V are fine. The diode solution on the sparkfun XBee shield is an example of a broken solution that does not work.

Sorry panicky I bought the wrong one.

The shield you ordered looks like the same one from DFRobot. I have one and it works, although it reboots the arduino whenever the WiFly reboots, and I cut off pins 0 and 1 and soldered a couple of jumper wires to them so I could connect them to other pins (8 and 9) to use software serial.

Same code so I hope so.  Thanks for reassurance.

Garrett
Logged

Offline Offline
Sr. Member
****
Karma: 7
Posts: 277
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've suggested this several times already in other threads. You can just use a standard Ethernet shield with its widely used library and then connect a little pocket router to it. For example a TP-Link tp wr702n.
Still pretty mobile and not more expensive than most of the WiFi shields. But with the BIG advantage of being able to use the Arduino Ethernet Library out of the box.

It works very nicely in my project, which utilizes two other libraries that themselves use the the Ethernet Library (Bonjour, and ArdOSC).
Logged


Offline Offline
Newbie
*
Karma: 1
Posts: 49
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What he said ... I use Asus 330gE transceivers, which are 30 pounds (this
is in the UK) instead of the 70 or so which is the cheapest 802.11g shield
I can find.  They have a pretty good range, and simply plug into the
Ethernet connection; as a transceiver they don't take much power.

They can also act as a base station, as well, but I haven't looked at that.

Will
Logged

Pages: [1]   Go Up
Jump to: