View Single Post
  #12   Spotlight this post!  
Unread 20-01-2007, 13:38
maniac_2040's Avatar
maniac_2040 maniac_2040 is offline
Registered User
AKA: Matt
FRC #3302 (Turbo Trojans)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Clawson, Michigan
Posts: 34
maniac_2040 is infamous around these partsmaniac_2040 is infamous around these partsmaniac_2040 is infamous around these partsmaniac_2040 is infamous around these parts
Send a message via MSN to maniac_2040
Re: PWM 13-16 Replacement Code Beta Test

Quote:
Originally Posted by Dave Flowerday View Post
If you're talking about when the robot is disabled, I'm pretty sure the PWM pins are left floating. We noticed a side effect of this last year when we ran some servo wires close to our RS232 for the camera, and when the robot was disabled the RS232 would generate enough noise on the (floating) PWM line to cause our camera servos to twitch. Actually, now that I think about it, if those PWM wires had been connected to a Victor, it could have been a dangerous situation. When the robot was enabled, the PWM output was being driven such that noise was not an issue.
I've been seing something similar to this when testing on our robot. I was using some Vex Motor Modules to test some code. When I would put the controller in the program state to download, sometimes the motor would just randomly spin in all kinds of directions, and I would usually have to unplug the backup battery if it didn't stop. Does this pwm code fix that? I would like to know more about these "floating" pwms. When I start testing with our arm mechanism it will be very dangerous if the arm can just start randomly swinging around in the prog state...