This tutorial refers to a product that has reached its end-of-life status.

Download and Store Web Data © GPL3+

How to use the Arduino HTTP Client library to download a raw text page and store its content on an SD card.

Components and Supplies

Apps and Online Services

About This Project

Format Your SD Card the Right Way

The Arduino SD library is able to read and write only FAT16 or FAT32 cards, so first you need to format your SD card in one of these formats.

Put Things Together

This project is very easy to assemble. You simply have to put your SD card in the Arduino MKR SD Proto Shield and place the shield on top of your MKR1000 board.

HTTP Client Library

The Arduino HTTP client library allows you to easily parse a HTTP GET request separating the header and the body for you. This means that your code is very light and understandable. You can even change your sketch behavior depending on the status code response.


Run the Code

To run the code, upload it onto your board and then open your Serial monitor. The board will print out the various steps in the code, and if the ASCII logo is correctly downloaded, it will be printed on the Serial monitor reading it from the SD card.

Contribute to Arduino

Join the community and suggest improvements to this article via GitHub. Make sure to read out contribution policy before making your pull request.

Missing something?

Check out our store and get what you need to follow this tutorial.

Suggest Changes

The content on is facilitated through a public GitHub repository. You can read more on how to contribute in the contribution policy.
The Arduino documentation is licensed under the Creative Commons Attribution-Share Alike 4.0 license.