|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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.
Last edited by sirbleedsalot : 25-01-2005 at 19:45. Reason: Clarification |
|
#2
|
|||
|
|||
|
Re: kit bot wireing
Quote:
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
|
|||
|
|||
|
Re: kit bot wireing
Quote:
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
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
Re: kit bot wireing
Quote:
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
|
||||
|
||||
|
Re: kit bot wireing
Thank for your help the problem has been solved and our robot is running great.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |