Go to Post You know you are a true tech geek when you end up on top of the Sears tower, and the only pictures you post are the ones of the radio antennae. ;) - Tom Line [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2011, 23:29
implosionprez's Avatar
implosionprez implosionprez is offline
Registered User
AKA: Ty
FRC #2484 (Team Implosion)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Woods Cross, Utah
Posts: 74
implosionprez is an unknown quantity at this point
Line Sensor updating

The digital inputs that our line sensors are connected to get infromaton from the line sensors once, but then fail to update, to continue to track the line. Is this a wiring problem? A programming problem? Can someone help? Thanks!
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2011, 00:23
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Line Sensor updating

How do you know they fail to update? Are you sure they're not actually updating, but just not giving a different signal? What loop are they in (the loop might have an infinite loop inside it or something)? How do you know they update the first time even?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-02-2011, 19:54
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Line Sensor updating

1. make sure the get method is in the correct periodic or loop
2. i found that initializing more victors (non-existant ones or existant ones, it doesn't matter) helps make the photoswitches respond. This is bc the db37 cable isn't sending enough power.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2011, 20:32
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Line Sensor updating

Quote:
Originally Posted by kinganu123 View Post
2. i found that initializing more victors (non-existant ones or existant ones, it doesn't matter) helps make the photoswitches respond. This is bc the db37 cable isn't sending enough power.
This is only necessary if your digital sidecar isn't wired properly. I noticed that you never responded to your previous thread, but it's obvious that you have an issue which you should resolve.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2011, 20:59
implosionprez's Avatar
implosionprez implosionprez is offline
Registered User
AKA: Ty
FRC #2484 (Team Implosion)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Woods Cross, Utah
Posts: 74
implosionprez is an unknown quantity at this point
Re: Line Sensor updating

Sorry about the time gap. To answer WizenedEE's question, We have it sending the values back to the classmate using the DriverStation LCD class. When we move the robot the information that's getting sent back doesn't change. The classmate is getting updated values, however the values from the sensors aren't changing.
__________________
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2011, 00:25
implosionprez's Avatar
implosionprez implosionprez is offline
Registered User
AKA: Ty
FRC #2484 (Team Implosion)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Woods Cross, Utah
Posts: 74
implosionprez is an unknown quantity at this point
Re: Line Sensor updating

How should the photoelectric sensors be wired? I have heard several different things, and I'm not sure which is correct. Right now they aren't working. We have brown and blue connected to power, white to the DSC, and black to nothing. Which pin 1, 2, or 3, of the Digitat I/O should the white signal wire be connected to?
__________________
Reply With Quote
  #7   Spotlight this post!  
Unread 15-02-2011, 09:35
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: Line Sensor updating

Quote:
Originally Posted by implosionprez View Post
We have brown and blue connected to power, white to the DSC, and black to nothing.
Brown is specifically BATTERY power, and blue is common. They should be spliced to #18 wire and inserted into a red/black pair of Wago connectors on the Power Distribution board with a 20A circuit breaker feeding the circuit.

If you're concerned about brownouts, another option is to power them from an output on a Solenoid Breakout connected to 24 volts.

Quote:
Which pin 1, 2, or 3, of the Digitat I/O should the white signal wire be connected to?
The signal wire connects to the SIGNAL pin on a DIO connector.
Reply With Quote
  #8   Spotlight this post!  
Unread 15-02-2011, 15:21
implosionprez's Avatar
implosionprez implosionprez is offline
Registered User
AKA: Ty
FRC #2484 (Team Implosion)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Woods Cross, Utah
Posts: 74
implosionprez is an unknown quantity at this point
Re: Line Sensor updating

So, just to clarify, brown connects to positive, and blue to negative, right?

And we connect them to a 24v solenoid breakout, not a 12v solenoid breakout?

Can the black wire just be cut off and covered with electrical tape?
__________________
Reply With Quote
  #9   Spotlight this post!  
Unread 15-02-2011, 15:31
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: Line Sensor updating

Quote:
Originally Posted by implosionprez View Post
So, just to clarify, brown connects to positive, and blue to negative, right?
Close enough. Brown goes to "positive", either battery voltage or 24 volts, and blue goes to zero. There's not supposed to be any negative voltage in the system.

Quote:
And we connect them to a 24v solenoid breakout, not a 12v solenoid breakout?
There would be no point to connecting them to a solenoid breakout powered from 12 volts. That would be just like connecting them to the Power Distribution board. The reason to use 24 volts instead would be to avoid having the sensor power drop below 10 volts at any time.

Quote:
Can the black wire just be cut off and covered with electrical tape?
Yes, taping it to prevent accidental connection to anything else would be best.
Reply With Quote
  #10   Spotlight this post!  
Unread 15-02-2011, 16:49
implosionprez's Avatar
implosionprez implosionprez is offline
Registered User
AKA: Ty
FRC #2484 (Team Implosion)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Woods Cross, Utah
Posts: 74
implosionprez is an unknown quantity at this point
Re: Line Sensor updating

Where do we connect it for it to be zero? If brown and blue are connected to the solenoid breakout, then it's + and -, isn't it?
__________________
Reply With Quote
  #11   Spotlight this post!  
Unread 21-02-2011, 01:38
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Line Sensor updating

zero in this situation is the -. Ground, common, minus, and zero all pretty much mean the same thing in this context, but they're all different in some way (ie, ground is technically the real earth, while common is for things that aren't grounded to the earth; minus really means the low part of an AC wave; and zero would be the midpoint when using AC).
Reply With Quote
Reply


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 21:58.

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