Author |
Message |
evjackso
Rookie
Joined: Tue Sep 23, 2008 9:56 pm Posts: 4
|
 motor not moving!!
I'm an involved participant in FTC, who needs to set up a simple robot with the new FTC kit. I have received all of my parts, and have also constructed a simple robot. My problem begins with getting the motor's to turn. I have followed the instructions on the website and have set up the parts according the picture one that came with the FTC kit. I have been able to isolate my problem to an issue between the NXT and the motor controllers, or the motor controllers and the motors themselves. There seems to be no communication up until this point. Please let me know if this is a known issue or if there is something that is common for people to miss?
In addition, the sample program for the FTC kit uses motor d and e, however on the NXT there are no such motors (just a-c) where to these ports map to?
|
Tue Sep 23, 2008 9:58 pm |
|
 |
Jeff McBride
Professor
Joined: Fri Sep 19, 2008 1:22 am Posts: 200
|
 Re: motor not moving!!
Did you use the Motor and Sensor Setup wizard on the Robot menu to tell RobotC what stuff you plugged into what ports?
_________________ Jeff McBride Benson Robotics Club
|
Tue Sep 23, 2008 10:34 pm |
|
 |
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 409
|
 Re: motor not moving!!
The instructions that came in the FTC kit have the motor controllers plugged into NXT Sensor Input 4. You can plug them into any port using ROBOTC, but by default, ROBOTC configures them to be in port 1. If your motor controller is plugged into port 4, try moving it to port 1.
|
Wed Sep 24, 2008 9:44 am |
|
 |
Dick Swan
Creator
Joined: Fri Feb 09, 2007 9:21 am Posts: 616
|
 Re: motor not moving!!
Charge your 12V battery. There is a feature to disable the motors when the external battery is low to prevent too deeply discharging the battery. The setting for this threshold appears to be too high a level. This may cause the motors from not moving. See the 7th post in this topic http://www.robotc.net/forums/viewtopic.php?p=3396. for more information. I've repeated it below. Both of above values are stored in flash memory. So they only have to be set once per firmware download.
|
Sat Sep 27, 2008 3:55 am |
|
 |
jyoungj
Rookie
Joined: Fri Oct 24, 2008 1:25 pm Posts: 14
|
 Re: motor not moving!!
i'am the programer for my team and we can get the two joystick program working with the bot that is only nxt when the moters are changed to "A" and "B"  . but it work work when we try to move moters "D" and "E".  we have changed the battery, changed the hook up to the exact book digram and tryed every port on the nxt. i can't even get the severos to work  i poke you for infomation  plz help
_________________i poke you for information  plz help programer for norstar invention group
|
Fri Oct 24, 2008 2:51 pm |
|
 |
CC335
Expert
Joined: Sat Sep 20, 2008 12:16 pm Posts: 106 Location: Curently fighting aliens on P3X-828
|
 Re: motor not moving!!
It sounds like you have a wiring problem.
_________________ Sorry, your program could not be downloaded. Please reboot your computer. FTC Team #2959 Team Smash Bros CLICK HERE.(or click www) Agreed
|
Fri Oct 24, 2008 4:40 pm |
|
 |
Jeff McBride
Professor
Joined: Fri Sep 19, 2008 1:22 am Posts: 200
|
 Re: motor not moving!!
Please post your program, including the #pragmas the Motor and Sensor Setup wizard created.
_________________ Jeff McBride Benson Robotics Club
|
Fri Oct 24, 2008 5:31 pm |
|
 |
jyoungj
Rookie
Joined: Fri Oct 24, 2008 1:25 pm Posts: 14
|
 Re: motor not moving!!
program is : #pragma config(hubs, S1, HTMotor, HTServo, none, none) #pragma config(Motor, motorD, , tmotorNormal, PIDControl, ) #pragma config(Motor, motorE, , tmotorNormal, PIDControl, ) //*!!code automatically generated by 'ROBOTC' configuration wizard !!*// #include "JoystickDriver.c" TJoystick joystick; task main() { while (true) { getJoystickSettings (joystick) ; motor[motorD] = joystick.joy1_y1; motor[motorE] = joystick.joy1_y2; if (joy1Btn(1)) { motor[motorA] = 50; } else { motor[motorA] = 0; } } } now the button works because it is motor a, but for some reason the other motors don't. if i change D,E to A,B then thouse motors will work.  if it a wire problem then what should it look like. a picture would be helpful cause right now it looks like the dieigram in the tetrix book. i poke you for information  plz help note i put in spaces but they won't show.
_________________i poke you for information  plz help programer for norstar invention group
|
Tue Oct 28, 2008 2:13 pm |
|
 |
Jeff McBride
Professor
Joined: Fri Sep 19, 2008 1:22 am Posts: 200
|
 Re: motor not moving!!
My guess is that you either have something wired incorrectly or your 12V battery is too low or not turned on.
_________________ Jeff McBride Benson Robotics Club
|
Tue Oct 28, 2008 4:17 pm |
|
 |
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 620
|
 Re: motor not moving!!
Do you have your encoders installed on your robot? If not, you may want to go into "Motors and Sensor Setup" and disable the PID control.
Also, upgrade to ROBOTC 1.46... you don't need the "TJoystick joystick;" line anymore.
Also, make sure that you have the Joystick debugger window open, or else joystick messages won't be sent to your NXT.
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
Wed Oct 29, 2008 10:35 am |
|
 |
jyoungj
Rookie
Joined: Fri Oct 24, 2008 1:25 pm Posts: 14
|
 Re: motor not moving!!
there are incoders on one but that one won't run and in the debug windows the one that shown the statis of the motors the value for motors D/E is changeing but the motors won't turn at all and i keep changeing the battery but it won't work any way and the switch is on.  we also have the program that they sent us for robotc. i poke you for information  plz help the sampul program is also different i had it attached to this post we also have the program that they sent us for robotc 
_________________i poke you for information  plz help programer for norstar invention group
|
Wed Oct 29, 2008 1:57 pm |
|
 |
Jeff McBride
Professor
Joined: Fri Sep 19, 2008 1:22 am Posts: 200
|
 Re: motor not moving!!
Please verify that your wiring looks like the attached (corrected) diagram.
_________________ Jeff McBride Benson Robotics Club
Last edited by Jeff McBride on Wed Oct 29, 2008 6:01 pm, edited 1 time in total.
|
Wed Oct 29, 2008 3:13 pm |
|
 |
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 620
|
 Re: motor not moving!!
Update: The picture above is correct for the training and samples included with ROBOTC.
Thanks Jeff!
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
Wed Oct 29, 2008 3:45 pm |
|
 |
Jeff McBride
Professor
Joined: Fri Sep 19, 2008 1:22 am Posts: 200
|
 Re: motor not moving!!
Thank you for pointing out the error in my diagram Tim. I have corrected the picture.
_________________ Jeff McBride Benson Robotics Club
|
Wed Oct 29, 2008 6:02 pm |
|
 |
jyoungj
Rookie
Joined: Fri Oct 24, 2008 1:25 pm Posts: 14
|
 Re: motor not moving!!
_________________i poke you for information  plz help programer for norstar invention group
|
Fri Oct 31, 2008 2:34 pm |
|
|