|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 313
Posts: 35507
Seattle, WA USA
|
 |
« Reply #1 on: October 16, 2012, 10:14:01 am » |
i have a question about how connect this wi-fi...to an arduino one. Are you going to ask it?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #2 on: October 16, 2012, 10:20:32 am » |
Yes i'm asking if anybody can explain me how connect this device to an arduino one. Sorry for my english, thank you
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #4 on: October 16, 2012, 10:58:56 am » |
Thank you !
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #5 on: October 16, 2012, 12:42:39 pm » |
Sorry but i'm new in that and i don't understand how to connect it. Somebody has more information?
|
|
|
|
|
Logged
|
|
|
|
|
Switzerland
Offline
Faraday Member
Karma: 69
Posts: 3280
|
 |
« Reply #6 on: October 18, 2012, 04:08:09 pm » |
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
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #7 on: October 25, 2012, 09:42:42 am » |
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
Faraday Member
Karma: 69
Posts: 3280
|
 |
« Reply #8 on: October 25, 2012, 10:56:35 am » |
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. INT -> 8 The default is pin 2, have you changed the library accordingly?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Switzerland
Offline
Faraday Member
Karma: 69
Posts: 3280
|
 |
« Reply #10 on: October 26, 2012, 05:32:19 am » |
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. And yes, i changed the library. Just to check: post the change you made.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #11 on: October 27, 2012, 06:07:39 am » |
in this web : http://theiopage.blogspot.com.es/2011/10/connecting-mrf24wb0ma-to-arduino.htmlthe 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
Faraday Member
Karma: 69
Posts: 3280
|
 |
« Reply #12 on: October 27, 2012, 05:59:09 pm » |
#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
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #13 on: November 13, 2012, 11:01:30 am » |
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
Faraday Member
Karma: 69
Posts: 3280
|
 |
« Reply #14 on: November 13, 2012, 11:31:26 am » |
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: // 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 // 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
|
|
|
|
|
|