Wednesday, 25 February 2015

FYP2 - Week 4(2)

Result form previous post of SD Card
  • Copy the coding sketch in previous post and paste it into the Arduino IDE. 
  • Change the IP address in the sketch to match the IP address range of your network.
  • Your hardware must be set up as described in previous of this tutorial.
  • Load the sketch to the Arduino and then open a web browser on a computer that is connected to the same network as the Arduino.
  • Surf to the Arduino by typing the IP address of the Arduino into the URL field of the browser, e.g. 192.168.0.2 

The Web Server should display a web page as shown below.





Important Note!
  • If an uninitialized SD card is left in the SD card socket of the shield, it can cause problems with code in the sketch that is accessing the Ethernet chip. This may cause symptoms such as the sketch running once or twice, then hanging up.
  • This is because both the Ethernet chip and the SD card are accessed by the Arduino using the same SPI bus.
  • If the SD card is not being used with an Ethernet application, either remove it from the socket or add the following code to disable the SD card


No comments:

Post a Comment