Go to Post A robot that can't move isn't a robot. It's just furniture. - John Neun [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 16-02-2009, 03:00
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Solenoid Wiring and Compressor Help

Well, tonight has been an interesting one. The last electrical thing I have to get working is our pneumatic system, and one day to do it, uhhg.

Anyways, I have been trying to get the compressor to run, but I can't get it to do that. The wiring is as follows.

1. Power cables from Distribution board to the Spike, and the other M+ and M- Terminals to the compressor.

2. PWM cable running from spike to the Digital Sidecar Relay channel 1. The Black wire of the cable is closest to the edge/outside of the digital sidecar, and is innermost on the Spike.

3. 2 pin cable, whose connector was cut off and wires stripped to be hooked up to the pressure sensor. The intact 2-pin connector is connected to the middle and outside pins on the Digital Sidecar on the I/O. This is where I think we might be wrong. Do we need to use another 3-pin PWM cable, and run the wiring to the outermost pins on either side of the digital sidecar, not connecting to the middle one?

Simple put, do we connect the pressure sensor wires to the (-) and Signal pins on the digital sidecar, and NOT the PWR pin?

Like I said the above #3 is where I think our problem lies. I'd like to try it, but I'm at home now.

Now, I haven't even tried to conect the solenoid yet. We will be using the Festo one, because it is the only one we have. I know you hookup wires to 1 and 2 on the solenoid, but what pins do they connect to on the actual Pneumatics Bumper on the CRIO? And I assume we need to cut one end of the PWM cable to do the connection on the solenoid right?

This is our first year of doing anything robotics at our school, and we just started 2 weeks ago because of delays. I have already learned soo much from reading these boards!

Thanks!!!!!!

-3020
  #2   Spotlight this post!  
Unread 16-02-2009, 03:11
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

2 weeks ago? oh my...


anyway, your wiring seems correct. if you look at the pwm wires that you are sticking into the DIO pins, (assuming they are the right direction) the signal is the white wire, and the power is the red wire. iirc, both of those wires have to go to the pressure sensor.

since you didnt mention anything about the programming actually asking the compressor to work, im going to assume thats most likely where the problem lies.

your assumption is also correct for the festo valve.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #3   Spotlight this post!  
Unread 16-02-2009, 03:38
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

I've been using really simple compressor labview code that I've seen on some other threads.

It's really odd, because when I disconnect the PWM cable from the DIO the compressor turns on for a split second. And if I keep it REALLY loose on the pins, like holding it barely on the pins, the compressor will keep running, but the PWM cable gets REALLY hot. The PWM cable I'm referring to is the one for the pressure sensor, not the relay/spike.

The pins I am connecting it too are the PWR and (-) pins, which are the middle, and outermost/closest to the edge pins. if you have the 3 pins like this " " " we are hooking the wires here " 0 0 the 0s representing our connections. This is viewed as the parallel port being at the top, and the RSL at the bottom.

I read in another post the it should be hooked up like 0 " 0 but I have no idea.
  #4   Spotlight this post!  
Unread 16-02-2009, 03:43
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

Quote:
Originally Posted by BurtGummer View Post
I've been using really simple compressor labview code that I've seen on some other threads.

It's really odd, because when I disconnect the PWM cable from the DIO the compressor turns on for a split second. And if I keep it REALLY loose on the pins, like holding it barely on the pins, the compressor will keep running, but the PWM cable gets REALLY hot. The PWM cable I'm referring to is the one for the pressure sensor, not the relay/spike.

The pins I am connecting it too are the PWR and (-) pins, which are the middle, and outermost/closest to the edge pins. if you have the 3 pins like this " " " we are hooking the wires here " 0 0 the 0s representing our connections. This is viewed as the parallel port being at the top, and the RSL at the bottom.

I read in another post the it should be hooked up like 0 " 0 but I have no idea.
ohhh
um you need to have the power and signal pins hooked up to the sensor, otherwise whats reading the signal? the ground? certainly you wouldnt want that

and normally when something gets really hot thats a sign that you shouldn't be doing it. my guess is you are either arcing it or giving it an area of high resistance due to the small contact area.

you might also want to put a ohmmeter to the sensor to see if its still working after the various "tests" you put it through. ime its pretty durable, but you never know.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #5   Spotlight this post!  
Unread 16-02-2009, 03:47
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

Yea, we figured that isn't the right connection, but it was the only way we could get any compressor action.

we also tried hooking it up to Signal and PWR, but there was NO response at all, nothing happens. Hooked up like so 0 0 "

So we don't know what to do.
  #6   Spotlight this post!  
Unread 16-02-2009, 03:50
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

in past years i remember the pwm connector having the wires at the oppisite side of the molex thingy connected, like 0"0 (in your diagram).

all i can say now is ohm it out to verify that the sensor is working, and double check the code (you shouldnt prematurely stop the compressor; that would be bad. its one of those open-start-forget sort of things)
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #7   Spotlight this post!  
Unread 16-02-2009, 03:57
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

In the code I have seen two different examples on these forums. Now I don't really understand LabView very well yet.

But I have seen an example with the Open and Start outside of the while loop, and another example where Open is outside the while loop but Start is inside the while loop. Which is correct? I would assume the first one is correct, but I don't know.

Thanks for your help and input!
  #8   Spotlight this post!  
Unread 16-02-2009, 04:00
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

ok, i just verified that the pressure switch goes to ground and signal on dio's.

anyway, we dont have a compressor on our robot, but i think at some point we tested code with it. I remember opening and starting the compressor outside of the main loop, then sending the wire through the main loop, and stopping and closing it on the other side of the loop. that should make it continually run while the bot is on.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #9   Spotlight this post!  
Unread 16-02-2009, 04:02
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

Alright, that PWM configuration is the only one we haven't tried, because we were using a 2 pin connector, which makes it impossible. When I get there tomorrow I'll rewire with a 3 pin connector and wire it in that fashion. Hopefully that will solve our problem.

Thanks sooooo much!!!!!
  #10   Spotlight this post!  
Unread 16-02-2009, 04:06
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

Quote:
Originally Posted by BurtGummer View Post
Alright, that PWM configuration is the only one we haven't tried, because we were using a 2 pin connector, which makes it impossible. When I get there tomorrow I'll rewire with a 3 pin connector and wire it in that fashion. Hopefully that will solve our problem.

Thanks sooooo much!!!!!
haha, where did you get a 2 pin pwm cable?

no problem
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #11   Spotlight this post!  
Unread 16-02-2009, 04:06
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

It was in the KoP, haha.

Not technically a PWM cable, but it is a 2-pin cable.
  #12   Spotlight this post!  
Unread 16-02-2009, 04:12
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

Oh and for the solenoid, when we get to it, which pins are connected on the pneumatics bumper on the cRIO? Since only 2 wires are used, and 3 pins are available, I haven't a clue, or at least not yet.
  #13   Spotlight this post!  
Unread 16-02-2009, 07:47
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

Burt,
By now you know that the pressure switch should not be connected to the + volt center pin. The two wire pin was intended for another purpose. The simplest method is to use a PWM cvable, cut off one end, insulate the center pin with heatshrink or tape, and connect the other pins to the pressure switch. The pneumatic manual on the FiRST website should answer most of the remaining questions.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #14   Spotlight this post!  
Unread 16-02-2009, 13:50
BurtGummer BurtGummer is offline
Electrical/Mechanical/Programming
FRC #3020
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Southern CA
Posts: 89
BurtGummer will become famous soon enoughBurtGummer will become famous soon enough
Re: Solenoid Wiring and Compressor Help

Alright we are going to do that, but what about the actual solenoid for our actuator? Only 2 pins are used out of the 4 on the festo valve, but there are 3 pins on the pneumatics bumper. So which pins are connected to the festo valve?
  #15   Spotlight this post!  
Unread 16-02-2009, 15:10
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

Quote:
Originally Posted by BurtGummer View Post
Only 2 pins are used out of the 4 on the festo valve, but there are 3 pins on the pneumatics bumper.
Look again. The Solenoid Breakout should have two rows of pins, not three. The pin closer to the circuit board is ground (-); the other one is the drive (+) signal.
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
Need help with Festo Solenoid and Labview Team2883 General Forum 3 17-02-2010 12:56
help with Compressor and labview Team2883 General Forum 4 28-01-2009 22:18
Wiring Single Solenoid almsfan21 Pneumatics 14 24-01-2008 13:10
Wiring the Compressor Jake M Pneumatics 4 24-01-2007 14:26
Wiring Compressor DakotaFox Electrical 3 05-02-2002 16:52


All times are GMT -5. The time now is 07:31.

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