Variable conversion (Solved)

Thx, i will try it -but how to connect the NFR to the SPI ?
Like described in the MIRF-Demo ?

Don't NRF just now, one step at the time, for now Try the wifi chat server.

Cause I know the NRF part will work right away so dont worry about that just yet. Let's get starting by the unknown part.

Your working on Uno and this WIFI shield right? http://arduino.cc/en/Main/ArduinoWiFiShield

No, that was my intention at all -to get connected to my WLAN only with the NFR24L01+ :wink:

If it's the case you will set the NRF device on pin 11, 12, 13 for the SPI. And you will have to:

Mirf.cePin = 9;
Mirf.csnPin = 8;

Since your WIFI shieild is using pin 10 as you can see here:

So basicaly like the picture at the bottom:

No, that was my intention at all -to get connected to my WLAN only with the NFR24L01+ and without the WiFi shield :wink:

Ok so how do you connect to your WIFI Lan if not with the WIFI shield? Do you connect using a RJ-45 cable?

Oh you want to connect to your WIFI router with the NRF device? Forget about that. You would have to find the full WIFI connect procédure and even the i'm not sure the chanel match

Oh, i thought i was possible following this example:
http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo

Yeah I see what you mean, but no. you can make a network, like WIFI, but not WIFI as such. it's more complicated then just a frequency match.

Even if you manage to fit the full procédure, I don't think there will be any mémory left to work with in you Arduino after that.

=(
i dont want to buy the expensive WiFi Shield, so i searched for alternatives and thought, this could work.

So thanks a lot for your help (your Karma got a "hit") :slight_smile:

Without the will to make a publicity for a particular product or place, have you consider product like those:

http://www.aliexpress.com/item/2-4G-Wireless-Module-TLG10UA03-Embedded-Uart-Wifi-Module-UART-WiFi-Network-Server-Client-IEEE802-11b/988481350.html

It's not to expensive, it's got ip stacking built in and all

Yes, i found it here and i was happy (a few seconds....).
http://www.ebay.de/itm/UART-WiFi-Server-Client-Module-Kits-Arduino-Compatible-/130542318415?pt=LH_DefaultDomain_0&hash=item1e64edb34f

Then i read further and saw, that this also uses the WiFi Shield...but has this shield some special parts on it for WiFi connection or leads it simply out the depending pins ?

This is just like your BlueTooth device in the way that it use a Serial port. You will use a virtual Serial port in the case of a Uno or one of the 3 hardware Serial port in the case of a Méga or Due.

It does not use the Wifi Shield at all, it's a module. It could be link to your computer with the wire you see beside the device to the USB port, but it can also be connected directly to your Arduino, or other micro-controler, on the Serial port.

It's a neet device. I like it.

Aha, OK - now i understand that part.
USB to Serial and USB to TTL - sticks i have several here, so i think i order that piece from your other link...only 16 bucks (thats about 12 EUR for me) + some shipping seems OK then....

Nah is't 16$ shipping included :wink:

Here's the pin out just incase you ever need it

And you can just use one of you WiFi antenna from a old WiFI PCI card that hang out in you closet. It's cut for 2,4ghz and it's all it need.

Hoi Frédéric,

have a look on this thread:
http://forum.arduino.cc/index.php?topic=187274.0

Yep it does just like the sample code i put on, probably more developed, it's a nrf enc gateway. It's just like WIFI, but it's not.