Solution:
Connect the PmodWifi straight to the Arduino as follows:
PmodWifi pin - Arduino pin
SS_N(SS) 1 - 10
SDI(MOSI) 2 - 11
SDO(MISO) 3 - 12
SCK 4 - 13
GND 5 - Power GND
VCC 6 - Power +3.3V
INTX(INT) 7 - 2 OR 8__*__
RST 8 - Power RESET
GND 11 - Power GND
VCC 12 - Power +3.3V
__*__Pin 2 is the better pin to use, however if you HAVE to use pin 2 for something else you can use pin 8. If you decide to use pin 8, open up spi.h in the WiShield library and comment out USE_DIG0_INTR and uncomment USE_DIG8_INTR.
Also connect an LED to Arduino pin 9, this will be your "wifi is ready" indicator. Don't forget the resistor (see Arduino's blink example)! Next, load up the WebServer example sketch from the WiShield library, set your wifi variables and you are good to go! If you are not sure what those variables should be, check the settings on a device that is already connected to the wifi. Make sure that the IP address you set for your Pmod is not already in use.
Original Post:
I bought a PmodWifi from Digilent and I am trying to use it with my Arduino Uno, however I have not be able to find any resources to get me started. I tried to follow this tutorial but the Pmod abstracts the interface to the MRF24WB0MA chip and I am not sure what adjustments need to be made to the design.
Can anyone point me in the right direction? Thanks,
- Mike
Edit: Here is the reference manual.
I am unable to get the "ready" LED to come on as described in the tutorial. I also put a print statement right after Wifi.init(); but it never reaches it. Is there a way for me to see if it is throwing any errors?
Here is how I have it connected, I am assuming the pin numbers as follows, please tell me if I am wrong (looking at the pin header straight on):
1, 2, 3, 4, 5, 6
7, 8, 9, 10, 11, 12
... (see above for the correct way) ...
Also, is there an LED on the Pmod that should be on? (no there, are no LEDs on the pmod)