Go to Post IRI: Where the Egos Go to Tie. :ahh: - Ian Curtis [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 27-01-2010, 16:04
camper365 camper365 is offline
Registered User
FRC #1599
 
Join Date: Feb 2009
Location: Virginia
Posts: 24
camper365 is an unknown quantity at this point
How to properly connect and program servo

We are having problems getting the servo to work. I have tried to find a schematic as to how to connect the servo properly (both power and data) but have had no luck. We might also be having code problems (I don't know for sure) so a method as to how to program the servo would be nice too.
Which call should I use to get and set the angle the servo is at? I think we are using set position now.
__________________
The world only has as much power over you as you let it have.
Linux: Here's the computer, just do stuff.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2010, 16:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to properly connect and program servo

Servos connect to a PWM on the Digital Sidecar.
Each PWM MUST have a jumper installed next to it that provides power to the servo (otherwise it will never move).

That's how both power and data are handled.
Attached Thumbnails
Click image for larger version

Name:	ServosRule.jpg
Views:	137
Size:	10.8 KB
ID:	8412  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-01-2010 at 16:15.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2010, 16:15
camper365 camper365 is offline
Registered User
FRC #1599
 
Join Date: Feb 2009
Location: Virginia
Posts: 24
camper365 is an unknown quantity at this point
Re: How to properly connect and program servo

Is the jumper and the pwm cable two separate cables or just 1 special cable?
__________________
The world only has as much power over you as you let it have.
Linux: Here's the computer, just do stuff.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2010, 16:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to properly connect and program servo

Use a regular PWM cable, the one that comes as part of the servo.

The jumper is a tiny little piece about 1/8" long and white or black that come in one of the electronics small parts bags. It just connects the two pins just to the side of the PWM connection on the Digital Sidecar.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-01-2010 at 16:37.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Program Compiles and Deploys, but the sidecar doesn't connect pj174208 Programming 1 14-02-2009 18:26
How to Program a Servo ExarKun666 C/C++ 5 06-02-2009 21:05
How to conect solenoids to the circuit board. and how to program it...??? arpitshah Pneumatics 6 13-01-2008 15:06
How to set up and run a FF League properly. Alex Cormier Fantasy FIRST 4 27-02-2006 17:18


All times are GMT -5. The time now is 22:36.

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