There seems to be something wrong with my latest comments => repost them to be certain.
The last couple of days I looked into websockets and Arduino.
I experimented with NodeJS + socket.io and implemented a small chat application, fun!
Now I want to move on to the Arduino. Goal is to realize a real-time connection between my Uno and a browser, for giving instructions to the Arduino and getting status information from the Arduino. I learned from the Intenet that there are two strategies to implement this:
1. Implement a websocket client and server on the Arduino itself
2. implement a websocket client and server @ NodeJS and make a serial connection between NodeJS and the Arduino with Firmata.
First way seems most direct to me. What is the benefit of the second manner? Why should I consider doing it this way?
If I go for the first approach, what's the best library to use? So far I found these three libraries:
· https://github.com/m8rge/cwebsocket
· https://github.com/brandenhall/Arduino-Websocket
· https://github.com/ejeklint/ArduinoWebsocketServer => client only
But I haven't found any reviews or examples, other than included in the library. What would you recommend me?
I worked on the Branden Hall library till now, but haven’t been able to keep the examples running. Do you know examples of working examples, preferably with WiFi-shield?