Home

Control stepper motor with Raspberry Pi over Web

Raspberry Pi has number of general purpose pins available for connecting different external devices like sensors, relays and so on. It is also possible to control different actuators like electric motor with the appropriate driver between Raspberry Pi and motor. One interesting group of motors are stepper motors which are brushless synchronous electric motors that convert digital pulses into precisely defined increments of the shaft position. This property can be useful in many different applications which require positioning. Since the stepper control can be done with Raspberry Pi that can be connected to Internet, we take this control one step further, by exploring possibility of remote stepper motor control, like over simple Web site.

In this article we are going to explain how to remotely (over Web) control stepper motor with Raspberry Pi and appropriate driver board. The software part relies on stepper control with Python, on webosockets for communication and on JavaScript based visualization of the remote stepper motor controller. If you want to see the final results, jump to the following youtube video.

<< Go back to the previous page

Share:  Add to Facebook Tweet This Add to Delicious Submit to Digg Stumble This