|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Speed controlling a relay..?!?!?one/????
Spikes are mechanical - that is, the current is controlled by moving parts. (Victors also are, internally, but they're tuned for high speed switching) You can probably wear one out pretty quickly by clicking it on and off too fast.
|
|
#2
|
||||
|
||||
|
Re: Speed controlling a relay..?!?!?one/????
Quote:
Since no expectations as to duration and repetition rate were provided, I chose somewhat reasonable values to use in my example. If a small motor were connected, the relay would probably survive at least couple days of competition. If a large motor were connected, then it would probably be good to have a box of spare relays on hand. |
|
#3
|
||||
|
||||
|
Re: Speed controlling a relay..?!?!?one/????
Thanks. I know that a victor would be better (and yes, that is what I want the result to emulate) however, we can't really do that at this stage. Our board is very compact and we don't have as much time as we would like. We really desire a programming solution.
If anyone has a solution to make a spike emulate a victor, though, that would be extremely helpful. |
|
#4
|
||||
|
||||
|
Re: Speed controlling a relay..?!?!?one/????
Quote:
At best you can turn it on and off 6 times per minute if you plan on attaching a motor to it. The spikes really just can't do speed controlling. |
|
#5
|
|||
|
|||
|
Re: Speed controlling a relay..?!?!?one/????
Yeah, you are really much better off just using a Victor - they're not all that bigger than the spikes, you can probably squeeze them in somewhere.
|
|
#6
|
|||||
|
|||||
|
Re: Speed controlling a relay..?!?!?one/????
I have to disagree. 6 times per minute? 10 seconds between switches? That is patently untrue. I can walk over to the robot and toggle a switch a few times if you'd like proof.
|
|
#7
|
||||
|
||||
|
Re: Speed controlling a relay..?!?!?one/????
Spike relays are meant to give a on signal, reverse signal, and a neutral signal. As someone said earlier, you should use a speed controler if variation is what you want.
|
|
#8
|
|||
|
|||
|
I had this idea, but my team shot it down, I later learned that a relay is for full forward or full back or not at all, and speed controlers are used for motors. I hoped this helped.
Blaise |
|
#9
|
||||
|
||||
|
Re: Speed controlling a relay..?!?!?one/????
yeah, i see why you might want to use a spike. But frankly, unless you've used every PWM port, your team will basically need to deal. I'm not trying to be rude, but why even risk (i'm not sure of the electrical component, so i wont take a side) unnecessary damage to a SPIKE when a VICTOR is designed for exactly this purpose? They're not that much larger, and it sounds like this is exactly what you want.
|
|
#10
|
|||
|
|||
|
Re: Speed controlling a relay..?!?!?one/????
Quote:
Spikes do use mechanical parts. They do not like being switched quickly. However, nothing says you can't do so provided you are willing to live with the consequences. It is very possible that you will burn your Spike out. Modify this code to fit it into your program. spike_pwm_timer++; if(spike_pwm_timer>=spike_pwm_max_value) spike_pwm_timer=0; spike=spike_pwm_timer<spike_pwm_ontime; This will pulsewidth modulate your spike's output with a frequency of 40Hz/spike_pwm_max_value, with a duty cycle of spike_pwm_ontime/spike_pwm_max_value. I did this one year for the last 8 rounds of nationals. It worked, sort of. I think my values were spike_pwm_max_value 32 spike_pwm_ontime 10 but your mileage may vary. Again, you do run the risk of breaking things, so don't blame me for lighting your Spikes on fire. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Controlling motor speed | WGRAY | Programming | 9 | 16-02-2009 22:50 |
| Controlling | team 803 | Programming | 10 | 21-02-2006 13:56 |
| Edit- Can we connect more than one speed controller fan per breaker? | DemonYawgmoth | Rules/Strategy | 7 | 03-02-2006 21:37 |
| Controlling motors | railerobotics | Programming | 6 | 17-01-2006 17:17 |
| <R86> No more than one motor may be connected to each speed controller. | Michael Hill | Electrical | 2 | 08-01-2006 02:00 |