Pages: [1]   Go Down
Author Topic: USB over current on motion control system  (Read 583 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,
I wonder if someone might be able to help me figure out something that is probably really simple, my electronics knowledge is pretty patchy to say the least.
So I've wired a  4 channel motion control system for use with dragonframe software, I have an Arduino Uno sending step and direction signals to some easydrivers plus of course a ground, the system has been working perfectly. I wanted to add an emergency stop which is simply a push button to pin 2 just like the basic tutorial, however i've been getting a USB over current warning when I hit the switch but only when the easydriver's power supply is connected (this is powering only the drivers not the arduino). It doesn't need to be switched on (on my enclosure switch not at the wall) for this to cause an issue.
I wonder if anyone might have any suggestions? I don't want to fry anything, especially not my laptop.
All the very best!
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please provide links to the drivers, software and tutorial.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

0
Offline Offline
Tesla Member
***
Karma: 145
Posts: 9681
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't want to fry anything, especially not my laptop.

Sounds like bad wiring, and your switch is possibly causing a short. Luckly most pcs have resettable USB fuses.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't want to fry anything, especially not my laptop.

Sounds like bad wiring, and your switch is possibly causing a short. Luckly most pcs have resettable USB fuses.

Spot on smiley-wink the switch was connected to the box and the circuits inside via a jack that was grounded to the metal enclosure, and the wrong pins where used, so the switch was causing a short, all is working perfectly!
Cheers,
Logged

Pages: [1]   Go Up
Jump to: