Monday, September 5, 2011

IoT: Real time control of stepper motor with web browser

This is the first version of the marble dispenser for the marblerun we are building.  

The stepper motor is controlled from a web browser in real time. Using web socket to connect the web browser with a server running nodeJS and an netduino that connects to the server using a simple tcp connection. When you move the slider on one client it is moved on all connected browsers/devices and the stepper in sync.

We are using on the nodeJS server to handle the connection, so it will work on browsers that not supports sockets. It is really impressive how little code is needed to get everything upp and running.


No comments:

Post a Comment