Go to Post Having someone with as much mainstream appeal as will.i.am is a great strategy to draw large amounts of attention to a program that has been relatively hidden to the masses. - Karthik [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 16-01-2006, 13:25
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Victor Calibration

I am trying to calibrate our speed controls for pwm 13 and 15 instead of 1 and 2, but when I try to calibrate them the never blink red and green. They only blink orange.
  #2   Spotlight this post!  
Unread 16-01-2006, 13:33
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Victor Calibration

Quote:
Originally Posted by railerobotics
I am trying to calibrate our speed controls for pwm 13 and 15 instead of 1 and 2, but when I try to calibrate them the never blink red and green. They only blink orange.
Check and make sure the PWM connectors are pushed in ALL THE WAY, it may seem like they're in all the way but actually just barely in. I believe they will only show about 1/8th inch sticking out of the speed controller when properly installed.

If I understood you another option might be that you didn't hit the calibrate button?

-Mike
  #3   Spotlight this post!  
Unread 16-01-2006, 13:43
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Victor Calibration

The speed control pwm's are all the way in and I could feel the calibrate buttons depress. When I switch the pwms back to 1 and 2 the speed controls calibrate just fine but when I switch to 13 and 15 they wont calibrate.
  #4   Spotlight this post!  
Unread 16-01-2006, 13:44
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victor Calibration

Quote:
Originally Posted by railerobotics
I am trying to calibrate our speed controls for pwm 13 and 15 instead of 1 and 2, but when I try to calibrate them the never blink red and green. They only blink orange.
It sounds like what you want to do is change the default programming to position the PWM output to a different set of pins. You can only do this in software.
Calibrating the speed controllers allows you to utilize the full range of motor control based on your joysticks. When you hold the calibrate button in and move the joysticks to the full extent (full forward, full reverse, full forward, full reverse, and then let the joystick return to rest before releasing the calibrate button) you have now instructed the controller to modify it's decoding to recognize what you send will now be full range. After calibration, full forward on the joystick will give you a full 12 volts at the motor, a full back on the joystick will give you reverse 12 volts at the motor and when you let go the speed controller will send no voltage to the motor.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 16-01-2006, 13:50
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Victor Calibration

Quote:
Originally Posted by railerobotics
I am trying to calibrate our speed controls for pwm 13 and 15 instead of 1 and 2, but when I try to calibrate them the never blink red and green. They only blink orange.
Do you still have the call to Generate_Pwms(pwm13,pwm14,pwm15,pwm16) in your code? PWM13-16 are different from the rest and won't work without this call. It should be at the beginning of Process_Data_From_Master_uP().
  #6   Spotlight this post!  
Unread 16-01-2006, 13:59
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Victor Calibration

Thanks it worked. Now how do I make the motors spin. Everthing's hooked up correctly.
  #7   Spotlight this post!  
Unread 16-01-2006, 14:01
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victor Calibration

Quote:
Originally Posted by railerobotics
Thanks it worked. Now how do I make the motors spin. Everthing's hooked up correctly.
You need to get a little more specific. Did you now get the controllers calibrated or did you take Dave's suggestion and correct the code?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 16-01-2006, 14:27
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Victor Calibration

Sorry, I corrected the code.
  #9   Spotlight this post!  
Unread 16-01-2006, 14:46
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victor Calibration

OK,
So I am guessing that you calibrated the controller and the you are seeing the appropriate Red and Green LED at the joystick ends. If you are not getting the motor to move be sure that the motor leads are solidly attached to both M+ and M- on the controller. You cannot return the motor common (black wire) to the common ground of the robot. It must return to the speed controller.

If you did not calibrate the controller after you made the software change, you must do so now. When you calibrated the controller before you may have confused the controller input range.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #10   Spotlight this post!  
Unread 16-01-2006, 16:41
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Victor Calibration

THe speed controllers work fine but the motors do not spin. I'm guessing its a programming problem so I'll post a question there.
  #11   Spotlight this post!  
Unread 16-01-2006, 17:15
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victor Calibration

Quote:
Originally Posted by railerobotics
THe speed controllers work fine but the motors do not spin. I'm guessing its a programming problem so I'll post a question there.
If the LED on the controller goes from Orange to Green or to Red (indications that the controller is putting out full power) then the controller is working. If the motor is not turning under these conditions, then the wiring to the motor is defective. Suspect a bad crimp or a crimp over the insulation and not the wire. As a quick check, a voltmeter should show +12 volts when the controller LED is full on Red or Green. There is another possible problem. If you have wired the circuit breakers in place as shown in the robot power distribution drawing (of course you have) and you hear a buzzing noise after you have pushed the joystick full forward or reverse, then the motor is stalled. Try to wire any motor that is not mounted on the robot to the controller instead of the one you are trying to drive. If that motor turns, then you should suspect motor wiring or a stall condition on the motor that is installed.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 16-01-2006, 18:24
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Victor Calibration

It was a programming problem
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


All times are GMT -5. The time now is 04:33.

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