user3071982
user3071982

Reputation: 29

how i connect my arduino to my own web site?

i have a question about my arduino, first i have an arduino which reading a sensor and i have my own website , let's say it's name is www.my-project.net , now i want to put that reading of the sensor on the site so every one else can open the site and see the reading. the problem is i don't know how to make the arduino sends data to the website , i mean how to make a code where i put my username and password of the site and make the arduino sends the data. any help would be appreciated, thanks for your time.

Upvotes: 2

Views: 2613

Answers (2)

calumb
calumb

Reputation: 1061

You should use an intermediary service such as Xively. You can use premade libraries on the Arduino that make it easy to talk to Xively or another webservice. Once the data has been stored in Xively you can use the REST API to get data onto your website.

This is the easiest way in my opinion to get your devices data on the internet.

Upvotes: 0

philipproplesch
philipproplesch

Reputation: 2127

You should POST the data with the Ethernet/WebClient:

http://playground.arduino.cc/Code/WebClient http://forum.arduino.cc/index.php?topic=145277.0

What do you mean by username and password? Where do you want to enter the credentials? Should the Arduino authenticate itself or the visitor?

Upvotes: 1

Related Questions