|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
[FTC]: [FTC] Motor Controller problems
Is anyone else having motor controller problems? Ours seems to run the big motor (from the kit) either full on or off. We looked at the output signal with a scope and no matter what values we use in RobotC, we don't seem to get PWM, just on (12V) or off (0V) or full reverse (-12V). Is it possible we have a bad motor controller? Could it be user error?
|
|
#2
|
|||||
|
|||||
|
Re: [FTC]: [FTC] Motor Controller problems
Couple of questions:
1) How do you have the motors wired? How are the connections going from the motor to the controller and from controller to the NXT? 2) What's the snippet of code that you have to drive the motors? 3) Have you tried just driving the NXT motors? 4) Are you using motor encoders (not that it should matter)? 5) Are you using ROBOTC 1.44? It was just updated and released early this week - see www.robotc.net for details. |
|
#3
|
|||
|
|||
|
Re: [FTC]: [FTC] Motor Controller problems
If your motors are miswired, it can cause the problems you are having. Several possible sources of miswiring are:
A good way to test that you have your wiring accurate is to use the "NXT Devices" command found in the debugger. Here's how to do this:
|
|
#4
|
||||
|
||||
|
Re: [FTC]: [FTC] Motor Controller problems
Quote:
What I think you should see is this chain of signals. NXTBrick --> HiTechnicBrick: See PWM, or I2C, or some such encoded signal HiTechnicBrick --> BigMotor: See a signal that encodes speed and direction into a (relatively) slowly varying (from +12V to -12V) analog voltage. If you are looking for PWM pulses at the 2-wire input to the big motors, I think you are looking for the wrong thing. If you send proper commands to the HiTechnic Motor-Control brick, and it only produces full on +12V or full off (-12V), and if those signal aren't modulated in any way once they are on or off, then I think you might have a bad HiTechnic brick. Blake |
|
#5
|
||||
|
||||
|
Re: [FTC]: [FTC] Motor Controller problems
Hey folks, thanks for all the responses. We fixed the problem by upgrading to RobotC 1.45. Although, I will say that it was not at all obvious where to get version 1.45 from. Just in case there is someone else having problems with motors or servos, you can download the latest version of RobotC (for the FTC) from:
http://www.education.rec.ri.cmu.edu/...ts/ftc/robotc/ Thanks again for all the help. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Anyone else having leakage in their FTC batteries? | PhilBot | FIRST Tech Challenge | 6 | 27-11-2008 14:12 |
| [FTC]: Rookie Team Needs Help With Tetrix FTC Kit! | rjustice4 | FIRST Tech Challenge | 8 | 05-10-2008 09:44 |
| [FTC]: FTC]: FTC Champ Tournament - Ontario (Scoring Breakdown) | Mr. Lim | FIRST Tech Challenge | 2 | 03-03-2008 11:54 |
| [FTC]: [FTC]: Ontario Provincial FTC Start/End Times | cbhl | FIRST Tech Challenge | 8 | 16-12-2007 13:37 |
| [FTC]: Hey FTC teams, Vex and a chance to be on MTV? | Rich Kressly | FIRST Tech Challenge | 1 | 12-09-2007 13:35 |