Go to Post It'll take some engineering, but you would have yourself something revoloutionary. Keep innovating! - Greg Perkins [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-01-2013, 00:09
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Moving Servo Motors

Did you install the servo power jumper on the pins next to the PWM output on the Digital Sidecar?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-01-2013, 05:30
Zach S. Zach S. is offline
Registered User
FRC #3307 (Luray Robodawgs)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Luray
Posts: 30
Zach S. will become famous soon enough
Re: Moving Servo Motors

Quote:
Originally Posted by Alan Anderson View Post
Did you install the servo power jumper on the pins next to the PWM output on the Digital Sidecar?
No. I'm not even sure what that is. Would that be why no servo programming I do ever works?
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2013, 06:02
Ido_Wolf's Avatar
Ido_Wolf Ido_Wolf is offline
LabVIEW Addict
AKA: Ido
FRC #2230 (General Angels)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Israel
Posts: 42
Ido_Wolf is an unknown quantity at this point
Re: Moving Servo Motors

Quote:
Originally Posted by Zach S. View Post
No. I'm not even sure what that is. Would that be why no servo programming I do ever works?
Probably, it happened to us before too. They basically wouldn't receive any input when the jumper is not connected.

As a rule of thumb, when you try to learn how to use a new component you've never used before, I suggest utilizing the appropriate LabVIEW example first, and consulting one of your fellow teammates from the electronics department (or a mentor if no other student knows), as the vast majority of "component not receiving/returning value" issues come from either faulty wiring or missing a certain VI that you wouldn't think of when utilizing it by yourself.

The appropriate example here is "Servo Camera.lvproj", you might want to combine it with the example "Rectangular Target - 2013" and integrate both of them into your code.

(Keep in mind that in my experience, the camera's servos are incredibly unstable and unreliable, especially if you try to use to camera to "home in" on the target rather than an additional point of view for the drivers)

Last edited by Ido_Wolf : 07-01-2013 at 09:58.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2013, 09:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Moving Servo Motors

Each of the three-pin PWM OUT connectors on the Digital Sidecar is accompanied by a 2-pin PWM OUT +V header. The PWM OUT pins are SIG, PWR, and (-). The PWR pin is where a servo gets its power from, but it doesn't actually provide any power until you put a jumper on the +V header pins.

Quote:
Originally Posted by Zach S. View Post
Would that be why no servo programming I do ever works?
Signs point to "yes".
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2013, 19:05
Zach S. Zach S. is offline
Registered User
FRC #3307 (Luray Robodawgs)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Luray
Posts: 30
Zach S. will become famous soon enough
Re: Moving Servo Motors

Thanks for the Vi and jumper note. We added them to our older robot today, and will be trying out my code tomorrow. You guys solved a three year old question for us!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi