Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Drive Stepper Motor Using USB

We all know how complicated it’s to run stepper motor using a microcontroller without any use of external libraries. This project allows you to control a stepper motor using a simple USB interface. They have use PIC18F4550 microcontroller which has an in built USB (USB 2.0) functionality which allows to connect with any computer with a USB port and Windows OS. The USB is made to run at full speed of 12Mbps, however it can also be run in low speed of just 1.2Mbps.

The whole setup is very cheap to build. The only thing that would add cost is the stepper motor which itself will be very costly then the entire project setup.The stepper motor used here is a 5 wire Stepper motor (M35SP-8) which is going to be operated by an application written in C#, (visual studio) which will communicate with the microcontroller board via USB. Also, you can use any other stepper motor but some numeric value has to be changed in the code since different motor will have different step size. The entire code including the schematic can be found on the project website.

[..Source link..]

Bookmark the permalink.

Leave a Reply