2

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.

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

I was hoping to avoid having to use any sort of client app in the host computer. But if there is no other way then I suppose this is a fairly good solution.
0

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.

1 Comment

I was kind of hoping to not have to use a client app in the computer that hosts the arduino. Is there some example hosted somewhere or a tutorial to get me started?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.