Arduino and stepper motor with pul\dir driver (DM542A)

Some days ago I’ve purchased some cheap but powerful stepper motors bundle from china. In the package there is also a nice pul\dir driver, code-named Long Motor DM542A.

My original plan was to use an Arduino to make the motor spinning around. To test if everything it’s working I’ve connected one of these drivers to my Arduino UNO:
Continue reading →

How to setup a Node.js and Arduino development environment under Ubuntu Server 12.04

Some nights ago I’ve decided to start learning something about a nice project started by Ryan Lienhart Dahl aiming to run javascript code serverside:
its name is Node.js and it’s designed for writing highly scalable Internet application using event-driven asynchronous IO.

My final goal is to have a central server commanding one or more Arduino to have my home automated as much as possible.

Continue reading →