Project tutorial
Download and Store Web Data

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.

  • 7 respects

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.




Add projectSign up / Login