View Single Post
  #1   Spotlight this post!  
Unread 23-03-2004, 23:14
tophq's Avatar
tophq tophq is offline
mastr of autodsk (or not)
AKA: Chris Payk
#0703 (Inferno)
Team Role: Programmer
 
Join Date: Dec 2003
Location: Saginaw, MI
Posts: 19
tophq is an unknown quantity at this point
not quite sure...speed controller...spike.

ok, we just got back a couple days ago from Detroit Regional and now I have couple questions.

1. is it necassary to use a speed controller on ALL motors, or can i (legally) use a spike for the window motor?

2. if i have to use a speed controller, then what (for example) would i do to make a motor used to power a wench as far as coding goes? (ie, if i wanted to use the p2_sw_aux1 to retract the wench, would i say:
Code:
if(p2_sw_aux1 == 1)
     {
     pwm05 = 255
     }
else
     {
     pwm05 = 127
     }
when we used a speed controller, for some odd reason, the motor would activate and start retracting the wench. when we swapped it out for a spike (and changed the code accordingly), it worked out beautifully.

3. can anyone help out.

sorry if this post sounds jumbled, im kind of in a hurry. any help would be thanked greatly.