Go to Post FIRST isn't for wimps. It never has been. - JaneYoung [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
  #61   Spotlight this post!  
Unread 20-01-2011, 00:07
jsasaki's Avatar
jsasaki jsasaki is offline
Registered User
AKA: Jun Sasaki
no team
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Hawaii
Posts: 210
jsasaki has a spectacular aura aboutjsasaki has a spectacular aura aboutjsasaki has a spectacular aura about
Re: How should we wire the photoswitchs?

does this mean the black cable doesnt get connected to the dsc?
  #62   Spotlight this post!  
Unread 20-01-2011, 09:44
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 756
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by jsasaki View Post
does this mean the black cable doesnt get connected to the dsc?
The Black and the White wire provide the same information, just with opposite logic. When one is on, the other is always off.

No point connecting both.

Note: The colors were NOT chosen to be compatible with FIRST robots, so don't assume that black is GND. It's NOT !!!
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #63   Spotlight this post!  
Unread 21-01-2011, 08:18
JDM JDM is offline
programming lead; team executive;..
FRC #2199 (Robo-Lions)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Eldersburg, Maryland
Posts: 34
JDM is on a distinguished road
Re: How should we wire the photoswitchs?

The sensors have 22AWG wire, but they must be connected to a 20-amp circuit on the PDB. By the rules, this requires 18AWG wire. Is there an exemption somewhere I am missing?

If not, I will bring this to the Q&A later today.
  #64   Spotlight this post!  
Unread 21-01-2011, 08:40
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by JDM View Post
The sensors have 22AWG wire, but they must be connected to a 20-amp circuit on the PDB. By the rules, this requires 18AWG wire. Is there an exemption somewhere I am missing?

If not, I will bring this to the Q&A later today.

If you splice the sensor power leads or use a connection block, they will need to connect to 18 AWG before terminating in the PDB. That will satisfy the wiring rules.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
  #65   Spotlight this post!  
Unread 21-01-2011, 10:26
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: How should we wire the photoswitchs?

Quote:
Originally Posted by JDM View Post
The sensors have 22AWG wire, but they must be connected to a 20-amp circuit on the PDB. By the rules, this requires 18AWG wire. Is there an exemption somewhere I am missing?

If not, I will bring this to the Q&A later today.
There's no explicit exemption. Sensors and custom circuits are typically not given as much scrutiny by the inspectors as are motor and relay power circuits, so they usually pass inspection even though they don't strictly follow the wire gauge rules, but you're right to be concerned.

A couple of years ago we used a small-valued inline fuse on a power branch that was going to a single Banner sensor (very much like the photoswitches in the Kit this year). That practice is mentioned in the wiring rules for custom circuits.
  #66   Spotlight this post!  
Unread 21-01-2011, 11:18
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by andreboos View Post
I've wired the sensor with:

Blue: +12v from PDB
Brown: Ground on PDB
White: a DS signal pin
Black: another DS signal pin

When it receives power the orange and yellow lights alternate. Is there any documentation about the status lights? I read the document regarding Teach mode but I don't think that applies to our sensor (no push-button that I can find).

I think my code is correct but I'd like to see example code (Didn't they specifically mention that in the kickoff broadcast?). I can't find any bundled with WindRiver.
Did you ever fix the alternating orange and yellow alternating lights? We have two sensors working properly just one does this weird alternating thing
  #67   Spotlight this post!  
Unread 21-01-2011, 11:30
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: How should we wire the photoswitchs?

Quote:
Originally Posted by DFZXA View Post
Did you ever fix the alternating orange and yellow alternating lights? We have two sensors working properly just one does this weird alternating thing
Yes, he did.
  #68   Spotlight this post!  
Unread 21-01-2011, 15:28
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: How should we wire the photoswitchs?

we are trying to get our line sensors to work. we have it wired as:

sensor blue- 0v
Sensor brown- +12v
Sensor white- white pwm to signal pin on digital i/o section of the DSC.
sensor black- nothing

we were trying to run the autonomous mode from a new robot code project and it only runs a pre-programmed drive and doesn't respond to the sensors. then we put a jumper on the 2 power pins for the digital i/o side and when we enabled the autonomous mode nothing happened at all.

a note: our sensors are showing green when not by anything and orange and red when over the reflective tape. i heard the red meant it was over it's threshhold. what threshhold is that and is it fixed with the sensitivity knob or not?

I am asking if anyone could give any advice so we can get our line sensors working correctly.
  #69   Spotlight this post!  
Unread 21-01-2011, 15:35
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by tommy0019 View Post
then we put a jumper on the 2 power pins for the digital i/o side...
The Digital I/O side doesn't have 2 power pins or use jumpers.

Could you be connecting them to the PWM side (all white connectors)?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #70   Spotlight this post!  
Unread 21-01-2011, 16:04
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: How should we wire the photoswitchs?

The side of the DSC that is labeled Digital i/o has 14 sets of 3 pins(sig, pwr, -) we have the sensors connected as so all with the white pwm cables.

right to digital i/o 3
center to digital i/o 2
left to digital i/o 1

There is a set of two pins right next to those 14 that are labeled pwr and (-). i am guessing that they supply power to the digital i/o pins. we put a volt meter on the pins and the supplied power when the jumper was connected.
  #71   Spotlight this post!  
Unread 21-01-2011, 16:11
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by tommy0019 View Post
There is a set of two pins right next to those 14 that are labeled pwr and (-). i am guessing that they supply power to the digital i/o pins. we put a volt meter on the pins and the supplied power when the jumper was connected.
Those pins are only an extra ground/5v set for devices that just need power.
Do not use a jumper to short those.

The Digital I/O was shorted out by that...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-01-2011 at 16:14.
  #72   Spotlight this post!  
Unread 21-01-2011, 16:15
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: How should we wire the photoswitchs?

those are the correct place to put them, right(without the jumper)?

do you have any ideas as to why our robot isn't responding to the sensors?
  #73   Spotlight this post!  
Unread 21-01-2011, 16:25
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by Alan Anderson View Post
Yes, he did.
So what'd he do then? Our robot just turns randomly in a cricle when we start the program and I'm not sure if this is the problem.
  #74   Spotlight this post!  
Unread 21-01-2011, 16:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How should we wire the photoswitchs?

The digital signal inputs sound good, as well as, the rest of the wiring.
The jumper would have disabled all the digital inputs while it was in place, but they should start working again after it's taken off.
It also sounds like the sensors are working just fine too.

I'd look at the code next.

Which edition of the Framework are you using?
Since there are two that do different things it may just be that you have the one that just drives rather than the one that follows a line.

If you use the Run button on Robot Main.vi in LabVIEW (assuming LabVIEW) you can probe the values coming back from the sensors.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #75   Spotlight this post!  
Unread 21-01-2011, 16:34
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: How should we wire the photoswitchs?

We used the robot framework with game code.
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


All times are GMT -5. The time now is 20:55.

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