View Full Version : servo problem
akash992391
16-02-2013, 19:57
can some one tell me, do i have to put 0 to 180 on servo angle or 0 to -1
i try everything to programmed function and everything but still not working can someone help me.....
Garten Haeska
16-02-2013, 20:06
0 to 180 and make sure you have a jumper on the two pin connector next to the pmw of your choice.
akash992391
16-02-2013, 20:12
i tried 0 to 180 still doesent work
Garten Haeska
16-02-2013, 20:13
Do you have a jumper installed?
akash992391
16-02-2013, 20:19
yeah i did
Garten Haeska
16-02-2013, 20:22
Your code should look something like this.
http://team358.org/files/programming/ControlSystem2009-/LabVIEW/ServosRule.jpg
akash992391
16-02-2013, 20:24
yes i do have same one...
Garten Haeska
16-02-2013, 20:26
Could you post your code?
i tried 0 to 180 still doesent work
You aren't trying to lift a 10 pound weight with that servo, are you ?
akash992391
16-02-2013, 20:37
no i m not lifting anything
no i m not lifting anything
Do you have a cheap digital voltmeter handy?
Mark McLeod
16-02-2013, 20:40
Does putting the Driver Station into Test Mode, and using the Dashboard Test tab, let you move the servo?
akash992391
16-02-2013, 20:47
here is a code
akash992391
16-02-2013, 20:48
yeah i do y
Garten Haeska
16-02-2013, 21:01
right now your two positions are using double numeric values when i believe they should be just numeric values. (Changes the orange numbers to blue numbers)
akash992391
16-02-2013, 21:09
can you tell me how to change it and is my code is fine......
Garten Haeska
16-02-2013, 21:15
Your code looks fine. To change if from a orange 0, to a blue zero, simply just type 0 then (enter) it should change to blue, at least that is all i have to do.
akash992391
16-02-2013, 21:30
i pressed enter didnt change it to blue
Garten Haeska
16-02-2013, 21:31
i pressed enter didnt change it to blue
Alright then go to the numeric palette and select the numeric constant. (the blue one)
akash992391
16-02-2013, 21:36
nvm i changed it
Garten Haeska
16-02-2013, 21:37
But did it work?
akash992391
16-02-2013, 21:41
i m not sure its gonna work or not when i go back to robotics shop i will try out but thanx for helping us thanx a lot...
Garten Haeska
16-02-2013, 21:42
It's what we are here for!
Greg McKaskle
17-02-2013, 08:01
Blue numbers are integers, orange numbers support a decimal, so can encode numbers between the integers. That is a good thing to notice, but can you see that the orange wires aren't causing any problems? They are not the issue.
As someone mentioned, have you tried test mode? Can you hear the servo humm or buzz but not move?
Greg McKaskle
akash992391
17-02-2013, 11:13
yeah it did but its not really moving like its make a little move and its stop.if u press on joystick button doesnt work
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.