Go to Post The great thing about FIRST is that there actually are 3,000 ways to win. Find yours, and leverage it. - Siri [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 18-02-2002, 00:11
CharlieWilken CharlieWilken is offline
Registered User
#0634 (Robowolves)
 
Join Date: Jan 2002
Location: Van Nuys, CA
Posts: 46
CharlieWilken is an unknown quantity at this point
making speed controller digital

Is it possible to wire a speed controller to a digital output. I want to put one of my motors on one of the the digital switches of the joystick and don't need to control speed. Thanks in advance
  #2   Spotlight this post!  
Unread 18-02-2002, 06:17
Adam Krajewski's Avatar
Adam Krajewski Adam Krajewski is offline
Registered User
AKA: Jewski
None #0857 (Superior Roboworks) / Team #0068 (Truck Town Thunder)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Da U.P., Eh
Posts: 83
Adam Krajewski is on a distinguished road
It's not possible to wire a speed controller to a digital output, but it is possible to create 'digital control' of a speed controller.

For a very nice explaination and complete software, go here at innovationfirst.com.
  #3   Spotlight this post!  
Unread 18-02-2002, 08:05
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Yeah, if you don't want the motor going full power when you press the button, you can also just say

if p1_sw_trig = 1 then PWM12 = 150

or something like that. Otherwise just use a spike.
  #4   Spotlight this post!  
Unread 01-03-2002, 18:01
GhettoTech GhettoTech is offline
Registered User
#0300 (Ghetto Techs)
 
Join Date: Feb 2002
Location: Philadelphia
Posts: 21
GhettoTech is an unknown quantity at this point
Send a message via AIM to GhettoTech
Quote:
if p1_sw_trig = 1 then PWM12 = 150
Just a little note. That won't work in PBasic. PBasic's If/Then statemtents include an automatic "Goto."

If p1_sw_trig = 1 then (Goto) is implied



If p1_sw_trig = 0 then skip:
PWM12 = 150
skip:

that would be one way to work around that problem. (Similar to how the PWM limit switches are programed)
  #5   Spotlight this post!  
Unread 01-03-2002, 20:15
Don's Avatar
Don Don is offline
Registered User
#0288 (the RoboDawgs)
 
Join Date: Jun 2001
Location: Grandville, Michigan
Posts: 92
Don is an unknown quantity at this point
Send a message via AIM to Don
Quote:
Otherwise just use a spike.
If I'm not mistaken, most of the motors are not allowed to be hooked up to a spike. I think you can for one or two of them, but not all.
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
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
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
Ugh...PWM pin vs. Speed Controller archiver 2001 1 24-06-2002 00:27


All times are GMT -5. The time now is 12: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