|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to use Solenoids attached to Relays
Here is my current teleop vi, but nothing happens when I press button 8 on the joystick:
![]() Help would be greatly appreciated, as I'm getting extremely frustrated. ![]() |
|
#2
|
|||
|
|||
|
Re: How to use Solenoids attached to Relays
That's because the case structure is wired to Button 1.
|
|
#3
|
|||
|
|||
|
Re: How to use Solenoids attached to Relays
Sorry I just re-did that after deleting. It still doesn't work after being assigned to button 8.
|
|
#4
|
|||
|
|||
|
Re: How to use Solenoids attached to Relays
what is the value of "On"
maybe that isnt set properly. do relays need a "1" wired to be on? |
|
#5
|
|||
|
|||
|
Re: How to use Solenoids attached to Relays
This is the way I programmed last years robot. This year it was working and just stopped for some mysterious reason.
|
|
#6
|
|||||
|
|||||
|
Re: How to use Solenoids attached to Relays
Usually, Relays use the "Forward/Reverse" choices to run motors or operate solenoids.
Only under special wiring conditions for solenoids is "On" used. |
|
#7
|
|||
|
|||
|
Re: How to use Solenoids attached to Relays
Could some post a picture of a correctly programed relay so i can compare? I still can't get it to work.
|
|
#8
|
|||||
|
|||||
|
Re: How to use Solenoids attached to Relays
Just to make sure you don't have a simple wiring problem instead.
Are the Relay LED indicators located on the Digital sidecar turning red or green as you use button 8? I assume it's a motor you're trying to have move only while you hold button 8? Is it a one-way motor that goes out, but gets physically pushed back? This is just what you posted. It makes the Digital sidecar green Relay LED come on. Last edited by Mark McLeod : 20-02-2011 at 11:37. |
|
#9
|
|||
|
|||
|
Re: How to use Solenoids attached to Relays
I'm not sure why your not using the solenoid breakout that's already in the WPI library WPI Robotics Library> Actuators> Solenoid> Set. And then for a double acting solenoid you open 2 different ports. See picture.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|