Go to Post Many people here in the CD fora know 'someone' on the inside. They aren't out there somewhere, they are here among us and they won't give an inch regarding the clues. It's very cool. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2011, 20:10
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Controlling servos with labview (this is my first post)

Hi, thanks for looking. This is my first post so I don't know how chief delphi works very well.
First off I am having problems finding a tutorial explaining how to program the servos in the camera pan/tilt module to be controlled by the joysticks (in labview).
secondly, in the program I was able to put together, the servo was receiving a signal, but no power, even though the sidecar in indicating that it has 5v and 6v in. Sorry if anything was unclear, I'm new to this.

Thanks, Lead student programer, (n00b to labview robot programing) Austin Nordman.
  #2   Spotlight this post!  
Unread 10-01-2011, 20:32
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
Re: Controlling servos with labview (this is my first post)

Do you have jumper pins put into the digital sidecar where you plug in the servos' PWM cables? If there is no jumper pin, the servo will not be able move.

As for programming them, let me know how you want to control them and I'll be happy to make you a tutorial. You can message me whenever you need any help with labVIEW, team 2106 is always willing to help.
__________________
"Don't worry, programming can fix it"
  #3   Spotlight this post!  
Unread 10-01-2011, 20:35
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Controlling servos with labview (this is my first post)

Thanks so much! So I guess I need a jumper on the 2 pins next to the servo I am planing on using? The way I want to program them is: the joystick on usb2
y axis controls the tilt servo and x axis controls the pan servo.

Thanks again!
  #4   Spotlight this post!  
Unread 10-01-2011, 20:38
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
Re: Controlling servos with labview (this is my first post)

That is correct. As for the programming, I'm afraid I don't have this year's version of LabVIEW with me at the moment, but by tomorrow night I INTEND to have a copy. I don't know how big a difference there is between this year's and last year's VIs, so I'm hesitant to make a tutorial for you right now, but I will get started ASAP. I will be sure to message you though as soon as I make one.
__________________
"Don't worry, programming can fix it"
  #5   Spotlight this post!  
Unread 10-01-2011, 20:51
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Controlling servos with labview (this is my first post)

Thank you! I would be absolutely fine with getting the tutorial tomorrow or even the day after. I am just thankful I am getting a tutorial. There is plenty to do before you make it for me.
  #6   Spotlight this post!  
Unread 10-01-2011, 20:59
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
Re: Controlling servos with labview (this is my first post)

I got bored and went ahead and made one using last year's code. The theory behind it should be the same at least. The only differance I imagine is the far left side of the code. If you have any questions feel free to contact me.
Attached Files
File Type: vi pan_tilt.vi (14.6 KB, 138 views)
__________________
"Don't worry, programming can fix it"
  #7   Spotlight this post!  
Unread 10-01-2011, 21:26
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Controlling servos with labview (this is my first post)

Thanks!
  #8   Spotlight this post!  
Unread 10-01-2011, 21:44
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
Re: Controlling servos with labview (this is my first post)

DO NOT USE THAT CODE! It doesn't work. XD This is the new and improved one. XD Still last year's stuff, just fixed, the old one would have shot your servos to far to fast and would have tried to make your servo go to a negative. This one fixes those issues.

I don't know how much knowledge of labVIEW you have, but if you wanted to use this code, you could delete the WPI vis (the get references, the the joystick vi, and the set servo vis) and then just copy this code into your robot project.
Attached Files
File Type: vi pan_tilt.vi (15.4 KB, 111 views)
__________________
"Don't worry, programming can fix it"
  #9   Spotlight this post!  
Unread 10-01-2011, 21:57
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Controlling servos with labview (this is my first post)

Lol, thanks I didn't try the non-woking one yet because I was eating dinner.
  #10   Spotlight this post!  
Unread 10-01-2011, 22:14
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Controlling servos with labview (this is my first post)

Btw, if you have any extra time, could you look at the website I made for my team and tell me what I should change? (other than that the background is white) teamcodeorange.tk Thanks.
  #11   Spotlight this post!  
Unread 10-01-2011, 22:33
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
Re: Controlling servos with labview (this is my first post)

Only thing I can really think of is your location page needs some sprucing up, or needs to be merged with something else. Besides that I like it.
__________________
"Don't worry, programming can fix it"
Closed Thread


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 12:13.

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