dearn44
dearn44

Reputation: 3432

Send data from Arduino to server

Is it possible if my arduino uno remains constantly connected to a computer through the usb port, for me to send data from its sensors to a server without some other piece of equipment?

If yes, are there any security concerns? Because the server won't know that the data is actually coming from an arduino device that is supposed to send him data or some other source.

Upvotes: 2

Views: 1244

Answers (2)

Muhamed Abayed
Muhamed Abayed

Reputation: 154

a very simple way to achieve this is to use breakoutjs download and install, and upload the firmata sample to the arduino. You'll have to right some JavaScript code that will take care of sending requests to the distant server.

Upvotes: 1

davidgiga1993
davidgiga1993

Reputation: 2853

Yes, but you would need some sort of tool that converts the serial commands into network commands. I would let the arduino send the raw sensor data via serial and let the tool convert it into a request for the server. I'm assuming that it's a webserver you're talking about? If you send a generic user-agent header, the server could not distinguish between a your tool and an regular browser.

Upvotes: 0

Related Questions