Save a Web File to the Arduino SD Card

details

Save a Web File to the Arduino SD Card

saved-web-file

This article shows how to use an Arduino to fetch a file from the Internet and save it to an SD card.

An Arduino and Ethernet shield is needed to connect to the Internet, or an Arduino with built-in Ethernet such as the Arduino Ethernet board.

The Ethernet shield provides a wired connection to the Internet as well as a micro SD card socket for connecting a micro SD card to the Arduino.

An Arduino sketch is used to configure the Arduino as an Ethernet client that fetches the web file. The web file can be an HTML page, XML file, text file, image or any other web resource file.

Two sketches are provided below. The first sketch saves the HTTP header and requested file to the SD card in case further information from the HTTP header is required by a project. The second sketch saves only the requested file and strips off the HTTP header.

For more details, please refer to the following link.

Source : http://startingelectronics.org/software/arduino/save-web-file-to-SD-card/

Author : http://startingelectronics.org/, Not yet

Save a Web File to the Arduino SD Card

saved-web-file

This article shows how to use an Arduino to fetch a file from the Internet and save it to an SD card.

An Arduino and Ethernet shield is needed to connect to the Internet, or an Arduino with built-in Ethernet such as the Arduino Ethernet board.

The Ethernet shield provides a wired connection to the Internet as well as a micro SD card socket for connecting a micro SD card to the Arduino.

An Arduino sketch is used to configure the Arduino as an Ethernet client that fetches the web file. The web file can be an HTML page, XML file, text file, image or any other web resource file.

Two sketches are provided below. The first sketch saves the HTTP header and requested file to the SD card in case further information from the HTTP header is required by a project. The second sketch saves only the requested file and strips off the HTTP header.

For more details, please refer to the following link.

Source : http://startingelectronics.org/software/arduino/save-web-file-to-SD-card/

Author : http://startingelectronics.org/, Not yet

COMMENTS

Please Login to comment
  Subscribe  
Notify of