if I have a little gadget maybe a Cam with a Wifi control and some motors that I can control via my PC, is it possible to make a webserver on the gadget to get the camera output on the webpage (With the new HTML5 feature of WebRTC and the function getUserMedia) that I can invoke from my browser? Maybe control it to make pictures, rotate the cam with my webapp?
Ok I found some example about webserver but what about a little and nice node.js webserver? Is any discussion to implement a node.js api too? Like Noduino for the Arduino board? I know this post: http://www.tinyclr.com/forum/topic?id=4802
@ ChrisLE - I had a look at the Noduino project, and it looks like this is not a port of node.js to the arduino. Instead it is a node.js web app that runs on your local computer with a serial connection to an arduino.
@ jasdev, ok I see you are right :). I see only a server is on the board and I can control it via node.js. So it will be the same as I can control the .NET Gadgeteer board (on board there should be a webserver) with a node.js webapp. Thx.
As this article says:
… There is no difference in accessing your Arduino over WebSocket or a Serial connection. All methods and objects remain the same, written code is highly portable…
both is possible. Use it over WebSockets or as you said the serial part of it.
I think its a nice feature maybe if you want to use it via WebSockets to control a gadget that is not connected to the pc.
Thx @ andre.marschlak but its not about the websocket implementation but I have taken a look and it looks nice, I will give it a try. I only thought I can use node.js as a server on a .net gadgeteer board but I doesnt :).