Tuesday, March 13, 2012

Real time control of a stepper motor using netduino and node.js

The prototype code for controlling V.2 of marbleart is now uploaded as open source.



The web browser connecting to a node.js server using socket.io and the netduino using a simple tcp connection to the server.  We used a EasyDriver Stepper Motor Driver to drive the stepper motor.

The code can be found at https://github.com/evilmachina/marbleartV2_prototype

Don't forget to change the IP address in TcpLisserner.cs to your instance of the node server.  

Have fun hacking!!


4 comments:

  1. That's cool!

    Take a look at this video: http://vimeo.com/38095211

    It is very similar, though it's done with an Atmega1280 and a Wi-Fi module - no PC needed !

    ReplyDelete
  2. Hi,

    Can I found any Documentation for your software somewhere?

    Thanks

    ReplyDelete
  3. @Anonymous Sorry we do not have any dokumentation for this project. Just ask the question you have here or send me a email.

    /Marcus

    ReplyDelete
  4. Hey Man, that's really cool.

    Let me check if I'm getting it straight, the node.js server is running in the netduino? and the ipad, iphone and laptop just using the browser?

    ReplyDelete