Go to Post I'm impressed and incredibly amused that you found so many of Dave's evildoings, though granted, they aren't that hard to search out. - DCA Fan [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
  #76   Spotlight this post!  
Unread 21-01-2011, 16:39
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 tommy0019 View Post
those are the correct place to put them, right(without the jumper)?
It sounds like you put the sensor input on the right pins.

Quote:
do you have any ideas as to why our robot isn't responding to the sensors?
It might be a programming issue. Do you see the inputs changing on the Dashboard display when the sensors activate?
  #77   Spotlight this post!  
Unread 21-01-2011, 16:59
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?

Yes, the gpio state on the dashboard slot 4 changes when the sesor is over the tape. we just created a whole new robot project with the "robot framework with game code" and it did a pre progammed drive. then we did it it just the "robot framework" and it just did nothing at all.

be back tomorrow. i have to go play in a bsketball game now.

Last edited by tommy0019 : 21-01-2011 at 17:06.
  #78   Spotlight this post!  
Unread 21-01-2011, 18:28
riptide's Avatar
riptide riptide is offline
The Software Dude... LabView and VB
AKA: Jeff
FRC #1165 (Paradise)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Pasadena
Posts: 24
riptide will become famous soon enough
Re: How should we wire the photoswitchs?

Brown +
Blue -
White (sig) to digital side car
Black nothing

If the Sensor is Green: Sensor is powered, but is to far away to sense. no output on blk or wht.

If sensor is Orange: ON sensor is recieving at least 2.5 times the signal strength needed to trigger and output and green will turn off. May have to adjust the sensitivity adjustment on top of the sensor to get an orange on if already mounted. Do this by placing over reflective surface and adjust until it comes on. Sensitivity is the screw on top. If orange is not on there will be no output on blk or wht.

If sensor is Yellow: the output has been energized meaning it sensed reflective object. becareful most bright objects can be sensed regardless of color.

Typical sensor indication is the following
Green OFF, Orange ON, Yellow OFF over dull surface wht low and blk high
Green OFF, Orange ON and Yellow ON over bright surface wht high and blk low

Hope this helps
  #79   Spotlight this post!  
Unread 21-01-2011, 22:06
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?

Does that make alternating orange and yellow does that mean that sensor is going on and off or what?
  #80   Spotlight this post!  
Unread 22-01-2011, 00: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: How should we wire the photoswitchs?

Quote:
Originally Posted by DFZXA View Post
Does that make alternating orange and yellow does that mean that sensor is going on and off or what?
Pay attention. It means that you have probably miswired one of the outputs to a power pin.
  #81   Spotlight this post!  
Unread 22-01-2011, 07:12
riptide's Avatar
riptide riptide is offline
The Software Dude... LabView and VB
AKA: Jeff
FRC #1165 (Paradise)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Pasadena
Posts: 24
riptide will become famous soon enough
Re: How should we wire the photoswitchs?

If you have a flashing LED, the sensor has gone in to short circuit protection mode becasue one of the outputs is shorted to ground or it is not wired up correctly. Make sure the black wire is not connected ianything. Make sure the white is connected to the signal pin on the digital side car pwm input and not the + or -. Best way to prevent the shorting out of the black wire is to clip the stripped wire and then wrap it with electrical tape. Inspect the sensor cable for any nicks. I will try and post a quick video by the end of today to show how it works and how to connect it.
  #82   Spotlight this post!  
Unread 23-01-2011, 02:06
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?

Thanks for the help guys. Turns out that one of our wires was not fully connected
  #83   Spotlight this post!  
Unread 23-01-2011, 23:59
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,750
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: How should we wire the photoswitchs?

Brown + (connected to red power connector on PDB)
Blue - (connected to black power connector on PDB)
White to the white wire of a PWM connected to the digital side car
Black nothing

The green LED is on.

No matter where we place the sensor in relation to the gaffer tape, and no matter how we turn the adjustment screw, we never see an orange LED on the sensor.

I've read all the posts in the thread and I think I am doing everything right. Not sure what to try next. Any ideas would be appreciated.

Thanks
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #84   Spotlight this post!  
Unread 24-01-2011, 07:40
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,798
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: How should we wire the photoswitchs?

Quote:
Originally Posted by rsisk View Post
we never see an orange LED on the sensor.
Thanks
That is a good thing. Orange means short circuit protection is coming on. It is possible that you have a defective yellow LED. Check by measuring the white pin as it enters the DSC. It should normally be 5 volts. If not, you may have not powered the DSC. All three LEDs on the DSC need to be on and bright. Have you checked the black output of the sensor?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #85   Spotlight this post!  
Unread 24-01-2011, 08:51
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 rsisk View Post
Brown + (connected to red power connector on PDB)
Blue - (connected to black power connector on PDB)
White to the white wire of a PWM connected to the digital side car
Black nothing

The green LED is on.

No matter where we place the sensor in relation to the gaffer tape, and no matter how we turn the adjustment screw, we never see an orange LED on the sensor.
Based on your description, it would appear that the sensor is bad. With just the brown and blue wired you should be able to get the orange light to come on by spinning the adjustment screw.

My question is: have you tried the other two sensors? One bad sensor is possible, two bad sensors is highly unlikely. Just hook up Brown and Blue and mount them looking down. Ensure the lights change before hooking up the white.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #86   Spotlight this post!  
Unread 24-01-2011, 10:41
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,750
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: How should we wire the photoswitchs?

Thanks Al and Phil,

My next access to the robot will be Wednesday, will check out both of your suggestions.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #87   Spotlight this post!  
Unread 26-01-2011, 23:06
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Re: How should we wire the photoswitchs?

Okay, so I am here with rsisk. When we got to the robot and turned it on, poof! The sensors were giving me an orange light, then went green with distance. Like it is supposed to. After being excited and happy. I notice that after a power restart of the robot, they stopped going orange. Any ideas or reasons why? Nothing had changed from the previous weekend when we first wired them up and nothing changed after giving it that power restart. I am completely stumped on what is going on. No shorts, no PWM connections. Just the power is hooked up.
  #88   Spotlight this post!  
Unread 26-01-2011, 23:38
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,798
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: How should we wire the photoswitchs?

Anyone notice in Team update 5 this addition?
<R60> Solenoid Breakout outputs shall be connected to pneumatic valve solenoids or photoelectric sensors, PN 42EF-D1MNAK-A2 only. No other devices shall be connected to these outputs.
Thanks to some of the discussion here, it was noted that sagging batteries would cause a brown out condition on the sensors. R60 now allows a team to add a 9472 solenoid module connected to the +24 volt output of the PD to power the line following sensors with a regulated +24 volts. Thank You FIRST Engineering for the great find and fix.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #89   Spotlight this post!  
Unread 26-01-2011, 23:46
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 koo_04 View Post
Okay, so I am here with rsisk. When we got to the robot and turned it on, poof! The sensors were giving me an orange light, then went green with distance. Like it is supposed to. After being excited and happy. I notice that after a power restart of the robot, they stopped going orange. Any ideas or reasons why? Nothing had changed from the previous weekend when we first wired them up and nothing changed after giving it that power restart. I am completely stumped on what is going on. No shorts, no PWM connections. Just the power is hooked up.
Did you calibrate the sensors? If not, maybe it's just changing light conditions or where you have the robot located.

Calibrate the sensors on an appropriate section of floor after putting in fresh batteries.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #90   Spotlight this post!  
Unread 27-01-2011, 15:03
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Re: How should we wire the photoswitchs?

Quote:
Originally Posted by PhilBot View Post
Did you calibrate the sensors? If not, maybe it's just changing light conditions or where you have the robot located.

Calibrate the sensors on an appropriate section of floor after putting in fresh batteries.
I would expect that the light condition shouldn't matter. These are very sensitive sensors. I am going to look into the post before this one. I think that might be the key.
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:54.

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