Pages: [1]   Go Down
Author Topic: Windows looking for Servo drivers when connecting arduino via USB!  (Read 987 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!

I have this weird problem with a couple of continuous servos I bought from Sparkfun the other day (http://www.sparkfun.com/products/10189).

The problem is that when I in certain situations connect the arduino via USB to my computer, Windows 7 starts looking for servo drivers! It doesn't find any, so it keeps searching, then disconnects, searches again, disconnects, and so on with a steady interval of a few seconds. Basically this makes the servos completely useless, as I cannot control them what so ever.

I have experienced this problem in two situations:

1. If I try to have both servos connected in parallel, using the same input pin.

2. If I try to change the servos pin values.

In order to calibrate the servos - and change the speed in general - I need the servos to take a variable input value. But it appears that every time I change the input value, the servo(s) disconnect, and Windows starts looking for drivers. The setup I have been using to provoke this problem is a simple potentiometer with values mapped to 1000-2000 microseconds, values which are directly written to the servo(s). I can confirm that the potentiometer values are in place, and that they are getting written to the servo(s), by the serial monitor.

This is a vital part of my project, and I really have no idea of where to start debugging this phenomenon.. So thanks for helping me out!


Tormod.
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 209
Posts: 13018
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Windows 7 starts looking for servo drivers

Servo drivers?  Did you mean to write "serial drivers"?
Logged

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

Frankly I have no idea! It might be the serial drivers for all I know. But I have been using the serial monitor before, and this is the first time I have encountered a problem like this. But if it is the serial drivers, is there something I can do about it?

Also I have to add: I just tried adding a LED to the serial output controlling the servos, and it appears it gives a slight blink every time the servos "connects"/"disconnects" in Windows. Could there be a software issue with the arduino?
Logged

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

How are you powering your servos? They generally cannot be powered from the arduino if that is what you have done.
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: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been using the 5V from the arduino so far, so if the servos requires more juice than that it could probably be causing some problems. I don't have any external power source except the USB at the moment, but I'll try and find a way.

Thanks!
Logged

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

I have now tried using an external power supply (being 4 AA connected in serie, giving 6 volts total). The servo reacts for a millisecond, then shuts down, giving no sign what so ever. The control signal value doesn't matter, and the only way to get it move again, is to reconnect the battery.

Does anyone know how to deal with this? I am seriously considering to cut them open and control the motors manually very, very soon!

And thanks for the feedback.  smiley-wink

TH
Logged

United States (Texas)
Offline Offline
God Member
*****
Karma: 3
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

did you connect the negative side of the AA batteries to your ground?
Logged

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

No, but you're right.. The voltage would be floating otherwise.

Thanks!
Logged

United States (Texas)
Offline Offline
God Member
*****
Karma: 3
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no problem, a lot of people make that mistake. good luck with your project!
Logged

Pages: [1]   Go Up
Jump to: