Go to Post Good thing you skipped this year. You don't need exhaustion to sleep through Recycle Rush. - Gregor [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 25-01-2005, 17:59
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
kit bot wireing

We are trying to wire the kit bot, and we need to know what motor goes to what pwm output on the rc? Also what ports to hook up the joy sticks to. Or better yet a detailed document that tells us how to wire the kit bot in its default configuration. We have the power cables wired, but we can't seem to get the motors to run when we move the joysticks. If we hook up the victors to outputs 1 and 3 the motors will run constantly, but the joysticks have no control over them. Please help a team that can't even drive their bot.
__________________
our web site

Last edited by sirbleedsalot : 25-01-2005 at 19:45. Reason: Clarification
  #2   Spotlight this post!  
Unread 25-01-2005, 19:39
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: kit bot wireing

Quote:
Originally Posted by sirbleedsalot
We are trying to wire the kit bot and we have all the lights solid orange, and we need to know what motor goes to what pwm output on the rc? Also what ports to hook up the joy sticks to. Or even a document that tells us how to wire the kit bot in its default position. We are totaly lost.
It depends on what default code you are running. I believe that for the default code without the camera, the PWMs that you want for ur drive train are 13-16. However, if you are using the default code with the camera, you want PWMs 11-12. If you look at the Default Routine () in user_routines.c you will find comments about which motors are connected to which pwm outputs.

Example:
This is in the code for the default program without the camera:
pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127);
pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127);

So hook up one side to pwm13 and/or 14 and the other side to pwm 15 and/or 16.

Also, Innovation First has a bunch of reference documents. Here is the robot controller reference guide which lists which pwms are connected to which joysticks in the default code.

http://www.ifirobotics.com/docs/rc-r...005-revnc2.pdf

Hope this helps!

Last edited by cabbagekid2 : 25-01-2005 at 19:44. Reason: grammar
  #3   Spotlight this post!  
Unread 25-01-2005, 19:59
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: kit bot wireing

Quote:
Originally Posted by sirbleedsalot
We are trying to wire the kit bot, and we need to know what motor goes to what pwm output on the rc? Also what ports to hook up the joy sticks to. Or better yet a detailed document that tells us how to wire the kit bot in its default configuration. We have the power cables wired, but we can't seem to get the motors to run when we move the joysticks. If we hook up the victors to outputs 1 and 3 the motors will run constantly, but the joysticks have no control over them. Please help a team that can't even drive their bot.
try pwms 13 and 15 or pwms 11 and 12 depending on what default program you have loaded. Then the x and y joystick off of port 1 should control your motors.

Edit: Also make sure your x and y trim are set so the motors don't run when idle.

Last edited by cabbagekid2 : 25-01-2005 at 20:04.
  #4   Spotlight this post!  
Unread 27-01-2005, 16:22
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
Re: kit bot wireing

How do you tell what type of code you are using, and where is the code you put on here because I could not find it. All I found was
/* Add your own code here. */
robot_control();

Generate_Pwms(pwm13,pwm14,pwm15,pwm16);

Putdata(&txdata); /* DO NOT CHANGE! */
}
in user_routines.c
__________________
our web site
  #5   Spotlight this post!  
Unread 27-01-2005, 16:39
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: kit bot wireing

Quote:
Originally Posted by sirbleedsalot
How do you tell what type of code you are using, and where is the code you put on here because I could not find it. All I found was
/* Add your own code here. */
robot_control();

Generate_Pwms(pwm13,pwm14,pwm15,pwm16);

Putdata(&txdata); /* DO NOT CHANGE! */
}
in user_routines.c

The type of code you are using depends on where you get it from. The 2005 default code is posted on the IFI robotics site at http://www.ifirobotics.com/rc.shtml if you scroll down to the bottom you should see a link to download the RC default user code. The code you posted does not look like any of the default code listed. I'm going to guess that you are using something else other than the default code. WHere did you get your code from? I would look for the robot_control () definition section. Somewhere in here it should show you what pwms are being changed in response to the joystick inputs. Then you can find out which pwms control the drive motors.

Edit: I think you are using kevin watson's Navigation code. So your motors should run off of pwm 1 and 3 as you said you did. So did you try to adjust the trim to get the motors to stop moving? I haven't really looked into that code yet so I'm not sure how it works. But it doesn't look like you can control the motors with the joysticks.(???) Kevin would probably be able to explain how it works.

Last edited by cabbagekid2 : 27-01-2005 at 17:12.
  #6   Spotlight this post!  
Unread 27-01-2005, 17:59
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
Re: kit bot wireing

Thank for your help the problem has been solved and our robot is running great.
__________________
our web site
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
sphere bot Veselin Kolev Technical Discussion 36 03-03-2005 00:03
VIDEO the kit bot - programmers test mtaylor Robot Showcase 6 09-02-2005 01:15
Coding CDs in the kit -- What'd you get? elyscape Programming 1 08-01-2005 14:31
need standard kit gearbox Korbin Kit & Additional Hardware 0 15-11-2004 21:18
Q&A Discuss: How many Van door motor(s) come with the kit? CD47-Bot Extra Discussion 1 08-01-2003 11:07


All times are GMT -5. The time now is 17:08.

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