Go to Post There are two types of team members and mentors: Those who want to be FIRST, and those who want to be first. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 23-03-2004, 23:20
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
Re: not quite sure...speed controller...spike.

Quote:
Originally Posted by tophq
is it necassary to use a speed controller on ALL motors, or can i (legally) use a spike for the window motor?
You may use a Spike for the window motor.
Quote:
Originally Posted by tophq
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
     }
This code looks valid, except you are missing semicolons at the end of the "pwm05 = XXX" statements. Also, I'm not sure if this applies to the new controller, but the old controller didn't like PWMs being set to 255 -- we were told to use 254 instead.


Quote:
Originally Posted by tophq
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..
I'd be willing to bet this was probably caused by some code error that you accidentally remedied when you changed to the Spike. If you posted the exact old and new code, we might be able to better help you.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed Controller brake/coast setting steven114 Electrical 21 03-03-2004 13:05
How do you connect the speed controller fans? Iain Electrical 7 31-01-2003 07:05
Speed controller fan replacement Rickertsen2 Electrical 11 16-01-2003 08:46
Speed Controller Limits yaman Technical Discussion 11 15-01-2003 18:40
making speed controller digital CharlieWilken Electrical 4 01-03-2002 20:15


All times are GMT -5. The time now is 00:35.

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