OCCRA   [more] Florida Regional : 109d 05h 35m ...
Go to Post ...your education can be interesting and even fun. If you look a little farther down the path, you WILL "use this crap", and "this crap" can even be cool if you know how to use it. - Chris Hibner [more]
Home
Go Back   Chief Delphi > Technical > Programming
Team 47   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
HEXBUG Nano
The Chief Delphi Forums are sponsored by Innovation First, Inc.
Tormach
ADVERTISEMENT

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Old 11-03-2009, 05:53 PM
mjgard's Avatar
mjgard mjgard is offline
Michael
AKA: Michael Gard
FRC #2844 (Stampede Robotics)
Team Role: Teacher
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Laveen,AZ
Posts: 34
mjgard will become famous soon enough
NXT SERVO CONTROLING SPEED CONTROLER

We are trying to incorporate the NXT into other uses and want to use the NXT Servos to control some speed controllers. We have gotten it kind of working. When we push forward we cant just hold down the controller forward. We have to step it forward, one push at a time, almost like a button. then when we want to go backward we have to step it all the way back down to stop then step it further backward for reverse. We would like it to be a smooth transition for forward and reverse, similar to using the speed controller that came witht he NXT. Any ideas?
__________________
Michael
Stampede Robotics Mentor
FRC 2844 / FTC 410
2009 Arizona Regional Rookie All-Star Award

Reply With Quote
  #2   Spotlight this post!  
Old 11-03-2009, 06:54 PM
Dale's Avatar
Dale Dale is offline
Head Coach & Mentor
AKA: Dale Yocum
FRC #1540 (Flaming Chickens)
Team Role: Coach
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Portland, OR
Posts: 34
Dale is just really niceDale is just really niceDale is just really niceDale is just really nice
Re: NXT SERVO CONTROLING SPEED CONTROLER

I suspect the NXT motor's encoder doesn't give you absolute position of the axle. Just like any other optical encoder it's up to software to convert the encoder signals into absolute location. A typical encoder will give you a direction signal and a pulse every time the shaft has rotated x degrees.

I don't know the details of the software you're using so you're on your own there. If this is for FTC RobotC might well do some of this for you.
__________________
2009 Engineering Inspiration (Oregon)
2009 Website (Oregon)
2008 Regional Champions (Oregon)
2008 Engineering Inspiration (Oregon)
2008 Xerox Creativity (Las Vegas)
2008 Website (Oregon)
2007 Chairman's (Oregon)
2007 Regional Finalist (Oregon)
2007 Motorola Quality (San Diego)
2005 Rookie Inspiration (PNW)
2005 Website (PNW and Championship)
Reply With Quote
  #3   Spotlight this post!  
Old 11-04-2009, 01:19 PM
mjgard's Avatar
mjgard mjgard is offline
Michael
AKA: Michael Gard
FRC #2844 (Stampede Robotics)
Team Role: Teacher
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Laveen,AZ
Posts: 34
mjgard will become famous soon enough
Re: NXT SERVO CONTROLING SPEED CONTROLER

We are using labview and the 2008 FTC Template code to run the servos, then using the PWM outputs of the servos, connected to a speed controller.
__________________
Michael
Stampede Robotics Mentor
FRC 2844 / FTC 410
2009 Arizona Regional Rookie All-Star Award

Reply With Quote
  #4   Spotlight this post!  
Old 11-04-2009, 02:17 PM
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: 3,169
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
Send a message via AIM to Alan Anderson
Re: NXT SERVO CONTROLING SPEED CONTROLER

I think there might be a terminology problem that's keeping people from understanding what you are trying to do. Servos I am familiar with don't have PWM outputs; they have PWM inputs. If you want to connect a speed controller, you should not also connect a servo.
Reply With Quote
  #5   Spotlight this post!  
Old 11-04-2009, 02:28 PM
Dale's Avatar
Dale Dale is offline
Head Coach & Mentor
AKA: Dale Yocum
FRC #1540 (Flaming Chickens)
Team Role: Coach
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Portland, OR
Posts: 34
Dale is just really niceDale is just really niceDale is just really niceDale is just really nice
Re: NXT SERVO CONTROLING SPEED CONTROLER

Also on the terminology front, the NXT's motors aren't servos, they're just motors with encoders built in. They run on an I2C interface.
__________________
2009 Engineering Inspiration (Oregon)
2009 Website (Oregon)
2008 Regional Champions (Oregon)
2008 Engineering Inspiration (Oregon)
2008 Xerox Creativity (Las Vegas)
2008 Website (Oregon)
2007 Chairman's (Oregon)
2007 Regional Finalist (Oregon)
2007 Motorola Quality (San Diego)
2005 Rookie Inspiration (PNW)
2005 Website (PNW and Championship)
Reply With Quote
  #6   Spotlight this post!  
Old 11-04-2009, 03:25 PM
mjgard's Avatar
mjgard mjgard is offline
Michael
AKA: Michael Gard
FRC #2844 (Stampede Robotics)
Team Role: Teacher
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Laveen,AZ
Posts: 34
mjgard will become famous soon enough
Re: NXT SERVO CONTROLING SPEED CONTROLER

Ok I understand the confusion. We are using the NXT with the Servo Controller for Tetrix. The servo controller has a pwm output. We are using the output from the Servo controller and putting that as the input on other speed controllers. The speed controllers are powered independently from a 12v supply. We are doing this because we believe the motors we are trying to power are to large for the hitechnic motor controller.

Did that clear up what we are doing?
__________________
Michael
Stampede Robotics Mentor
FRC 2844 / FTC 410
2009 Arizona Regional Rookie All-Star Award

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
NXT - 884 Speed Controllers team63 Motors 2 09-05-2008 11:26 AM
controling extension on piston m1k3 Pneumatics 16 01-14-2008 04:04 PM
Direct control of a Servo or Speed Controller Schmitty! National Instruments LabVIEW and Data Acquisition 3 03-06-2006 01:53 PM
How do you set a speed limit on the servo Fares Programming 6 01-01-2003 03:04 PM
Controling Pneumatics archiver 2001 14 06-23-2002 10:44 PM


All times are GMT -5. The time now is 07:24 AM.

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School