Arduino Wifi Shield

Actually, i am using the wifi shield. I have already test it with my network and it works successfully. The problem that i have i am creating a web server and by typing an IP address you will see data on the page. I am using SPI communication with the arduino boards but i am not able to see any data on my screen. Is there any relation between the Wifi shield SPI and the board SPI that need to be configure fisrt so as to be able to connect to the webpage? Its urgent thank you.

ADE7753_updated_1.ino (27.2 KB)

can you reach your board over ping ?

I have not try it. I have done a test on with the wifi web server examples, it works perfectly. But actually my project take values from SPI connection from an IC then i have to transfer it to an IP. I dont know if it because the shield uses SPI communication between the boards and shield that this causes the problem.

it would be helpful to post the code so that we can see where the problem is :wink:

Here it is.. I have modify the post take a look. Thank you

i would suggest you too use the TimerOne lib for the asnychrone getting of the SPI data.
http://playground.arduino.cc/Code/Timer1
or other interrupts

Can you include it in my code if possible it really urgent. The code for SPI communication between the IC was perfect. But while i integrate the code for wifi shield and to display it over a webpage. It did not see anything and then get a timeout error.

Its not hard to include :slight_smile:
you just need to get the data in the interrupt runtime.

The displaying is then they easy'st part because there are not delay's anymore because the interrupt do the reading.

Example :

#include "TimerOne.h"
 /*
TEMP VALUES FOR THE DISPLAY PURPURSE
*/
void setup()
{
  Timer1.initialize(1000000*SECONDS); //
  Timer1.attachInterrupt(callback);  // attaches callback() as a timer overflow interrupt
}
 
void callback()
{
  //your SPI things
}
 
void loop()
{
  // your webserver display
  // JUST GET THE TEMP DATA
}

Ok i will try it and let you know thank you.