Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   programmed DC motor in degree.. (http://www.chiefdelphi.com/forums/showthread.php?t=113524)

akash992391 14-02-2013 22:05

programmed DC motor in degree..
 
hiii
is there any way to programmed DC motor to certain degree???

Mark McLeod 14-02-2013 22:18

Re: programmed DC motor in degree..
 
You need a feedback sensor to do that.
Usually a potentiometer or an encoder depending on what rotations you want to allow the motor to have.

akash992391 14-02-2013 22:36

Re: programmed DC motor in degree..
 
do they provide encoder sensor in kitof parts

Mark McLeod 14-02-2013 22:55

Re: programmed DC motor in degree..
 
Not inside the Kit totes.

You can get potentiometers at electrical supply places like Radio Shack.

akash992391 14-02-2013 23:02

Re: programmed DC motor in degree..
 
can u help mw with this.i have servo but how to programmed that i tried everything but doesn't work on servo can u help me please how to programmed servo i have all electical is good connected but the big problem is progrmming idk please help us....thanx

Mark McLeod 14-02-2013 23:16

Re: programmed DC motor in degree..
 
A servo needs a special jumper on the pair of pins right beside the PWM output the servo is connected to.
This picture (http://www.chiefdelphi.com/forums/at...3&d=1295532854) shows two white jumpers on PWMS 1 and 2.

The code looks like this:


You can check your servo using Test mode on the Driver Station and the Test tab on the default Dashboard.

akash992391 14-02-2013 23:39

Re: programmed DC motor in degree..
 
I tried same wiring with jupers and code still didnt work ...:confused: :(

BenGrapevine 15-02-2013 11:20

Re: programmed DC motor in degree..
 
Quote:

Originally Posted by akash992391 (Post 1233620)
I tried same wiring with jupers and code still didnt work ...:confused: :(

Check to make sure everything is plugged in and that the in the drivers station the joystick you are using is set as the first one in the list. Also make sure you're referencing of the name is consistent throughout.


All times are GMT -5. The time now is 12:02.

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