getting data from web (via usb cable)

Hello :slight_smile:

i am almost new to arduino and i am currently doing lots of tests with my board. At the moment i want to to the following: I want my arduino to "visit" a webpage (it only contains a number) and grab this number into a variable which is going to be used later on in the program. I do not own a ethernet shield yet so I do have to get the data via the usb cable with the arduino connected to my computer. I could not find any example how the code may look like. Can anyone help me with this issue? Or do i need a ethernet shield in order to connect my arduino to the internet?

thanks a lot

tm

You need to have some code on your PC that gets the web page, extracts the number from the HTML file and then sends this down the serial port to your arduino.
One way of writing this code is to use a free language called Processing, there might even be examples to do this on the Processing web site.