Control DC Motor Via USB

by Zihatec in Circuits > USB

12525 Views, 23 Favorites, 0 Comments

Control DC Motor Via USB

55edd0e267400cbda5000d9f.jpeg
Control a DC motor control via USB

Hi guys,

In this project we will control a DC motor with a Windows PC via USB. Check the video to see it working!

you can visit my website for more information, sample code, schematics ....

Parts Required

55edd45015be4de7cc0003fc.jpeg

1x PC or Laptop with Windows XP, Vista, 7 or 8

1x Simplibox IO USB relay

1x DC motor

2x BreadboardJumper Cables

1x battery pack with cables

1x USB cable

Schematic

dc motor.png

Software

NET sample.jpg

You can download a program to control the usb relay written in C# from our website. The source code is also available for free. Also other sample programs written in Python or C++ are available.

Test Your Work

CIMG3403.JPG

By setting one of the relays ON you will start the motor. You can change the direction of rotation by switching the other relay ON (and the first OFF)...