Pages: [1] 2   Go Down
Author Topic: help with wifi-proto  (Read 1179 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi i have a question about how connect this wi-fi (http://www.mikroe.com/downloads/get/1051/wifi_p_manual_v100.pdf) to an arduino one. Thank you smiley
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
i have a question about how connect this wi-fi...to an arduino one.
Are you going to ask it?
Logged

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

Yes i'm asking if anybody can explain me how connect this device to an arduino one. Sorry for my english, thank you
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The module seems to use the same chip as the WiShield 2.0 from Asynclabs, so you probably can use their library (https://github.com/asynclabs/WiShield). Take a look at their wiki page about the shield to get an idea how to connect it: http://asynclabs.com/wiki/index.php?title=WiShield_2.0
Logged

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

Thank you !
Logged

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

Sorry but i'm new in that and i don't understand how to connect it. Somebody has more information?
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

GND to GND, Vcc probably to 3V3 (but this doesn't get clear from the "User Manual" sheet), MISO to pin 12, MOSI to pin 11, SCK to pin 13, INT to pin 2, CS to pin 10, RST to Reset, CE to GND. This is my best guess because your linked sheet does not include much information.
Logged

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

this days i have try that this works and i couldn't achieve. In this moment i'm connecting this ports:

CE -> GND
RST -> RESET
CS -> 10
INT -> 8
SCK -> 13
MOSI -> 11
MISO -> 10
BOTH VCC TO 3.3V
GND -> GND

And it doesn't work.
Anyone can help?

Thank you!
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
CS -> 10
MISO -> 10

This cannot work.

And you may destroy your module, I don't know if it's capable of receiving 5V on it's comm pins. You may have to install level converters.

Quote
INT -> 8

The default is pin 2, have you changed the library accordingly?
Logged

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

sorry, i mean MISO -> 12. And yes, i changed the library.

I do the steps explain in this site: http://theiopage.blogspot.com.es/2011/10/connecting-mrf24wb0ma-to-arduino.html
And when i do the example that doesn't work.

Thanks you!
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
And when i do the example that doesn't work.

You understand that this information is of almost no value to us. What doesn't work? What output do you get? What are you doing to get that output? Describe the network environment you're trying it. Post the code your trying with.

Quote
And yes, i changed the library.

Just to check: post the change you made.
Logged

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

in this web : http://theiopage.blogspot.com.es/2011/10/connecting-mrf24wb0ma-to-arduino.html

the example shows that when you open google xhrome and put the 192.168.1.2 in the navigator, arduino sens you a web. In my case this web doesn't show.

the code is the next:

#ifdef USE_DIG8_INTR
   // set digital pin 8 on Arduino
   // as ZG interrupt pin
   PCICR |= (1<<PCIE0);
   PCMSK0 |= (1<<PCINT0);
#endif
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
#ifdef USE_DIG8_INTR
   // set digital pin 8 on Arduino
   // as ZG interrupt pin
   PCICR |= (1<<PCIE0);
   PCMSK0 |= (1<<PCINT0);
#endif

This is the relevant code but not the code that you should have changed. This is probably the reason it doesn't work for you.
Logged

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

yes i have the same code and the connections that i said in the last post and it doesn't work :S.

EDIT: an image with hardware connections http://imageshack.us/f/855/20121113170322.jpg/.

Thank you
« Last Edit: November 13, 2012, 11:20:18 am by xangomango » Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
yes i have the same code and the connections that i said in the last post and it doesn't work :S.

If this is true, you haven't done the necessary change and it's obvious that it doesn't work.

You have to change in the file spi.h:

Code:
// Uncomment one line below to
// specify which Arduino pin
// to use as WiShield interrupt
#define USE_DIG0_INTR // use digital pin 0
//#define USE_DIG8_INTR // use digital pin 8

to

Code:
// Uncomment one line below to
// specify which Arduino pin
// to use as WiShield interrupt
//#define USE_DIG0_INTR // use digital pin 0
#define USE_DIG8_INTR // use digital pin 8

What kind of WiFi access point do you have? I made the experience that it doesn't work with every kind of access point, although with most APs I tested it worked (I have one type that doesn't work).
Logged

Pages: [1] 2   Go Up
Jump to: